<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/pygments-git.git/pygments/formatters, branch 2.12.0</title>
<subtitle>github.com: pygments/pygments.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/'/>
<entry>
<title>Fix #632. (#2101)</title>
<updated>2022-04-24T12:56:11+00:00</updated>
<author>
<name>Matthäus G. Chajdas</name>
<email>Anteru@users.noreply.github.com</email>
</author>
<published>2022-04-24T12:56:11+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/commit/?id=992fa6c33cd61d32953f0cc00150875dce5c7bc4'/>
<id>992fa6c33cd61d32953f0cc00150875dce5c7bc4</id>
<content type='text'>
* Fix #632.

The doc string indicates that the linenos table is wrapped in &lt;div class="highlight"&gt;,
but the actual implementation puts the &lt;div&gt; inside the table cell containing the code.
This seems to cause issues as explained in #632, and given it doesn't match the
documentation, this PR restores the original behavior.

* Fix sample code in comment.

* Update CHANGES.

* Refactor the wrapping logic.

Instead of calling _wrap_div() at the end of wrap(), _wrap_div()
is now called after wrap/_wrap_tablinelinenos. This yields the
desired behavior but removes the custom &lt;div&gt; generation code.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Fix #632.

The doc string indicates that the linenos table is wrapped in &lt;div class="highlight"&gt;,
but the actual implementation puts the &lt;div&gt; inside the table cell containing the code.
This seems to cause issues as explained in #632, and given it doesn't match the
documentation, this PR restores the original behavior.

* Fix sample code in comment.

* Update CHANGES.

* Refactor the wrapping logic.

Instead of calling _wrap_div() at the end of wrap(), _wrap_div()
is now called after wrap/_wrap_tablinelinenos. This yields the
desired behavior but removes the custom &lt;div&gt; generation code.</pre>
</div>
</content>
</entry>
<entry>
<title>Add nowrap option to LatexFormatter</title>
<updated>2022-03-02T09:02:28+00:00</updated>
<author>
<name>Takeshi KOMIYA</name>
<email>i.tkomiya@gmail.com</email>
</author>
<published>2019-12-21T06:53:59+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/commit/?id=231366c7106f66f67f3f27c86ee51434419fcda2'/>
<id>231366c7106f66f67f3f27c86ee51434419fcda2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Let Groff formatter inherit token styles correctly (#2024)</title>
<updated>2022-02-05T06:02:44+00:00</updated>
<author>
<name>Jean Abou-Samra</name>
<email>jean@abou-samra.fr</email>
</author>
<published>2022-02-05T06:02:44+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/commit/?id=da799d14818ed538bf937684a19ce779ddde9446'/>
<id>da799d14818ed538bf937684a19ce779ddde9446</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>When using the HTML formatter with `linespans=foo`, `linenos=inline`, and `anchorlinenos=True`, (#2026)</title>
<updated>2022-01-31T20:59:04+00:00</updated>
<author>
<name>Maximilian Hils</name>
<email>github@maximilianhils.com</email>
</author>
<published>2022-01-31T20:59:04+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/commit/?id=b1edee0c8f736276a86e30d8edaed1f581e009d0'/>
<id>b1edee0c8f736276a86e30d8edaed1f581e009d0</id>
<content type='text'>
the generated anchor links should be `#foo-42` and not `#-42`.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
the generated anchor links should be `#foo-42` and not `#-42`.</pre>
</div>
</content>
</entry>
<entry>
<title>Happy new year.</title>
<updated>2022-01-25T06:36:28+00:00</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2022-01-25T06:36:28+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/commit/?id=ab4afd821aa41403f7a0b1e714112c40b2ad843b'/>
<id>ab4afd821aa41403f7a0b1e714112c40b2ad843b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix typos (#2030)</title>
<updated>2022-01-18T20:00:07+00:00</updated>
<author>
<name>Kian-Meng Ang</name>
<email>kianmeng.ang@gmail.com</email>
</author>
<published>2022-01-18T20:00:07+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/commit/?id=2a0cecbb5037d04f1ecbf5f2336ef26813e2967c'/>
<id>2a0cecbb5037d04f1ecbf5f2336ef26813e2967c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix #1986.</title>
<updated>2022-01-06T11:02:42+00:00</updated>
<author>
<name>Matthäus G. Chajdas</name>
<email>dev@anteru.net</email>
</author>
<published>2022-01-06T11:01:09+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/commit/?id=8fdd6b9879a6c34b908fa03a6ff15f764192a54e'/>
<id>8fdd6b9879a6c34b908fa03a6ff15f764192a54e</id>
<content type='text'>
Some formatters did not backtrack to parent token types correctly when
trying to find a matching style.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some formatters did not backtrack to parent token types correctly when
trying to find a matching style.
</pre>
</div>
</content>
</entry>
<entry>
<title>Generate valid links if lineanchors but no linenos set (#2013)</title>
<updated>2021-12-31T18:51:31+00:00</updated>
<author>
<name>Chris Warrick</name>
<email>kwpolska@gmail.com</email>
</author>
<published>2021-12-31T18:51:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/commit/?id=346564d693117b8ebc9606511bc83627971c7ac2'/>
<id>346564d693117b8ebc9606511bc83627971c7ac2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a tooltips option to HtmlFormatter. (#1822)</title>
<updated>2021-12-28T17:12:45+00:00</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2021-12-28T17:12:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/commit/?id=34bf90dcfc8fc32fca8b84e4c56b2805fc0dd82f'/>
<id>34bf90dcfc8fc32fca8b84e4c56b2805fc0dd82f</id>
<content type='text'>
* Add a tooltips option to HtmlFormmater.

* Rename option tooltips to debug_token_types.

* Use explicit if block.

* Fix check.

* Document how to use the new debug_token_types option for the HTML formatter.

* Remove output redirection from example call.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add a tooltips option to HtmlFormmater.

* Rename option tooltips to debug_token_types.

* Use explicit if block.

* Fix check.

* Document how to use the new debug_token_types option for the HTML formatter.

* Remove output redirection from example call.</pre>
</div>
</content>
</entry>
<entry>
<title>Add links to lines with css-line numbers</title>
<updated>2021-11-26T12:50:02+00:00</updated>
<author>
<name>David Bold</name>
<email>dave@ipp.mpg.de</email>
</author>
<published>2021-11-26T12:50:02+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/commit/?id=b5dc79a786c61a77b8e1fbceea3497bfe31ae3ee'/>
<id>b5dc79a786c61a77b8e1fbceea3497bfe31ae3ee</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
