aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #70. Empty anglebrackets '<>' are now properly recognized as raw html.Waylan Limberg2011-12-291-1/+1
|
* Fixed #61. stdin and stdout should work better in python 3.Waylan Limberg2011-12-282-16/+26
| | | | | Apparently, in Python3 stdin and stdout take str (unicode) not bytes. This provides a solution that will work in both python 2 & 3.
* Fixed #69. url_sanitize no longer crashes on unparsable urls.Waylan Limberg2011-12-281-9/+18
| | | | | | | | | | Also optimized the code to bypass parsing when not in safe_mode and return immediately upon failure rather than continue parsing when in safe_mode. Note that in Python2.7+ more urls may fail than in older versions because IPv6 support was added to urlparse and it apparently mistakenly identifies some urls as IPv6 when they are not. Seeing this only applies to safe_mode now, I don't really care.
* Fixed #60. When we updated codehilite, we forgot to update fenced_codee to ↵Waylan Limberg2011-12-281-5/+5
| | | | work with it.
* Fixed issue #66. Silly error. Not sure why the shebang lines were ↵Waylan Limberg2011-12-282-2/+2
| | | | capitalized. Thanks for the report.
* Merge pull request #67 from fiesta/masterWaylan Limberg2011-12-283-2/+16
|\ | | | | Allow backticks in addition to tildes for code blocks in the fenced_code extension
| * also undo changes to the test.cfgDaniel Gottlieb2011-12-271-4/+0
| |
| * appropriately move the tests to the fenced code documentation in the ↵Daniel Gottlieb2011-12-273-151/+11
| | | | | | | | extension source
| * common emacs support for a .gitignore fileDaniel Gottlieb2011-12-271-0/+2
| |
| * Allow tildes or backticks in the fenced_code extension to support the syntax ↵Daniel Gottlieb2011-12-274-2/+158
| | | | | | | | used by github
* | Merge pull request #65 from startling/backlinksWaylan Limberg2011-12-281-2/+8
|\ \ | |/ |/| New footnotes configuration option: BACKLINK_TEXT
| * fixed an error in the BACKLINK_TEXT option in the footnotes extension.tim2011-12-201-2/+2
| | | | | | | | | | I accidentally changed the wrong line (L294 instead of L293) to "self.footnotes.getConfig("BACKLINK_TEXT")" before. This fixes that.
| * New footnotes configuration option: BACKLINK_TEXT (second try).tim2011-12-201-2/+8
|/ | | | | | | | | | | | | | | | | | BACKLINK_TEXT specifies the text that's used in the link at the end of the footnote to link back up to the reader's place. It still defaults to "&#8617;". Okay, so at first I had an uncessarily complicated commit for this and submitted a pull request. Waylan showed me a better way to do it, here: https://github.com/startling/Python-Markdown/commit/ee7d1a26c76f970c12226ca48ba52dc1d32f2488#markdown/extensions/footnotes.py-P19 So I made another commit and added it to the pull request. But then I accidentally added yet another commit to the pull request, accidentally. Since then, I've realized it would be best to start with a new branch and closed that first pull request. Hopefully this will be the last try.
* Version 2.1.0-Final2.1.0.finalWaylan Limberg2011-11-243-9/+7
|
* Some more tests for issue #51. An upate to Marcin Kasperski's tests (which I ↵Waylan Limberg2011-11-173-2402/+1212
| | | | previously merged). Thanks Marcin. Also added a test for not-indented secondary lines of a first paragraph in a footnote definition.
* Merge git://github.com/Mekk/Python-Markdown into mekkWaylan Limberg2011-11-172-0/+10796
|\
| * Example test for #51 (crash on docs with +1000 footnotes)Marcin Kasperski2011-11-102-0/+10796
| |
* | Fixed #51. Removed recussion from footnote preproccessor. Also refactors the ↵Waylan Limberg2011-11-184-61/+38
| | | | | | | | code to provide a few other minor improvements s that output more closely matches php's output. Thus the changes in the tests.
* | Fixed #47. Improved HRProccessor.\n\nPython's re module does not support ↵Waylan Limberg2011-11-173-19/+26
|/ | | | atomic grouping, which was slowing the HR regex down if a long HR ended with a non HR char (casing the regex to backtrack). Therefore, we have to simulate atomic grouping. Fortunately, we only need to match end-of-line or end-of-string after the atomic group here, so it was an easy case to simulate. Just remove the '$' from the end of the regex and manualy check using m.end(). The run method was refactored while I was at it, saving us from running the regex twice for each HR.
* Fixed #49. Don't crash on poorly/randomly ordered header levels. Maybe ↵Waylan Limberg2011-10-301-42/+46
| | | | someday we will better support any input (patches welcome), but we should never crash on poorly formatted input text. With this fix, we catch the exception and skip over it. The TOC up to the point (and perhaps after) still gets rendered. The incomplete TOC should be the clue to the document author that s/he has a formatting error in the document.
* Release 2.1.0-Beta2.1.0.betaWaylan Limberg2011-10-103-27/+28
|
* Removed another [[wikilink]] style link from the docs.Waylan Limberg2011-10-061-1/+2
|
* Fixed a few issues with writing_extensions.md.Waylan Limberg2011-10-061-11/+14
|
* Fixed minor typo in docs/index.mdWaylan Limberg2011-10-061-1/+1
|
* Added an index.md file to the docs. The docs can now be a full website unto ↵Waylan Limberg2011-10-061-0/+61
| | | | themselves.
* Updated docs/extensions/index to be more informative - not just list extensions.Waylan Limberg2011-10-061-2/+30
|
* No longer skipping all tests from PHP test suite. We skip some because PHP ↵Waylan Limberg2011-10-061-1/+38
| | | | differs from markdown.pl and we match markdown.pl. A few others are skipped because we have to adjust for a few edge cases. See comments in tests/php/test.cfg for details.
* Allow UPPERCASE urls in auto links.Waylan Limberg2011-10-061-1/+1
|
* Skipped 3 failing pl tests with some weird edge cases. A significant rewrite ↵Waylan Limberg2011-10-061-0/+12
| | | | if inlinepatterns will probably be needed for this. Putting it on hold till after 2.1-final is released.
* Fixed #44. The TOC extension will now except True/False in addition to 1/0 ↵Waylan Limberg2011-10-061-1/+1
| | | | from the command line style syntax for passing in bool type extension configs. In order words, we now except strings in addition to booleans and integers.
* Do'h! Fixed a silly typo.Waylan Limberg2011-10-051-1/+1
|
* Fixed a few typos in the using_as_module docs.Waylan Limberg2011-10-051-12/+16
|
* Fixed one more [[wikilink]] missed in previous commit.Waylan Limberg2011-10-051-1/+1
|
* Fixed a few errors in the 2.1.0-alpha release notes and updated links to not ↵Waylan Limberg2011-10-051-13/+15
| | | | use the [[wikilink]] style.
* Made a few minor edits to command line docs.Waylan Limberg2011-10-051-4/+4
|
* Updated docs to no longer use the [[wikilink]] style links from the old ↵Waylan Limberg2011-09-226-38/+37
| | | | wiki. All links are not realative links which should work with the supplied docs generator.
* Updated Extra Extension docs to relect recent changes in the extension.Waylan Limberg2011-09-221-9/+7
|
* Run a few more pl tests. Some of them are failing but should be easily fixable.Waylan Limberg2011-08-272-0/+12
|
* Added greater-than as an escaped character. Apparently markdown.pl escapes ↵Waylan Limberg2011-08-273-1/+4
| | | | it even though it is not documented.
* Added support to build_docs command to copy non markdown files unmodified.Waylan Limberg2011-08-233-6/+10
|
* Update build_docs script for the *.txt -> *.md change in docs.Waylan Limberg2011-08-232-10/+76
|
* Renamed *.txt -> *.md in docs.Waylan Limberg2011-08-2331-39/+1
|
* Fixed #39. Refactored escaping so that it only escapes a predifined set of ↵Waylan Limberg2011-08-175-8/+29
| | | | chars (the set defined by JG in the syntax rules). All other backslashes are passed through unaltered by the parser. If extensions want to add to the escapable chars, they can append to the list at markdown.ESCAPED_CHARS.
* Fixed the fabfile geterate_test(s) commands so they actually import the ↵Waylan Limberg2011-08-171-2/+6
| | | | testing framework.
* The build_docs command now uses extra and toc extensions and a template on ↵Waylan Limberg2011-08-042-31/+34
| | | | the file system.
* TOC extension now attaches toc to Markdown instance (Markdown.toc), but only ↵Waylan Limberg2011-08-041-0/+11
| | | | if a marker was not found in the document.
* Added some fadfile commands to (re)generate tests when they are added or ↵Waylan Limberg2011-08-042-5/+54
| | | | updated.
* Set version to '2.1.0.alpha'.2.1.0.alphaWaylan Limberg2011-08-032-3/+3
|
* Added 'fab clean' command.Waylan Limberg2011-08-031-0/+4
|
* Updated release notes to include a note about support for python's `-m` option.Waylan Limberg2011-08-031-0/+6
|