demydd / pandoc

Automatically exported from code.google.com/p/pandoc
0 stars 0 forks source link

Include output of external commands #90

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
It would be extremely useful to have an element that would execute an
external command, expect it to output some pandoc formatted text, then
process the text and include it in the place where the element appears. So
if one wanted to have something like:

  The following code block illustrates quicksort:
  ~~~~~~~ {.cpp}
  \extract{clip ../quicksort.cpp QuickSort}

Then a trivial implementation of clip could extract a marked block, and print it on stdout. Of course, this would be just one of many uses for such a general element. Also \extract{} is the first thing that came to mind, I'm sure this could be represented much more elegantly.


Original issue reported on code.google.com by `fox...@gmail.com` on 8 Oct 2008 at 4:43
GoogleCodeExporter commented 8 years ago

Original comment by fiddloso...@gmail.com on 18 Oct 2008 at 11:16

GoogleCodeExporter commented 8 years ago
The plugin system (coming soon) will allow you to define a plugin that provides 
this
functionality (and much more).  So I'm closing this issue.  Stay tuned...

Original comment by fiddloso...@gmail.com on 3 Jan 2009 at 7:11