<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-markdown.git/tests/test_syntax, branch 3.4.3</title>
<subtitle>github.com: waylan/Python-Markdown.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/'/>
<entry>
<title>Improve standalone * and _ parsing.</title>
<updated>2022-11-15T16:55:37+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan.limberg@icloud.com</email>
</author>
<published>2022-11-14T19:26:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=939a2fe70580c8e6b7e10af82ebdd6c8c72e019a'/>
<id>939a2fe70580c8e6b7e10af82ebdd6c8c72e019a</id>
<content type='text'>
The `NOT_STRONG_RE` regex matchs 1, 2, or 3 * or _ which are surrounded by
white space to prevent them from being parsed as tokens. However, the
surrounding white space should not be consumed by the regex, which is why
lookhead and lookbehind assertions are used. As `^` cannot be matched in a
lookbehind assertion, it is left outside the assertion, but as it is zero
length, that should not matter.

Tests added and/or updated to cover various edge cases. Fixes #1300.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The `NOT_STRONG_RE` regex matchs 1, 2, or 3 * or _ which are surrounded by
white space to prevent them from being parsed as tokens. However, the
surrounding white space should not be consumed by the regex, which is why
lookhead and lookbehind assertions are used. As `^` cannot be matched in a
lookbehind assertion, it is left outside the assertion, but as it is zero
length, that should not matter.

Tests added and/or updated to cover various edge cases. Fixes #1300.
</pre>
</div>
</content>
</entry>
<entry>
<title>Move backslash unescaping to treeprocessor</title>
<updated>2022-07-15T12:38:34+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan.limberg@icloud.com</email>
</author>
<published>2022-07-15T12:38:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=c0f6e5a31ea8e7fe98910a0523144c2a96fa9bf1'/>
<id>c0f6e5a31ea8e7fe98910a0523144c2a96fa9bf1</id>
<content type='text'>
By unescaping backslash escapes in a treeprocessor, the text is properly
escaped during serialization. Fixes #1131.

As it is recognized that various third-party extensions may be calling the
old class at `postprocessors.UnescapePostprocessor` the old class remains
in the codebase, but has been deprecated and will be removed in a future
release. The new class `treeprocessors.UnescapeTreeprocessor` should be
used instead.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
By unescaping backslash escapes in a treeprocessor, the text is properly
escaped during serialization. Fixes #1131.

As it is recognized that various third-party extensions may be calling the
old class at `postprocessors.UnescapePostprocessor` the old class remains
in the codebase, but has been deprecated and will be removed in a future
release. The new class `treeprocessors.UnescapeTreeprocessor` should be
used instead.</pre>
</div>
</content>
</entry>
<entry>
<title>Pass language to Pygments formatter in CodeHilite</title>
<updated>2022-05-18T18:08:55+00:00</updated>
<author>
<name>Liang-Bo Wang</name>
<email>me@liang2.tw</email>
</author>
<published>2022-05-18T18:08:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=12c3378ab9a46fae416a7bb5549e3f123a11d22a'/>
<id>12c3378ab9a46fae416a7bb5549e3f123a11d22a</id>
<content type='text'>
* Add an extra option `lang_str` to pass the language of the code block
to the specified Pygments formatter.
* Include an example custom Pygments formatter in the documentation
that includes the language of the code in the output using the new option.

Resolves #1255.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add an extra option `lang_str` to pass the language of the code block
to the specified Pygments formatter.
* Include an example custom Pygments formatter in the documentation
that includes the language of the code in the output using the new option.

Resolves #1255.</pre>
</div>
</content>
</entry>
<entry>
<title>Support for custom Pygments formatter</title>
<updated>2022-05-09T12:56:10+00:00</updated>
<author>
<name>Shrikant Sharat Kandula</name>
<email>shrikantsharat.k@gmail.com</email>
</author>
<published>2022-05-09T12:56:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=9d90d47157f4348ad70f1a070571de87efbc6cbc'/>
<id>9d90d47157f4348ad70f1a070571de87efbc6cbc</id>
<content type='text'>
This adds configuration support for using a custom Pygments formatter,
either by giving the string name, or a custom formatter class (or
callable).</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds configuration support for using a custom Pygments formatter,
either by giving the string name, or a custom formatter class (or
callable).</pre>
</div>
</content>
</entry>
<entry>
<title>Support custom CSS class on TOC element</title>
<updated>2022-05-05T19:53:38+00:00</updated>
<author>
<name>Jannis Vajen</name>
<email>jvajen@gmail.com</email>
</author>
<published>2022-05-05T19:53:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=93d17b9cc4a3f53dc2059e44a691a28797422d21'/>
<id>93d17b9cc4a3f53dc2059e44a691a28797422d21</id>
<content type='text'>
Closes #1224</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #1224</pre>
</div>
</content>
</entry>
<entry>
<title>Footnotes improvements</title>
<updated>2022-05-05T19:47:59+00:00</updated>
<author>
<name>ysard</name>
<email>ysard@users.noreply.github.com</email>
</author>
<published>2022-05-05T19:47:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=efec51ac92059fc5b72f08832b481919a3ded6f3'/>
<id>efec51ac92059fc5b72f08832b481919a3ded6f3</id>
<content type='text'>
* footnotes: Allow to use backlink title without footnote number
- The placeholder '{}' is optional. So a user can choose to include or
not the footnote number in the backlink text.
- The modification is backward compatible with configurations using
the old '%d' placeholder.

* footnotes: Allow to use custom superscript text

- The addition of a new SUPERSCRIPT_TEXT option allows to specify
a placeholder receiving the footnote number for the superscript text.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* footnotes: Allow to use backlink title without footnote number
- The placeholder '{}' is optional. So a user can choose to include or
not the footnote number in the backlink text.
- The modification is backward compatible with configurations using
the old '%d' placeholder.

* footnotes: Allow to use custom superscript text

- The addition of a new SUPERSCRIPT_TEXT option allows to specify
a placeholder receiving the footnote number for the superscript text.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update th/td to use style attribute</title>
<updated>2022-05-05T19:32:07+00:00</updated>
<author>
<name>Gaige B Paulsen</name>
<email>github@gbp.gaige.net</email>
</author>
<published>2022-05-05T19:32:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=659a43659c6012df8d8ceb4a3681d2ddb1cb7540'/>
<id>659a43659c6012df8d8ceb4a3681d2ddb1cb7540</id>
<content type='text'>
This allows better interoperation with CSS style sheets, as the align
object on the TH is skipped if the css uses 'text-align: inherit' and
the previous 'text-align' is used instead (or the default: left).

Added an override to restore the original `align` behavior
Moved existing tests to the new test infrastructure
Added new tests to test the configuration parameter
Updated documentation to document the configuration parameter.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows better interoperation with CSS style sheets, as the align
object on the TH is skipped if the css uses 'text-align: inherit' and
the previous 'text-align' is used instead (or the default: left).

Added an override to restore the original `align` behavior
Moved existing tests to the new test infrastructure
Added new tests to test the configuration parameter
Updated documentation to document the configuration parameter.</pre>
</div>
</content>
</entry>
<entry>
<title>Ensure fenced code attributes are properly escaped.</title>
<updated>2022-05-04T18:13:56+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan.limberg@icloud.com</email>
</author>
<published>2022-05-04T18:13:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=ce73b2754fb754c29d719c9980ae2f4aa4912f4d'/>
<id>ce73b2754fb754c29d719c9980ae2f4aa4912f4d</id>
<content type='text'>
Fixes #1247.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #1247.</pre>
</div>
</content>
</entry>
<entry>
<title>extensions: copy config dict on each highlighted block</title>
<updated>2022-04-18T13:10:02+00:00</updated>
<author>
<name>Gert van Dijk</name>
<email>gertvdijk@gmail.com</email>
</author>
<published>2022-04-01T21:56:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=ed417a1a555bf2206ceea84ba29ce37322ca8261'/>
<id>ed417a1a555bf2206ceea84ba29ce37322ca8261</id>
<content type='text'>
This fixes a bug where any subsequent highlighted block with codehilite
would result in the omission of the style setting, because it was popped
off the dict. It would then fall back to pygments_style 'default' after
the first block.

Fixes #1240
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes a bug where any subsequent highlighted block with codehilite
would result in the omission of the style setting, because it was popped
off the dict. It would then fall back to pygments_style 'default' after
the first block.

Fixes #1240
</pre>
</div>
</content>
</entry>
<entry>
<title>[style]: fix various typos in docstrings and comments</title>
<updated>2022-03-18T13:41:43+00:00</updated>
<author>
<name>Florian Best</name>
<email>best@univention.de</email>
</author>
<published>2022-03-18T09:36:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=383de86c64101b8d14768d9a247c9efc97d703bd'/>
<id>383de86c64101b8d14768d9a247c9efc97d703bd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
