Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed Ticket 70 and added a test. Footnote references whithout a ↵ | Waylan Limberg | 2010-08-25 | 3 | -7/+13 |
| | | | | coresponding definition no longer raise an error. They now pass through as plain text - which is the same behavior as PHP Markdown Extra. Thanks for the report Benjamin Bach. | ||||
* | Added the mechanism for simple unstlyed navigation menu to the generated ↵ | Waylan Limberg | 2010-08-20 | 1 | -11/+30 |
| | | | | docs. Still need to add the data to the docs themselves. That will come when I update the docs. | ||||
* | Made the build_docs command a subcommand of build in setup script. This ↵ | Waylan Limberg | 2010-08-20 | 1 | -5/+12 |
| | | | | still does not install docs on the system. It just writes html to the temp build dir. | ||||
* | Added a simple unstyled template to the build_docs script. The generated ↵ | Waylan Limberg | 2010-08-20 | 1 | -2/+35 |
| | | | | docs (should) now validate as xhtml - assuming they parse correctly. I suspect the docs need some updating though. | ||||
* | Merge branch 'master' of git@gitorious.org:python-markdown/mainline | Waylan Limberg | 2010-08-20 | 4 | -12/+26 |
|\ | |||||
| * | Fixed ticket 69. Corrected a few syntax incompatabilities between python 2.x ↵ | Waylan Limberg | 2010-08-03 | 1 | -3/+4 |
| | | | | | | | | and 3.x in the setup script. Now the script actually can run 2to3 automaticaly when run under Python 3.x. Thanks for the report Virgil Dupras. | ||||
| * | Fixed problem hidden by Ticket 68. Defining a footnote placeholder in a ↵ | Waylan Limberg | 2010-08-02 | 3 | -8/+22 |
| | | | | | | | | markdown document results in the placeholder actually being replaced. Also added a test for this. Note that if the placeholder paragraph has other text, that text is lost. Not sure if this is a bug or bad markdown syntax. | ||||
| * | Fix Ticket 68. Remove an old line of code from the footnote extension that ↵ | Waylan Limberg | 2010-08-02 | 1 | -1/+0 |
| | | | | | | | | should have been removed excatly 2 years and 3 days ago (commit bd185087dc899b6157f8) when elementtree support was added. And to think it has been generating an error the whole time and was only just reported now. It appears this was never tested as it still does not work after removing the old line. At least we do not get an error. The footnote placeholder is just an empty paragraph. Thanks for the report Evan Carmi. | ||||
* | | Added a build_docs command to setup script. This command only builds ↵ | Waylan Limberg | 2010-08-20 | 1 | -1/+57 |
|/ | | | | (converts text files to html) in the build dir. It does not install them on the system. | ||||
* | Added logging imports to markdown.extensions which were missed in recent ↵ | Waylan Limberg | 2010-07-22 | 2 | -0/+77 |
| | | | | reorg. Also added tests to make sure erros and warnings are raised where they should be. | ||||
* | Fixed Ticket 65. Lines with only a lessthan sign (<) no longer crash the ↵ | Waylan Limberg | 2010-07-14 | 3 | -3/+16 |
| | | | | raw html parser. Fixed a related but I found while debugging this as well. Also added tests for both. | ||||
* | Missed changing version_info earlier. | Waylan Limberg | 2010-07-14 | 1 | -1/+1 |
| | |||||
* | The 2to3 tool now gets run automaticaly when building in Python 3.x. | Waylan Limberg | 2010-07-14 | 1 | -1/+10 |
| | |||||
* | Made some changes to setup.py. Markdown version is now set to 2.1.0.Dev as ↵ | Waylan Limberg | 2010-07-14 | 2 | -4/+4 |
| | | | | it should have been for some time now. Also updated classifiers to correctly represent the Python versions we support. Removed 2.3 and added 2.7. | ||||
* | Fixed Ticket 66. We have dropped official support for Python 3.0 and now ↵ | Waylan Limberg | 2010-07-14 | 2 | -5/+8 |
| | | | | only officially support Python 3.1+ in the Python 3 series (we still support 2.4, 2.5 & 2.6 in the Python 2 series). If you really must use Python 3.0, we suggest using Python 3.1's 2to3 tool. See comment in source and Ticket 66 for more. | ||||
* | Updated docs for recent changes to options accepted by the Markdown class ↵ | Waylan Limberg | 2010-07-12 | 2 | -33/+49 |
| | | | | and the import paths of various things used by extensions. | ||||
* | Cleaned up the comments in markdown/__init__.py after the refactor. | Waylan Limberg | 2010-07-07 | 1 | -33/+14 |
| | |||||
* | Fixed tab_length on codehilite extension to match new implementation of ↵ | Waylan Limberg | 2010-07-07 | 1 | -11/+5 |
| | | | | default configs. | ||||
* | A better implementation of globals as attributes on the Markdown class. This ↵ | Waylan Limberg | 2010-07-07 | 6 | -52/+53 |
| | | | | should be more future proof. | ||||
* | Factored out the building of the various processors and patterns into ↵ | Waylan Limberg | 2010-07-07 | 6 | -103/+90 |
| | | | | utility functions called by a build_parser method on the Markdown class. Editing of the processors and patterns now all happen in one file for each type. Additionaly, a subclass of Markdown could potentially override the build_parser method and build a parser for a completely differant markup language without first building the default and then overriding it. | ||||
* | Moved a bunch of global variables to the instance of the Markdown class. | Waylan Limberg | 2010-07-06 | 7 | -40/+48 |
| | |||||
* | Removed Global variable HTML_PLACEHOLDER. Use HtmlStash.get_placeholder(key) ↵ | Waylan Limberg | 2010-07-06 | 3 | -9/+7 |
| | | | | if you need it. | ||||
* | Moved base Extension class and extension loaders to ↵ | Waylan Limberg | 2010-07-06 | 2 | -100/+100 |
| | | | | markdown/extensions/__init__.py. Now only the Markdown class and two public wrappers are in markdown/__init__.py. | ||||
* | Moved HtmlStash and base Prosessor classes to the new util module. | Waylan Limberg | 2010-07-06 | 5 | -58/+53 |
| | |||||
* | Updated commandline script as logging settings are no longer in ↵ | Waylan Limberg | 2010-07-06 | 3 | -4/+5 |
| | | | | markdown/__init__.py | ||||
* | More cleanup. I thought I removed this. | Waylan Limberg | 2010-07-06 | 1 | -36/+0 |
| | |||||
* | Cleanup of my cleanup. | Waylan Limberg | 2010-07-06 | 2 | -37/+1 |
| | |||||
* | Clean up previous commit a little. renamed misc_logging to md_logging and ↵ | Waylan Limberg | 2010-07-06 | 7 | -14/+90 |
| | | | | fixed imports. We import logging levels from logging directly and only import message from md_logging. | ||||
* | Rename misc.py to util.py at the request of upstream | Toshio Kuratomi | 2010-07-05 | 17 | -101/+101 |
| | |||||
* | Actually commit the files with the code moved out of __init__.py | Toshio Kuratomi | 2010-07-05 | 2 | -0/+109 |
| | |||||
* | Establish backwards compatibility | Toshio Kuratomi | 2010-07-05 | 1 | -0/+6 |
| | |||||
* | Break cyclic import of markdown. This allows people to embed markdown | Toshio Kuratomi | 2010-07-05 | 19 | -222/+138 |
| | | | | if they desire. | ||||
* | Fix for undefined variables that need to be imported | Toshio Kuratomi | 2010-07-05 | 4 | -3/+4 |
| | |||||
* | Fixed Ticket 63. Changed name of commandline script (again) to 'markdown_py' ↵ | Waylan Limberg | 2010-07-01 | 2 | -4/+10 |
| | | | | because 'markdown' conflicts with the perl implementation. 'markdown_py' will at least still work with tab completion when the user types 'markdown'. | ||||
* | Moved INSTALL, LICENSE and README files out of docs dir and into root dir ↵ | Waylan Limberg | 2010-03-24 | 4 | -0/+3 |
| | | | | where they should be. | ||||
* | Fixed Ticket 60. The dd in definition lists can now not be indented on ↵ | Waylan Limberg | 2010-03-24 | 3 | -2/+19 |
| | | | | secondary lines. | ||||
* | Fixed ticket 59. Reference links now strip angle brackets from the url. | Waylan Limberg | 2010-03-25 | 3 | -3/+14 |
| | |||||
* | The html-tidy extension now fails gracefully when tidy is not installed on ↵ | Waylan Limberg | 2010-03-25 | 1 | -2/+6 |
| | | | | the system -- markdown continues without it. | ||||
* | Changed the default style used by pygments in the codehilite extension. ↵ | Waylan Limberg | 2010-03-25 | 2 | -3/+3 |
| | | | | This was a recently added feature, but older versions of pygments don't know what the 'tango' style is, so we now use pygemnts 'default' by default. Not sure why the 'tango' style was used here in the first place. I'm guess it was the preferance of whoever contributed the patch. | ||||
* | Blockquoted text in the first item of a list is now placed in child p tag of the | Gerry LaMontagne | 2010-03-23 | 3 | -25/+58 |
| | | | | blockquote tag. Added lists8.txt and .html for test suite to test condition. | ||||
* | Fixed ticket 58. The first item of a looselist gets placed in p tags when | Gerry LaMontagne | 2010-03-22 | 2 | -5/+39 |
| | | | | | | it has a sublist. Previously, the test suite erroneously passed this condition because there was an error in the expected '.html' output file. The expected output has been corrected as well. | ||||
* | Fixed Ticket 57. Lists where the first line of an item is a nested item, now ↵ | Waylan Limberg | 2010-03-19 | 3 | -2/+159 |
| | | | | observe rules for using p tags. Thanks to Gerry LaMontagne for the patch. | ||||
* | Merge commit 'origin' | Waylan Limberg | 2010-03-15 | 0 | -0/+0 |
|\ | |||||
| * | Fix bug with rawhtml and markdown escaping. Previously, any inline rawhtml ↵ | Waylan Limberg | 2010-03-01 | 3 | -1/+11 |
| | | | | | | | | that contained text that fit markdown's escaping syntax (i.e. <x\]>) was never unescaped. Now it is. Markdown probably shouldn't be escaping before removing rawhtml in the first place, but this will do for now. | ||||
* | | Fixed Ticket 53. Nested lists no longer isorder items in certain edge cases. ↵ | Waylan Limberg | 2010-03-15 | 3 | -1/+27 |
| | | | | | | | | Thanks for the report and preliminary work Gerry LaMontagne. | ||||
* | | Fix bug with rawhtml and markdown escaping. Previously, any inline rawhtml ↵ | Waylan Limberg | 2010-03-15 | 3 | -1/+11 |
|/ | | | | that contained text that fit markdown's escaping syntax (i.e. <x\]>) was never unescaped. Now it is. Markdown probably shouldn't be escaping before removing rawhtml in the first place, but this will do for now. | ||||
* | Fixed some code that wasn't Python 2.4 compatible. | Waylan Limberg | 2010-02-22 | 1 | -1/+1 |
| | |||||
* | Updated last failing test as we no longer need a demo of a failing test now ↵ | Waylan Limberg | 2010-02-22 | 1 | -2/+2 |
| | | | | that the branch is merged. | ||||
* | Merge branch 'tests' | Waylan Limberg | 2010-02-22 | 299 | -4638/+3112 |
|\ | |||||
| * | Changes path of html output to be written into current dir rather than a tmp ↵ | Waylan Limberg | 2010-02-22 | 2 | -2/+2 |
| | | | | | | | | dir. No need to create the tmp dir on first run. |