aboutsummaryrefslogtreecommitdiffstats
path: root/markdown
Commit message (Collapse)AuthorAgeFilesLines
* Fixed problem hidden by Ticket 68. Defining a footnote placeholder in a ↵Waylan Limberg2010-08-021-8/+7
| | | | 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 logging imports to markdown.extensions which were missed in recent ↵Waylan Limberg2010-07-221-0/+2
| | | | 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-141-2/+2
| | | | 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
|
* Made some changes to setup.py. Markdown version is now set to 2.1.0.Dev as ↵Waylan Limberg2010-07-141-2/+2
| | | | 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-141-4/+7
| | | | 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.
* 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-062-5/+5
| | | | 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-064-55/+50
|
* Updated commandline script as logging settings are no longer in ↵Waylan Limberg2010-07-062-2/+4
| | | | markdown/__init__.py
* More cleanup. I thought I removed this.Waylan Limberg2010-07-061-36/+0
|
* Cleanup of my cleanup.Waylan Limberg2010-07-061-36/+0
|
* 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 60. The dd in definition lists can now not be indented on ↵Waylan Limberg2010-03-241-2/+7
| | | | secondary lines.
* Fixed ticket 59. Reference links now strip angle brackets from the url.Waylan Limberg2010-03-251-2/+3
|
* The html-tidy extension now fails gracefully when tidy is not installed on ↵Waylan Limberg2010-03-251-2/+6
| | | | the system -- markdown continues without it.
* Changed the default style used by pygments in the codehilite extension. ↵Waylan Limberg2010-03-251-1/+1
| | | | 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 theGerry LaMontagne2010-03-231-25/+3
| | | | 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 whenGerry LaMontagne2010-03-221-3/+35
| | | | | | 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 Limberg2010-03-191-2/+17
| | | | observe rules for using p tags. Thanks to Gerry LaMontagne for the patch.
* Fixed Ticket 53. Nested lists no longer isorder items in certain edge cases. ↵Waylan Limberg2010-03-151-1/+5
| | | | Thanks for the report and preliminary work Gerry LaMontagne.
* Fix bug with rawhtml and markdown escaping. Previously, any inline rawhtml ↵Waylan Limberg2010-03-151-0/+8
| | | | 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 Limberg2010-02-221-1/+1
|
* Removed imagelinks extension. It never worked without some third party code ↵Waylan Limberg2010-02-131-119/+0
| | | | that has never been shipped with Markdown anyway - and that code it not readily available. See list discussion for more info.
* Refactored codehilite and fenced code, so now fenced code will also be ↵Lucas van Dijk2010-01-253-94/+94
| | | | highlited when codehilite extension is enabled
* Added pygments support to fenced_codeLucas van Dijk2010-01-241-13/+64
|
* Added processing of markdown text within raw html to the 'extra' extension. ↵Waylan Limberg2010-01-032-2/+6
| | | | Fixes Ticket 39. NOTE: I did not add a seperate extension which only adds this feature - it is only available as part of 'extra'.
* Cleanup and additional work on previous commit. NOTE: removed special ↵Waylan Limberg2010-01-031-17/+61
| | | | treatment if raw <div>s with multiple line breaks - they no longer automagicly process their content as markdown. This matches other implementations. Finished rest of code for use by an extension - to be added later.
* Fixed Ticket 48. Quoted attributes in raw html are specificly ackowledged ↵Waylan Limberg2010-01-031-9/+39
| | | | | | now - allowing various arbitrary stuff (like x/html to be included without breaking the rawhtml parser. Although currently unused, the code also provides the parsed attributes as a dict. Should be useful for adding support for parsing markdown text within rawhtml in an extension.
* Fixed ticket 44. Raw HTML now maintains original whitespace. Important ↵Waylan Limberg2010-01-031-1/+1
| | | | inside raw <pre> tags.
* Fix the TOC extension for TOCs starting at levels other than 1.Steve Losh2009-12-251-1/+4
|
* The ENABLE_ATTRIBUTES global setting is now ackowledged.Waylan Limberg2009-10-211-17/+18
|
* Cleaned up documentation output from commandline --help option.Waylan Limberg2009-10-211-5/+9
|
* The commandline script now accepts input from stdin. By extension ↵Waylan Limberg2009-10-212-6/+8
| | | | markdownFromFile and Markdown.convertFile accept any file like object as input as well as a file name as string.
* Removed the pre 2.3 commandline stuff as we don't support those older ↵Waylan Limberg2009-10-211-29/+2
| | | | versions anyway.
* Added a --version option to the commandline script. I thought we already had ↵Waylan Limberg2009-10-211-2/+3
| | | | this. Not sure when we lost it.
* Fixed a silly bug in setup.py. Importing version from the lib requires that ↵2.0.3Waylan Limberg2009-10-071-2/+2
| | | | all dependencaies for the lib are present, so we can't actuly import the lib until after we check for dependencies - which means we can't import version in the setup script. Grrr. We'll have to remember to update the version number in both places from now on. Sigh.
* Upped version to 2.0.2-Final and added release notes.Waylan Limberg2009-07-311-2/+2
|
* Fixed Ticket 42. We really should abandon the 'message' function ↵Waylan Limberg2009-08-261-7/+10
| | | | altogeather, but this will do for now.