Login
or
register
Command Line
Anonymous users must enter
captcha
below.
Don't put anything here
Page Name (for URL)
Page Title
Don't put anything here
Advanced Fields
Category
Prototype
Don't put anything here
Page Content
###The Basics To use markdown.py by itself, run it as python markdown.py input_file.txt or python markdown.py input_file.txt > output_file.html ###More Options If you are using Python 2.3 or higher, you can also use advanced command line options to specify encoding or to run [[Extensions|extensions]]. $ python markdown.py Usage: markdown.py INPUTFILE [options] Options: -h, --help show this help message and exit -f OUTPUT_FILE, --file=OUTPUT_FILE write output to OUTPUT_FILE -e ENCODING, --encoding=ENCODING encoding for input and output files -q, --quiet suppress all messages -v, --verbose print info messages -s SAFE_MODE, --safe=SAFE_MODE safe mode ('replace', 'remove' or 'escape' user's HTML tag) --noisy print debug messages -x EXTENSION, --extension=EXTENSION load extension EXTENSION ###Using Extensions For an extension to be ran this way it must be provided in a module named ``mdx_{extensionname}.py`` which should be in your python path, e.g. ``mdx_footnotes.py``. It can then be invoked as by name (the part after "mdx_"): python markdown.py -x footnotes text_with_footnotes.txt > output.html If the extension supports config options (see below), you can also pass them in as well: python markdown.py -x "footnotes(PLACE_MARKER=~~~~~~~~)" input.txt
Don't put anything here
About This Edit
Don't put anything here
Minor Edit
Edit Summary
Don't put anything here
Overview
Introduction
Features
Credits
License
This Wiki
Status
News
Releases
Change Log
Recent Wiki Edits
User Guide
Installation
Command Line
Using as a Module
Integration
Reporting Bugs
Advanced
Mailing List
Source Code
Test Suite
Extensions
Extensions
Writing Extensions
Available Extensions
Related Projects
Powered by
Sputnik
|
XHTML 1.1