mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
make docs more explicit
This commit is contained in:
parent
fe9af76e22
commit
6880f3d1e9
1 changed files with 5 additions and 2 deletions
|
|
@ -154,13 +154,16 @@ Syntax highlighting
|
||||||
---------------------
|
---------------------
|
||||||
|
|
||||||
Pelican is able to provide colorized syntax highlighting for your code blocks.
|
Pelican is able to provide colorized syntax highlighting for your code blocks.
|
||||||
To do so, you have to use the following convention for reStructuredText::
|
To do so, you have to use the following conventions (you need to put this in
|
||||||
|
your content files).
|
||||||
|
|
||||||
|
For RestructuredText::
|
||||||
|
|
||||||
.. code-block:: identifier
|
.. code-block:: identifier
|
||||||
|
|
||||||
your code goes here
|
your code goes here
|
||||||
|
|
||||||
For Markdown, format your code blocks thusly:
|
For Markdown, format your code blocks thusly::
|
||||||
|
|
||||||
::identifier
|
::identifier
|
||||||
your code goes here
|
your code goes here
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue