aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Make sure regex patterns are raw strings (#614)Isaac Muse2018-01-024-19/+19
| | | Python 3.6 is starting to reject invalid escapes. Regular expression patterns should be raw strings to avoid having regex escapes being mistaken for invalid string escapes. Fixes #611.
* Remove unwanted apostrophe from docsAlex Chan2017-12-271-1/+1
|
* [Footnote extension] Add a way to customize the backlink title (#616)Jorge Maldonado Ventura2017-12-222-2/+13
| | | Fixes #610.
* Restore code to use markdown_py as the console script name.Dmitry Shachnev2017-12-101-1/+6
|
* Fix spellchecking test.Waylan Limberg2017-12-084-6/+22
| | | | | | * Install deps. * Ensure test fails if deps are missing. * Update dictionary for recent docs changes.
* Build and upload wheels for releases.Waylan Limberg2017-12-084-55/+22
| | | | Update install docs.
* Switch to setuptools.Waylan Limberg2017-12-083-86/+19
| | | | Use console_scripts entry_point instead of manually built script.
* Update makefileWaylan Limberg2017-12-071-6/+2
| | | | | | | | The sdist command now builds the MANIFEST automatically. No need to do it manually. Also, PyPI now only accepts one sdist file per release, so let's not try to upload two. Also, the docs deploy command does not work right so it's removed.
* Upped version to 2.6.102.6.10Waylan Limberg2017-12-073-3/+5
| | | | | This version was released to force PyPI to point to the new docs location. Closes #601. The old PyPI hosted docs can be deleted after this.
* Switch docs to MKDocs (#602)Waylan Limberg2017-12-0683-3274/+2438
| | | | | | | | | | | | | | | | | | | | | | | | Fixes #601. Merged in 6f87b32 from the md3 branch and did a lot of cleanup. Changes include: * Removed old docs build tool, templates, etc. * Added MkDocs config file, etc. * filename.txt => filename.md * pythonhost.org/Markdown => Python-Markdown.github.io * Markdown lint and other cleanup. * Automate pages deployment in makefile with `mkdocs gh-deploy` Assumes a git remote is set up named "pages". Do git remote add pages https://github.com/Python-Markdown/Python-Markdown.github.io.git ... before running `make deploy` the first time.
* Feature ancestry (#598)Isaac Muse2017-11-235-13/+107
| | | | | Ancestry exclusion for inline patterns. Adds the ability for an inline pattern to define a list of ancestor tag names that should be avoided. If a pattern would create a descendant of one of the listed tag names, the pattern will not match. Fixes #596.
* Update builds with py35 and py36 supportfacelessuser2017-11-173-1/+7
|
* Fix new flake8 722 errorfacelessuser2017-10-261-1/+1
|
* Clean up some docs formatting.Waylan Limberg2017-09-182-8/+9
|
* Switch to codecov from coverallsWaylan Limberg2017-09-083-3/+11
| | | | | | Note that we install coverage<4.0 in travis because test-requirements.txt is installing the same in the tox environments. The .coverage file format changed in 4.0.
* Manually define travis matrix.Waylan Limberg2017-09-071-7/+12
| | | | | | | | Travis-CI no longer has all supported Python versions installed by default. Each version needs to be set via the `python` setting. However, we don't want a matrix where every Python version runs with every `TOXENV`. Therefore, we now manually define the matrix so that the Python version is properly matched with the TOXENV.
* Adjust for new PyPI changesWaylan Limberg2017-08-172-3/+2
|
* Merge remote-tracking branch 'upstream/master'2.6.9Waylan Limberg2017-08-170-0/+0
|\
| * Upped version to 2.6.9Waylan Limberg2017-08-172-1/+5
| |
* | Upped version to 2.6.9Waylan Limberg2017-08-172-1/+5
|/
* GitHub/waylan => GitHub/Python-Markdown orgWaylan Limberg2017-08-1714-19/+18
|
* fix DeprecationWarning: invalid escape sequenced9pouces2017-07-251-1/+1
|
* fix DeprecationWarning: invalid escape sequenced9pouces2017-07-252-4/+4
|
* Fix typo s/Goggle/Google/Tim Chase2017-06-031-1/+1
|
* Fix a silly formatting error in README.Waylan Limberg2017-04-261-1/+1
|
* Added link to Code of Conduct in READMEWaylan Limberg2017-04-261-0/+8
|
* Add a code of conduct.Waylan Limberg2017-04-251-0/+50
| | | | | See http://contributor-covenant.org. I've adopted version 1.3 as I find 1.4 overly complex and lengthy.
* Update badgesWaylan Limberg2017-04-251-1/+1
|
* Exclude all nested test data from statsWaylan Limberg2017-04-251-7/+7
| | | See http://stackoverflow.com/questions/42544813/paths-not-excluded-from-github-language-statistics
* Exclude test data from project stats.Waylan Limberg2017-04-251-0/+7
| | | See https://github.com/github/linguist#my-repository-is-detected-as-the-wrong-language
* The location keyword of OrderedDict.add is not optional.Waylan Limberg2017-03-091-1/+1
| | | Fixes #554.
* Added footnote BACKLINK_TEXT test.Waylan Limberg2017-03-081-0/+24
|
* Loosen whitespace requirements for admonitions.Waylan Limberg2017-03-053-2/+18
| | | | | | | Also consume to the end of the first line of any admonition. Everything after the title is discarded. However, the only thing that will match should be whitespace so it should be a non-issue. Fixes #550.
* Fix regression of single column tables (#540)Isaac Muse2017-01-263-11/+169
| | | | | | Single column tables are valid tables, so add back in the accidentally removed functionality of allowing single column tables, but with one exception -- table bodies should not render empty (an empty `<tbody>` is invalid HTML. Fixes #539.
* Upped version to 2.6.8.2.6.8-finalWaylan Limberg2017-01-252-2/+3
|
* Fix HTML parse with empty lines (#537)Isaac Muse2017-01-243-1/+29
| | | | | | | If both open and close was not found in first block, additional blocks were evaluated without context of previous blocks. The algorithm needs to evaluate a buffer with the left bracket present. So feed in all items and get the right bracket, then adjust the data_index to be relative to the last block. Fixes #452.
* Fix footnote parsing of footnote content (#536)Isaac Muse2017-01-233-13/+78
| | | | | | | Fixes #412 and #493. First we parse footnote content as its own document avoid quirks with using li as a parent. Second, we surround placeholders with STX and ETX to prevent them from interfering with inline parsing; this is also consistent with how placeholders are used everywhere else in Python Markdown.
* Create additional references for duplicate footnotes (#534)Isaac Muse2017-01-233-5/+115
| | | | | | Track when we find duplicate footnote references and create unique ids for them. Then add an additional tree-processor after inline to go back and update the footnotes with additional back references that link to the duplicate footnote references. Fixes #468.
* Fix hr recursion issue (#535)Isaac Muse2017-01-233-2/+18
| | | | | | | HRProcessor tried to access a member variable after recursively calling itself. In certain situations HRProcessor will try to access its member variable containing its match, but it will not be the same match that call in the stack expected. This is easily fixed by storing the match locally *before* doing any recursive work.
* Better inline code escaping (#533)Isaac Muse2017-01-205-10/+42
| | | | | This aims to escape code in a more expected fashion. This handles when backticks are escaped and when the escapes before backticks are escaped.
* Tables: Improvements (#530)Isaac Muse2017-01-195-30/+172
| | | | | | | Tables now handle escaped pipes when testing, in table borders, and in the inline content. To achieve properly, a bug had to be fixed related to appending escaped chars to the Markdown class. Now appended chars only appear in the current instance. Lastly the first backtick in a table can be escaped rounding out the last corner case.
* Update fenced code extension to match codehilite lang regex. (#529)Waylan Limberg2017-01-181-1/+1
| | | Related to #527.
* codehilite: detect languages with funny names (#527)Grant Mathews2017-01-171-1/+1
| | | Extend the language regex to match things like 'C#' and 'VB.Net'.
* Recognize <main> as an HTML5 block level tag. (#525)daniel-j-mac2017-01-171-1/+1
|
* Better handling of backticks in tables (#524)Isaac Muse2017-01-113-41/+102
| | | | At some point the logic of counting backticks and determining if they are odd or even was used to parse a row's text into cells. Unfortunately this approach broke expected code parsing logic in a table. We essentially traded one bug for another. This fixes table backtick handling and restores sane backtick logic while preserving existing fixes. (issue #449)
* Fix aspell silently failing (#523)Isaac Muse2017-01-111-0/+1
| | | Travis should checkout aspell-en (issue #521)
* command line (#517)Ben Petty2016-12-231-1/+1
| | | add . before `codehilite` to generate a proper css output (to reference the codehilite class)
* Spelling error (#516)Ben Petty2016-12-231-1/+1
| | | should say `pygmentize` not `pygmetize` on line 50
* Add blank lines after toplevel function definitions.Dmitry Shachnev2016-11-184-0/+5
| | | | This fixes warnings with pycodestyle ≥ 2.1, see PyCQA/pycodestyle#400.
* Fox formatting of extension_configs example.Waylan Limberg2016-11-171-7/+3
| | | Fixes #511. Thanks to @omiday for the report.