Years ago, I was really into this vim plugin: http://www.vim.org/scripts/script.php?script_id=1334
It allowed me to embed python code in a document, and have it both displayed, and have the output displayed, too. Not as cool as having an arbitrary set of filters applied, but still, very useful. I found that my whole coding strategy changed...I was really writing a large meta document, and embedding links to code snippets (python)...this allowed me to write a cohesive document at one level, and the build process was really, build -> run tests -> build doc -> doc runs code -> doc embeds code and results in doc -> doc formatted as html/pdf -> done. This was really cool. But I think this project foundered...I only contributed bugs and whatnot b/c I couldn't stand to wade thru Bram's weird vimscript language. I kept thinking, 'if only he'd just used python instead...'. -Todd On Friday, November 16, 2012 7:52:44 AM UTC-5, Edward K. Ream wrote: > > On Thu, Nov 15, 2012 at 10:37 AM, tfer <[email protected] <javascript:>> > wrote: > > I've been looking for something to produce good looking commentaries for > coding examples and have come across dexy. > > My first thought is, Eureka! You have found it! > > This "brings filters to programs", much like @button "brings scripts > to nodes". But filters are arbitrary Python scripts, so the effect is > the same. Only generalized. This could be momentous. > > dexy is a Python package, so it should be able to be integrated into > Leo without much fuss. > > I've only looked at dexy for five minutes, but it looks like something > that Leo has got to support. > > Edward > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To view this discussion on the web visit https://groups.google.com/d/msg/leo-editor/-/1k31bXZLRmwJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
