Patches item #3556382, was opened at 2012-08-11 07:51
Message generated for change (Settings changed) made by milde
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=422032&aid=3556382&group_id=38414
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Rejected
Priority: 5
Private: No
Submitted By: ytj (yintianjiao)
Assigned to: Nobody/Anonymous (nobody)
Summary: Add code-block support for rst2s5 and rst2html.
Initial Comment:
After apply this patch, you can use ``.. code-block:: language`` in rst file.
If the language can be syntax highlighted by pygments it will be.
BTW, I forget where did I get the code, it works anyway.
----------------------------------------------------------------------
>Comment By: Günter Milde (milde)
Date: 2012-08-14 03:25
Message:
Thanks for the patch. However,
Docutils supports code highlight with Pygments since
release 0.9 (2012-05-02) with the "code" directive and role
(see http://docutils.sourceforge.net/docs/ref/rst/directives.html#code).
This support is writer-independent. It requires a custom stylesheet.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=422032&aid=3556382&group_id=38414
|