<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-markdown.git/tests/test_syntax/extensions/test_code_hilite.py, branch 3.3.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>Skip tests with pygments version mismatch.</title>
<updated>2020-10-08T20:08:13+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan.limberg@icloud.com</email>
</author>
<published>2020-10-08T19:33:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=e02ed390666930ce8640d4cebcac51059e9a34d8'/>
<id>e02ed390666930ce8640d4cebcac51059e9a34d8</id>
<content type='text'>
If pygments is installed and the version doesn't match the expected version.
then any relevant tests will fail. To avoid failing tests due to different
output by pygments, those tests will be skipped. The pygments tox env
sets the `PYGMENTS_VERSION environment variable, so that env will always
run those tests against the expected version.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If pygments is installed and the version doesn't match the expected version.
then any relevant tests will fail. To avoid failing tests due to different
output by pygments, those tests will be skipped. The pygments tox env
sets the `PYGMENTS_VERSION environment variable, so that env will always
run those tests against the expected version.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update tests for pygments-2.7.1</title>
<updated>2020-10-07T14:06:56+00:00</updated>
<author>
<name>Michał Górny</name>
<email>mgorny@gentoo.org</email>
</author>
<published>2020-10-07T13:01:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=c2904eac1a6daf8a3aaef6af0791b101e1971544'/>
<id>c2904eac1a6daf8a3aaef6af0791b101e1971544</id>
<content type='text'>
Closes #1030
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #1030
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix unescaping of HTML characters &lt;&gt; in CodeHilite. (#990)</title>
<updated>2020-06-29T17:35:17+00:00</updated>
<author>
<name>Rohitt Vashishtha</name>
<email>aero31aero@gmail.com</email>
</author>
<published>2020-06-29T17:35:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=071c4f1420ac3c80ad621522b9996bcc1cd94bcf'/>
<id>071c4f1420ac3c80ad621522b9996bcc1cd94bcf</id>
<content type='text'>
Previously, we'd unescape both `&amp;amp;gt;` and `&amp;gt;` to the same
string because we were running the &amp;amp; =&gt; &amp; replacement first.
By changing the order of this replacement, we now convert:

`&amp;amp;gt; &amp;gt;` =&gt; `&amp;gt; &gt;`

as expected.

Fixes #988.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, we'd unescape both `&amp;amp;gt;` and `&amp;gt;` to the same
string because we were running the &amp;amp; =&gt; &amp; replacement first.
By changing the order of this replacement, we now convert:

`&amp;amp;gt; &amp;gt;` =&gt; `&amp;gt; &gt;`

as expected.

Fixes #988.</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor fenced_code &amp; codehilite options (#816)</title>
<updated>2020-06-23T20:04:31+00:00</updated>
<author>
<name>Waylan Limberg</name>
<email>waylan.limberg@icloud.com</email>
</author>
<published>2020-06-23T20:04:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-markdown.git/commit/?id=10058fae6577e79b786f4e185218aebb1b53e937'/>
<id>10058fae6577e79b786f4e185218aebb1b53e937</id>
<content type='text'>
* Add `language-` prefix to output when syntax highlighting is
  disabled for both codehilite and fenced_code extensions.
* Add `lang_prefix` config option to customize the prefix.
* Add a 'pygments' env to tox which runs the tests with Pygments
  installed. Pygments is locked to a specific version in the env.
* Updated codehilite to accept any Pygments options.
* Refactor fenced code attributes.
   - ID attr is defined on `pre` tag.
    - Add support for attr_list extension, which allows setting arbitrary 
      attributes. 
    - When syntax highlighting is enabled, any pygments options can
       be defined per block in the attr list.
    - For backward compatibility, continue to support `hi_lines` outside
      of an attr_list. That is the only attr other than lang which is allowed
      without the brackets (`{}`) of an attr list. Note that if the brackets
      exist, then everything, including lang and hl_lines, must be within
      them.
* Resolves #775. Resolves #334. Addresses #652.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add `language-` prefix to output when syntax highlighting is
  disabled for both codehilite and fenced_code extensions.
* Add `lang_prefix` config option to customize the prefix.
* Add a 'pygments' env to tox which runs the tests with Pygments
  installed. Pygments is locked to a specific version in the env.
* Updated codehilite to accept any Pygments options.
* Refactor fenced code attributes.
   - ID attr is defined on `pre` tag.
    - Add support for attr_list extension, which allows setting arbitrary 
      attributes. 
    - When syntax highlighting is enabled, any pygments options can
       be defined per block in the attr list.
    - For backward compatibility, continue to support `hi_lines` outside
      of an attr_list. That is the only attr other than lang which is allowed
      without the brackets (`{}`) of an attr list. Note that if the brackets
      exist, then everything, including lang and hl_lines, must be within
      them.
* Resolves #775. Resolves #334. Addresses #652.</pre>
</div>
</content>
</entry>
</feed>
