-
Notifications
You must be signed in to change notification settings - Fork 90
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
Support standard rst admonitions #132
Comments
I have played around, and it seems that the rendered HTML by default is <div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">Hello, world!</p>
</div> So I believe if we whitelist |
This is a great feature to support. It allows package maintainer to display big warning for major package update or breaking changes. For instance, I use a |
I'm just adding a +1 in support for this feature. We have a lot of notes in our ABI docs (current docs up on Github and future docs that will be added), and right now the rendering of them on Github is confusing because of this: https://github.com/ARM-software/abi-aa Can we expect any chance of this being supported? It would be really appreciated. |
Hi @stuij .
Since you mentioned GitHub, I think that what you said is not related to this issue or even this repo. You could have a look at github/markup#68 . |
rst provides standard "admonitions" (http://docutils.sourceforge.net/docs/ref/rst/directives.html#admonitions) such as
which gets rendered by default (by rst2html) as
but readme_renderer just yields two paragraphs with no markup at all
It would be nice if admonitions were supported.
Perhaps related to #120.
The text was updated successfully, but these errors were encountered: