Lines Matching refs:Markdown
1 Using Markdown as Python Library
4 First and foremost, Python-Markdown is intended to be a python library module
5 used by various projects to convert Markdown syntax into HTML.
35 If you want to pass more options, you can create an instance of the ``Markdown``
39 md = markdown.Markdown(
49 md = markdown.Markdown()
56 While the Markdown class is only intended to work with Unicode text, some
60 The ``Markdown`` class has the method ``convertFile`` which reads in a file and
63 md = markdown.Markdown()
102 If you are using Markdown on a web system which will transform text provided
105 still create links using Markdown syntax.)
113 md = markdown.Markdown(safe_mode="replace")
117 upgrade to a newer version of Markdown. Therefore, this is not recommended.
128 If Markdown is outputing (X)HTML as part of a web page, most likely you will
130 Currently, Markdown offers two output formats out of the box; "HTML4" and
131 "XHTML1" (the default) . Markdown will also accept the formats "HTML" and
141 Or, when using the Markdown class:
143 md = markdown.Markdown(output_format='html4')