| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
There is no need for this anymore. In the past, most config was using
globals. Today all config is held on the class instance.
|
|
|
|
| |
And misc. cleanup from adopting entrypoints for extensions.
|
| |
|
| |
|
|
|
|
|
|
| |
Got all but a couple files in the tests (ran out of time today).
Apparently I have been using some bad form for years (although a few
things seemed to look better before the update). Anyway, conformant now.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes #325. All extensions can now accept a dict of configs or
**kwargs, not just a list of tuples. Third party extensions may want
to follow suite. Extensions may only accept keyword arguments
in the future. These changes still need to be documented.
A couple things of note:
The CodeHilite extension previously issued a DeprecationWarning
if the old config key `force_linenos` was used. With thins change,
a KeyError will now be raised.
The `markdown.util.parseBoolValue` function gained a new argument:
`preserve_none` (defaults to False), which when set to True, will
pass None through unaltered (will not convert it to False).
|
| |
|
|
|
|
|
|
|
|
|
| |
A `from __future__ import ...` statement must go after any docstrings;
since putting them before the docstring means the docstring loses its
magic and just becomes a string literal. That then causes a syntax
error if there are further future statements after the false docstring.
This fixes issue #203, using the patch provided by @Arfrever.
|
|
|
|
|
|
|
|
|
|
| |
The most notable changes are the use of unicode_literals
and absolute_imports. Actually, absolute_imports was the
biggest deal as it gives us relative imports. For the first
time extensions import markdown relative to themselves.
This allows other packages to embed the markdown lib in a
subdir of their project and still be able to use our
extensions.
|
|
|
|
| |
capitalized. Thanks for the report.
|
|
|
|
| |
Thanks to skurfer for report and inital patch.
|
| |
|
|
|
|
| |
if they desire.
|
|
|
|
| |
syntax and is implemented as a blockprocessor. Currently, Markdown doesn't see table elements as block elements, so it doesn't get prettified.
|
|
|
|
| |
major refactor, but it at least works as documented.
|
| |
|
|
package instead of two.
|