-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regression in rendering restructuredText sourcecode
directive
#1806
Comments
trevorld
added a commit
to trevorld/r-ledger
that referenced
this issue
May 17, 2024
* README looked bad on Github due to a regression in rendering `sourcecode` blocks: github/markup#1806 * {knitr} uses `sourcecode` when rendering `README.Rrst` files to `README.rst` so this is just a temporary fix.
trevorld
added a commit
to trevorld/r-optparse
that referenced
this issue
May 17, 2024
* README looked bad on Github due to a regression in rendering `sourcecode` blocks: github/markup#1806 * {knitr} uses `sourcecode` when rendering `README.Rrst` files to `README.rst` so this is just a temporary fix.
trevorld
added a commit
to piecepackr/piecenikr
that referenced
this issue
May 17, 2024
* README looked bad on Github due to a regression in rendering `sourcecode` blocks: github/markup#1806 * {knitr} uses `sourcecode` when rendering `README.Rrst` files to `README.rst` so this is just a temporary fix.
trevorld
added a commit
to piecepackr/piecepackr
that referenced
this issue
May 17, 2024
* README looked bad on Github due to a regression in rendering `sourcecode` blocks: github/markup#1806 * {knitr} uses `sourcecode` when rendering `README.Rrst` files to `README.rst` so this is just a temporary fix.
pekkaklarck
added a commit
to robotframework/robotframework
that referenced
this issue
May 29, 2024
I noticed our docs looked odd as well, but luckily the workaround to replace |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a refinement of #1796
Officially docutils and most other rst renderers like pandoc support three source code directives:
code
,code-block
, andsourcecode
. I'm observing that Github restored support for renderingcode
andcode-block
directives but that although it rendered thesourcecode
directive for years thesourcecode
code blocks are still no longer rendering correctly.I have a minimal github repo as an example: https://github.com/trevorld/github_rst_code_rendering
{knitr}
uses the sourcecode directive when convertingREADME.Rrst
files intoREADME.rst
files so this still affects some of my repos.Here are some links to the
docutils
andpandoc
source code where they explictly support all three of these:The text was updated successfully, but these errors were encountered: