Lines Matching refs:markdown
10 To use markdown as a module:
12 import markdown
13 html = markdown.markdown(your_text_string)
18 Note that ``markdown()`` expects **Unicode** as input (although a simple ASCII
25 html = markdown.markdown(text, extensions)
38 import markdown
39 md = markdown.Markdown(
49 md = markdown.Markdown()
63 md = markdown.Markdown()
66 The markdown module also includes a shortcut function ``markdownFromFile`` that
69 markdown.markdownFromFile(input="in.txt",
85 must be available as python modules either within the ``markdown.extensions``
88 the module ``markdown.extensions.footnotes``, then a module named
109 with the text defined in ``markdown.HTML_REMOVED_TEXT`` which defaults to
112 markdown.HTML_REMOVED_TEXT = "--RAW HTML IS NOT ALLOWED--"
113 md = markdown.Markdown(safe_mode="replace")
116 markdown/__init__.py but you will need to remember to do so every time you
139 html = markdown.markdown(text, output_format='html4')
143 md = markdown.Markdown(output_format='html4')