aboutsummaryrefslogtreecommitdiffstats
path: root/mdx_footnotes.py
Commit message (Collapse)AuthorAgeFilesLines
* Added an example of how to use footnotes, fixed a small bug where the return ↵David Wolever2008-02-261-1/+9
| | | | link's title always said "Jump back to footnote 1"
* mdx_footnotes.makeExtension() was crashing because the default value of ↵David Wolever2008-02-261-1/+1
| | | | configs was None instead of [].
* fixed some basic white space issues in code with mdx_footnotes.py. Fixed ↵Waylan Limberg2008-02-081-6/+6
| | | | [1877510].
* Footnotes that end in anyting but a <p> (list, blockquote, codeblock) now haveWaylan Limberg2007-11-291-3/+8
| | | | | | | | | | | | | | | | the backlink in a <p> which is appended to the end of the footnote. Fixes [1831600] Also fixed multiparagraph footnotes so that the first paragraph is actually wrapped in a <p> element. This results in one-liners also wrapped in <p> elements, but this is inline with PHP Markdown Extra's behavior. That means the test for `node.type == "text"` should never get a match, but I'm leaving it in for now. Also added some tests, although they are not properly included in a test directory for use with the testing framework. Seeing the framework currently ignores extensions, we'll worry about that later.
* v 1.6Yuri Takhteyev2006-10-121-0/+252