Skip to content

pyrocat101/moo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Moo

   _____________________
  /   _ __   ___  ___   \
  |  | '  \ / _ \/ _ \  |
  \  |_|_|_|\___/\___/  /
   ---------------------
          \   ^__^
           \  (oo)\_______
              (__)\       )\/\\
                  ||----w |
                  ||     ||

moo is your editor-agnostic markdown live previewer. Write markdown in your favorite editor, save changes, and view pretty HTML output in your browser instantly.

demo

Features

  • Github-flavored markdown
  • Strip YAML front-matter automatically (Jekyll-friendly)
  • Syntax highlight in code-blocks
  • Github look-and-feel

Usage

Preview: open live preview for README.md in browser.

moo README.md

Export: generate self-contained HTML docs.

moo --export ch1.md ch2.md ch3.md # generates ch{1,2,3}.html

See moo --help for detailed options and examples.

Installation

pip install moo

Troubleshooting

If you get this error when running moo: NameError: name 'PROTOCOL_SSLv3' is not defined, upgrading moo and it's dependencies may fix it:

pip install --upgrade moo

LICENSE

MIT