Lines Matching refs:Markdown
1 Writing Extensions for Python-Markdown
7 Python-Markdown includes an API for extension writers to plug their own
28 * [Integrating your code into Markdown][]
37 Preprocessors munge the source text before it is passed into the Markdown
62 Inline Patterns implement the inline HTML element syntax for Markdown such as
93 As discussed in [Integrating Your Code Into Markdown][], an instance of this
94 class will need to be provided to Markdown. That instance would be created
103 a more sophisticated emphasis pattern already exists in Markdown). The fact is,
106 Therefore, Markdown provides a number of generic pattern classes that can
126 There may be other Pattern classes in the Markdown source that you could extend
215 The official Markdown syntax rules state that a blank line does not end a
240 not be indented as does some parts of the Markdown syntax.
268 An instance of the **``BlockParser``** is found at ``Markdown.parser``.
274 passed an entire document and is the only method the ``Markdown`` class
298 As mentioned, the Markdown parser converts a source document to an
300 Markdown has provided some helpers to ease that manipulation within the context
301 of the Markdown module.
306 within Markdown.
349 <h3 id="integrating_into_markdown">Integrating Your Code Into Markdown</h3>
352 Markdown about them and ensure that they are run in the proper sequence.
353 Markdown accepts a ``Extension`` instance for each extension. Therefore, you
357 the Markdown instance.
363 the Markdown class in [OrderedDict][]s. Your ``Extension`` class will need to
375 A pointer to the instance of the Markdown class. You should use this to
426 Generally speaking, within Markdown extensions you will be using the special
500 Markdown class. For example, consider the following use of the [[Footnotes]]
503 md = markdown.Markdown(extensions=['footnotes'])
523 Then, each time ``reset`` is called on the Markdown instance, the ``reset``
539 command line or at the time Markdown is initiated:
560 By following the above example, when Markdown is passed the name of your
564 You may have noted that the extensions packaged with Python-Markdown do not
566 part of the ``markdown.extensions`` package. Markdown will first try to import
568 fail, Markdown will continue without the extension.
570 However, Markdown will also accept an already existing instance of an extension.
577 md = markdown.Markdown(extensions=[myext])
588 [Integrating your code into Markdown]: #integrating_into_markdown