| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Use console_scripts entry_point instead of manually built script.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|\ |
|
| | |
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
See http://contributor-covenant.org.
I've adopted version 1.3 as I find 1.4 overly complex and lengthy.
|
| |
|
|
|
| |
See http://stackoverflow.com/questions/42544813/paths-not-excluded-from-github-language-statistics
|
|
|
| |
See https://github.com/github/linguist#my-repository-is-detected-as-the-wrong-language
|
|
|
| |
Fixes #554.
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
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 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.
|
|
|
| |
Related to #527.
|
|
|
| |
Extend the language regex to match things like 'C#' and 'VB.Net'.
|
| |
|
|
|
|
| |
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)
|
|
|
| |
Travis should checkout aspell-en (issue #521)
|
|
|
| |
add . before `codehilite` to generate a proper css output (to reference the codehilite class)
|
|
|
| |
should say `pygmentize` not `pygmetize` on line 50
|
|
|
|
| |
This fixes warnings with pycodestyle ≥ 2.1, see PyCQA/pycodestyle#400.
|
|
|
| |
Fixes #511. Thanks to @omiday for the report.
|
| |
|
| |
|
|
|
|
|
|
| |
`getiterator` has been deprecated since Python 2.7, when `iter` was added.
Fixes #499.
|
| |
|
|
|
|
| |
Related to #498.
|
|\ |
|