vim-literate-markdown

A Vim plugin to replicate a subset of Org mode's literate programming, for Markdown files.
git clone git://git.alex.balgavy.eu/vim-literate-markdown.git
Log | Files | Refs | README

two_top_level_expansions.md (264B)


      1 # Two top-level expansions
      2 <!-- :Tangle(ruby) <^> output.rb -->
      3 ```ruby
      4 def whatever
      5     <<to include>>
      6 end
      7 ```
      8 
      9 <!-- :Tangle(ruby) <^> output2.rb -->
     10 ```ruby
     11 def something
     12     <<to include>>
     13 end
     14 ```
     15 
     16 <!-- :Tangle(ruby) <to include> -->
     17 ```ruby
     18 x = "whatever"
     19 ```