Skip to content

Running markdown for my purposes (syntax highlighting, github-compatibility etc.)

Notifications You must be signed in to change notification settings

ihrke/mi-markdown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My way of running Markdown

Check out the Github-page for the code and everything else

(see raw version)

Files

  • markd.py: executable to turn markdown into HTML

    • from the docstring:

      Convert markdown to HTML with some cool features.

      Options:

      • -c cssfile: use the following CSS file
      • -h header: use the following header.html
      • -f footer: use the following footer
  • Example:

    ``python mdown.py -h header_ex.html -f footer_ex.html README.md > README.html``
    
  • mdx_pygments.py: python-markdown extension for syntax-highlighting a'la github

Features

  • github-style fenced code with syntax highlighting
def func(a):
   print a
  • works with all code types supported by pygments, e.g.
void main(int argc, char **argv){
    return -1;
}
  • I will unscrupulously add whatever feature I like.

Notes

Uses:

About

Running markdown for my purposes (syntax highlighting, github-compatibility etc.)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages