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_3.py (165B)


      1 
      2 def double(n):
      3     x = 2*n
      4     return x
      5 
      6 def main():
      7     
      8     
      9     n = 34.5
     10     print("Double of %d is %d" % (n, double(n)))
     11 
     12 if __name__ == '__main__':
     13     main()