aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fixed Ticket 74. AtomicStrings should now be ackowledged (and preserved) in ↵Waylan Limberg2010-11-042-1/+51
| | | | all instances. This was a real pain to debug, but an easy fix once I found it. Thanks to obs for the report.
* Cleaned up whitespace and linewrap issues in treeprocessorspy and fixed a ↵Waylan Limberg2010-11-011-15/+17
| | | | few typos in docs.
* Fixed previous two commits. cElementTree cannot use ElementTree nodes in the ↵Waylan Limberg2010-10-314-9/+13
| | | | tree, but it still uses ElementTree Comment assinged to a node's tag to test for Comment nodes. Also no longer considering Commet nodes to be block level.
* Improved previous commit. isBlockLevel is now more foolproof and will no ↵Waylan Limberg2010-10-292-1/+6
| | | | longer crash on other non-string ElemetTree tags (like processing instructions).
* Fixed Ticket 80. Added support for ElementTree Comments to be included by ↵Waylan Limberg2010-10-293-6/+48
| | | | third party extensions when using cElementTree.
* Added short reference links. No more hanging empty brackets on reference ↵Waylan Limberg2010-10-113-13/+26
| | | | links; i.e., [this works]. Associated with and noted as missing when debuging Ticket 79.
* Fixed Ticket 79. Linebreaks in reference link identifiers are now ignored. ↵Waylan Limberg2010-10-113-1/+22
| | | | This matches the most recent version of markdown.pl among other implementations and allows links to work after editors do autolinebreak stuff to text.
* Merge branch 'master' of git@gitorious.org:python-markdown/mainlineWaylan Limberg2010-09-208-70/+140
|\
| * Wrapper functions now accept any arguments also accepted by the class, ↵Waylan Limberg2010-08-291-12/+4
| | | | | | | | rather than a limited subset. They are also more future proof. By using *args and **kwargs, we should not need to update them if we add/change any arguments or keywords on the class.
| * Fixed Ticket 71. Wrapper functions no longer do there own thing with ↵Waylan Limberg2010-08-293-57/+47
| | | | | | | | extensions. All behavior is now within the class.
| * Added test files for bug fix to ticket 62Gerry LaMontagne2010-09-024-0/+70
| |
| * Refactored fix- created method from local function for search. Fixes ticket 62.Gerry LaMontagne2010-08-311-20/+20
| |
| * Further improvements to closing tag search in HtmlBlockProcessorsGerry LaMontagne2010-08-301-7/+11
| |
| * Replaced block.rfind in _get_right_tag with custom search function.Gerry LaMontagne2010-08-291-1/+15
| |
* | Fixed Ticket 78. Wikilinks now support unicode characters.Waylan Limberg2010-09-201-1/+1
| |
* | Added the re.UNICODE flag to inlinepatterns. Now all inlinepattern regex ↵Waylan Limberg2010-09-202-4/+6
|/ | | | will match unicode characters when \w, \b, or \s is used. Also updated docs to reflect change.
* Fixed Ticket 70 and added a test. Footnote references whithout a ↵Waylan Limberg2010-08-253-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 Limberg2010-08-201-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 Limberg2010-08-201-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 Limberg2010-08-201-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/mainlineWaylan Limberg2010-08-204-12/+26
|\
| * Fixed ticket 69. Corrected a few syntax incompatabilities between python 2.x ↵Waylan Limberg2010-08-031-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 Limberg2010-08-023-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 Limberg2010-08-021-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 Limberg2010-08-201-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 Limberg2010-07-222-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 Limberg2010-07-143-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 Limberg2010-07-141-1/+1
|
* The 2to3 tool now gets run automaticaly when building in Python 3.x.Waylan Limberg2010-07-141-1/+10
|
* Made some changes to setup.py. Markdown version is now set to 2.1.0.Dev as ↵Waylan Limberg2010-07-142-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 Limberg2010-07-142-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 Limberg2010-07-122-33/+49
| | | | and the import paths of various things used by extensions.
* Cleaned up the comments in markdown/__init__.py after the refactor.Waylan Limberg2010-07-071-33/+14
|
* Fixed tab_length on codehilite extension to match new implementation of ↵Waylan Limberg2010-07-071-11/+5
| | | | default configs.
* A better implementation of globals as attributes on the Markdown class. This ↵Waylan Limberg2010-07-076-52/+53
| | | | should be more future proof.
* Factored out the building of the various processors and patterns into ↵Waylan Limberg2010-07-076-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 Limberg2010-07-067-40/+48
|
* Removed Global variable HTML_PLACEHOLDER. Use HtmlStash.get_placeholder(key) ↵Waylan Limberg2010-07-063-9/+7
| | | | if you need it.
* Moved base Extension class and extension loaders to ↵Waylan Limberg2010-07-062-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 Limberg2010-07-065-58/+53
|
* Updated commandline script as logging settings are no longer in ↵Waylan Limberg2010-07-063-4/+5
| | | | markdown/__init__.py
* More cleanup. I thought I removed this.Waylan Limberg2010-07-061-36/+0
|
* Cleanup of my cleanup.Waylan Limberg2010-07-062-37/+1
|
* Clean up previous commit a little. renamed misc_logging to md_logging and ↵Waylan Limberg2010-07-067-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 upstreamToshio Kuratomi2010-07-0517-101/+101
|
* Actually commit the files with the code moved out of __init__.pyToshio Kuratomi2010-07-052-0/+109
|
* Establish backwards compatibilityToshio Kuratomi2010-07-051-0/+6
|
* Break cyclic import of markdown. This allows people to embed markdownToshio Kuratomi2010-07-0519-222/+138
| | | | if they desire.
* Fix for undefined variables that need to be importedToshio Kuratomi2010-07-054-3/+4
|
* Fixed Ticket 63. Changed name of commandline script (again) to 'markdown_py' ↵Waylan Limberg2010-07-012-4/+10
| | | | because 'markdown' conflicts with the perl implementation. 'markdown_py' will at least still work with tab completion when the user types 'markdown'.