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_2.md (295B)


      1 # Example 2
      2 Example 2 from the Vim documentation.
      3 
      4 <!-- :Tangle DIRNAME/FILENAME.out -->
      5 <!-- :Tangle(python) DIRNAME/FILENAME.py -->
      6 
      7 ```ruby
      8 puts "Sample text"
      9 ```
     10 
     11 ```python
     12 print("Sample text")
     13 ```
     14 
     15 ```
     16 this is some pseudocode in a block with no language
     17 ```
     18 
     19 ```bash
     20 echo "Sample text"
     21 ```