Restructured Text Rendering is broken #114690
Replies: 7 comments 4 replies
-
I see the same for my repos. Furthermore, the rendering of code seems to have changed, instead of highlighting it, it's just underlined and all in black |
Beta Was this translation helpful? Give feedback.
-
I opened a GitHub support ticket recently with this same issue. Apparently they are investigating it - but no fix yet. This has been going on for weeks already. See https://github.com/ansys/pyansys-geometry |
Beta Was this translation helpful? Give feedback.
-
I created a related issue recently in github/markup#1801 (comment). It is a common pattern in the Python community to use something similar to the following snippet (in ReStructuredText) to add "badges" as a UI block at the top of the README of repositories: .. image:: https://img.shields.io/pypi/v/setuptools.svg
:target: https://pypi.org/project/setuptools
.. image:: https://img.shields.io/pypi/pyversions/setuptools.svg
.. image:: https://github.com/pypa/setuptools/actions/workflows/main.yml/badge.svg
:target: https://github.com/pypa/setuptools/actions?query=workflow%3A%22tests%22
:alt: tests
.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json
:target: https://github.com/astral-sh/ruff
:alt: Ruff
.. image:: https://img.shields.io/readthedocs/setuptools/latest.svg
:target: https://setuptools.pypa.io
.. image:: https://img.shields.io/badge/skeleton-2024-informational
:target: https://blog.jaraco.com/skeleton
.. image:: https://img.shields.io/codecov/c/github/pypa/setuptools/master.svg?logo=codecov&logoColor=white
:target: https://codecov.io/gh/pypa/setuptools
.. image:: https://tidelift.com/badges/github/pypa/setuptools?style=flat
:target: https://tidelift.com/subscription/pkg/pypi-setuptools?utm_source=pypi-setuptools&utm_medium=readme
.. image:: https://img.shields.io/discord/803025117553754132
:target: https://discord.com/channels/803025117553754132/815945031150993468
:alt: Discord Previously, that would render as a horizontal bar: But now each image is occupying a new line: Please note that this was a pattern that historically emerged in the community, so it is wide spread. Examples of repositories affected by this change: https://github.com/python/cpython/tree/v3.13.0a6 and many more ... |
Beta Was this translation helpful? Give feedback.
-
Thanks to everyone in this discussion: I've reached out to the support a while ago and they said that they're tracking it internally, they seem to be aware of the issue. |
Beta Was this translation helpful? Give feedback.
-
A temporary solution could be to use Restructured Text substitution to put badges in a line. see this PR pypa/setuptools#4312, but it's best that GitHub fixes this. |
Beta Was this translation helpful? Give feedback.
-
I’m seeing further breakage today with links using Broken on GitHub: Correct on PyPI, and how it used to render on GitHub: |
Beta Was this translation helpful? Give feedback.
-
Two more problems with reStructuredText rendering that haven't been mentioned yet:
|
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Bug
Body
I have several projects that have badges on the README. The README is in Restructured Text format.
The badges used to be rendered like this:
As much images as possible would be fitted side by side. Now they are rendered as follows:
Has the Restrtuctured Text renderer changed?
The restructured text code used is:
EDIT: Also code rendering is broken. My
code-block:: yaml
is now rendered with only underlining. The same problem is also posted by @jonas-eschle .Beta Was this translation helpful? Give feedback.
All reactions