Closed
Description
With rst
it is easy to make admonitions for notes and warnings:
.. warning:: don't do this
Using github-markup
to render this sort of thing correctly creates this output:
<div class="warning">
<p class="first admonition-title">Warning</p>
<p class="last">don't do this</p>
</div>
On github it seems this is just rendered as two normal <p>
tags (In gists, the source browser and README.rst
).
<p>Warning</p>
<p>don't do this</p>
And that turns out to look like this:
This makes admonitions useless. Is github doing some extra post-processing of the output? If so, can it be modified to allow this construct to get through.
Just copying the correct code into the browser on a github page in firebug revealed, that stylesheets for this already exist (although they are not that pretty):
Something similar to the styling on readthedocs.org would be cool: