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

example_1.md (236B)


      1 # Example 1
      2 Example 1 from the Vim documentation.
      3 
      4 <!-- :Tangle(ruby) DIRNAME/FILENAME.rb -->
      5 
      6 ```ruby
      7 puts "Sample text"
      8 ```
      9 
     10 ```bash
     11 echo "Sample text"
     12 ```
     13 
     14 <!-- :Tangle(ruby) DIRNAME/FILENAME.2.rb -->
     15 ```ruby
     16 puts "Another file"
     17 ```