Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Removed Global variable HTML_PLACEHOLDER. Use HtmlStash.get_placeholder(key) ↵ | Waylan Limberg | 2010-07-06 | 2 | -5/+5 |
| | | | | 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 | 4 | -55/+50 |
| | |||||
* | Updated commandline script as logging settings are no longer in ↵ | Waylan Limberg | 2010-07-06 | 2 | -2/+4 |
| | | | | 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 | 1 | -36/+0 |
| | |||||
* | 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 60. The dd in definition lists can now not be indented on ↵ | Waylan Limberg | 2010-03-24 | 1 | -2/+7 |
| | | | | secondary lines. | ||||
* | Fixed ticket 59. Reference links now strip angle brackets from the url. | Waylan Limberg | 2010-03-25 | 1 | -2/+3 |
| | |||||
* | 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 | 1 | -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 the | Gerry LaMontagne | 2010-03-23 | 1 | -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 when | Gerry LaMontagne | 2010-03-22 | 1 | -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 Limberg | 2010-03-19 | 1 | -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 Limberg | 2010-03-15 | 1 | -1/+5 |
| | | | | 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 | 1 | -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 Limberg | 2010-02-22 | 1 | -1/+1 |
| | |||||
* | Removed imagelinks extension. It never worked without some third party code ↵ | Waylan Limberg | 2010-02-13 | 1 | -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 Dijk | 2010-01-25 | 3 | -94/+94 |
| | | | | highlited when codehilite extension is enabled | ||||
* | Added pygments support to fenced_code | Lucas van Dijk | 2010-01-24 | 1 | -13/+64 |
| | |||||
* | Added processing of markdown text within raw html to the 'extra' extension. ↵ | Waylan Limberg | 2010-01-03 | 2 | -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 Limberg | 2010-01-03 | 1 | -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 Limberg | 2010-01-03 | 1 | -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 Limberg | 2010-01-03 | 1 | -1/+1 |
| | | | | inside raw <pre> tags. | ||||
* | Fix the TOC extension for TOCs starting at levels other than 1. | Steve Losh | 2009-12-25 | 1 | -1/+4 |
| | |||||
* | The ENABLE_ATTRIBUTES global setting is now ackowledged. | Waylan Limberg | 2009-10-21 | 1 | -17/+18 |
| | |||||
* | Cleaned up documentation output from commandline --help option. | Waylan Limberg | 2009-10-21 | 1 | -5/+9 |
| | |||||
* | The commandline script now accepts input from stdin. By extension ↵ | Waylan Limberg | 2009-10-21 | 2 | -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 Limberg | 2009-10-21 | 1 | -29/+2 |
| | | | | versions anyway. | ||||
* | Added a --version option to the commandline script. I thought we already had ↵ | Waylan Limberg | 2009-10-21 | 1 | -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.3 | Waylan Limberg | 2009-10-07 | 1 | -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 Limberg | 2009-07-31 | 1 | -2/+2 |
| | |||||
* | Fixed Ticket 42. We really should abandon the 'message' function ↵ | Waylan Limberg | 2009-08-26 | 1 | -7/+10 |
| | | | | altogeather, but this will do for now. | ||||
* | Fixed Ticket 43. Apparenlty ElementTree does not recognize 'utf8' as an ↵ | Waylan Limberg | 2009-08-23 | 1 | -1/+1 |
| | | | | alias of 'utf-8' and outputs invalid xml. We never noticed as stripTopLevelTags removes the offending fragment. However, there are legitimate uses for turning off stripTopLevelTags. Therefore, from now on we will be using 'utf-8' internally. Thanks to Mark Eichin for the report. | ||||
* | Fixed Ticket 37. When multiple markdown documents are displayed on one page and | Waylan Limberg | 2009-07-21 | 1 | -5/+19 |
| | | | | | contain footnotes with the same name, they will no longer collide when 'UNIQUE_IDS' is set to True. Thanks to Paul Stansifer for report and patch. | ||||
* | Fixed Ticket 38. With smart_emphasis turned on, emphasised text can now be ↵ | Waylan Limberg | 2009-07-21 | 1 | -1/+1 |
| | | | | wrapped in punctuation without spaces and still will be converted to emphasis (ie: '[_foo_]'). Test included. Thanks for the report seanh. | ||||
* | Fixed TOC extension to properly nest multiple header levels in the table of ↵ | Waylan Limberg | 2009-07-21 | 1 | -7/+3 |
| | | | | contents. Specificly, when stepping back multiple levels, the nestsed listed now follow suite. Test included. Thanks for the patch Jack Miller. | ||||
* | Fixed ticket 35. Lists now work when padded with five or more spaces after ↵ | Waylan Limberg | 2009-06-17 | 1 | -4/+4 |
| | | | | asterisk. Adjusted regex to eat all (one or more) of the spaces. While it may seem wrong (at least in the loose list case), this is how all other implementations work. And it solves a number of edge cases otherwise not accounted for in the list parser. | ||||
* | Removing legacy extension. No real need to keep that old core around. I ↵ | Waylan Limberg | 2009-06-05 | 1 | -468/+0 |
| | | | | created it as a novialty and for comparisive testing anyway. We've moved on, it no longer works and I don't want to maintain it. It's in the git log if anyone wants it. | ||||
* | Fixed Ticket 34. stripToLevelTags now accounts for an empty document being ↵ | Waylan Limberg | 2009-06-05 | 1 | -3/+11 |
| | | | | returned (such as when a document only contains link references) and acts accordingly. | ||||
* | Upped version to 2.0.1-Final and added release notes.2.0.1 | Waylan Limberg | 2009-05-19 | 1 | -2/+2 |
| | |||||
* | Fixed ticket 32. When raw html starts a line, the raw html is only broken ↵ | Waylan Limberg | 2009-05-13 | 1 | -8/+9 |
| | | | | into a seperate block if it is a block tag. Inline tags are left in the block for the inline pattern as they should be. | ||||
* | Fixed ticket 33. Tweaked the regex for inline links so that the title is ↵ | Waylan Limberg | 2009-05-06 | 1 | -1/+1 |
| | | | | non-greedy - it no longer eats everything between the first links title and the last links title in a paragraph. Thanks to Charles Winebrinner for the report. | ||||
* | Updated docs for recent command line script changes. | Waylan Limberg | 2009-05-06 | 1 | -2/+2 |
| | |||||
* | Fixed commandline issues and upped version to 2.0.1-beta. Renamed ↵ | Waylan Limberg | 2009-05-05 | 1 | -2/+2 |
| | | | | markdown.py to markdown and added a markdown.bat wrapper for win32. Also had to put markdown script in a bin dir so it doesn't clash with the markdown lib dir because win32 doesn't allow a dir and file of the same name in same parent dir. |