Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
| * | Added documentation for the test suite. | Waylan Limberg | 2010-02-14 | 1 | -0/+131 |
| | | |||||
| * | Added run-tests.py script and added a helpful error message if nose is not ↵ | Waylan Limberg | 2010-02-13 | 2 | -5/+11 |
| | | | | | | | | installed. Note the run-tests script will be used by simply running 'nosetests' from the commandline, so the hack in 'tests/__init__.py' has been removed. | ||||
| * | Merge branch 'master' into tests | Waylan Limberg | 2010-02-13 | 1 | -119/+0 |
| |\ | |/ |/| | |||||
* | | 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. | ||||
| * | Updated codehilite test to match new pygments output (they added an extra ↵ | Waylan Limberg | 2010-02-13 | 1 | -2/+2 |
| | | | | | | | | div around line numbers). | ||||
| * | Moved test dir back out of markdown lib. We don't need to install the tests ↵ | Waylan Limberg | 2010-02-12 | 393 | -5/+2 |
| | | | | | | | | in everyones site-packages. We just need to distrubute them in the tarball for people to run before installing etc. | ||||
| * | Moved remaining tests from merge | Waylan Limberg | 2010-02-12 | 11 | -0/+6 |
| | | |||||
| * | Merged tests branch | Waylan Limberg | 2010-02-12 | 438 | -4643/+2977 |
|/| | |||||
| * | Merge branch 'master' into tests | Waylan Limberg | 2009-06-17 | 3 | -4/+36 |
| |\ | |||||
| * | | Fixed UnicodeDecodeErrors from some of the php & pl tests when normalizing ↵ | Waylan Limberg | 2009-06-16 | 2 | -2/+3 |
| | | | | | | | | | | | | whitespace with tidy. | ||||
| * | | Added tests from php test framework. The tests are currently set to be ↵ | Waylan Limberg | 2009-06-15 | 61 | -0/+2423 |
| | | | | | | | | | | | | skipped as most fail on various edge cases. | ||||
| * | | Moved perl's MarkdownTest test files into new testing framework. One 2004 ↵ | Waylan Limberg | 2009-06-15 | 145 | -4233/+14 |
| | | | | | | | | | | | | test and 23 2007 tests are failing so I set them to be skipped for now. We'll have to explore those failures later. A few may be issues with normalization, but most appear to be edgecases with markdown. | ||||
| * | | Last few changes to get other test frameworks to work. Added config options ↵ | Waylan Limberg | 2009-06-15 | 1 | -6/+6 |
| | | | | | | | | | | | | to set file extensions and a few other tweeks. | ||||
| * | | Added 'skip' as a config option. Individual tests or whole dirs can be ↵ | Waylan Limberg | 2009-06-15 | 1 | -4/+8 |
| | | | | | | | | | | | | skipped by adding 'skip=1' to test.cfg. | ||||
| * | | Cleaned up test descriptions for TestSyntax tests. They now only display a ↵ | Waylan Limberg | 2009-06-14 | 1 | -25/+42 |
| | | | | | | | | | | | | relative path. Had to reimplement os.path.relpath from python 2.6 for it to work in previous versions. | ||||
| * | | Altered HtmlOutput nose plugin to slow skipped tests. | Waylan Limberg | 2009-06-06 | 1 | -1/+1 |
| | | | |||||
| * | | Added support for a 'normalize' setting in test.cfg which uses HTML Tidy to ↵ | Waylan Limberg | 2009-06-06 | 1 | -11/+46 |
| | | | | | | | | | | | | normalize whitespace for running tests against other testing framework's tests files (i.e.: perl or php). Hopefully, I got Tidy's settings right so that only unsignificant whitespace is altered. There's always the possability this could hide some bugs. | ||||
| * | | renamed 'markdown-test' to 'basic' as that what those tests actually are. ↵ | Waylan Limberg | 2009-06-05 | 45 | -2/+0 |
| | | | | | | | | | | | | Also resolved issue with api tests being autodiscovered. test_apis.py was executable so nose was ignoring it. |