mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Added fenced syntax for Markdown
This commit is contained in:
parent
b0e388747c
commit
2e31cea442
1 changed files with 9 additions and 0 deletions
|
|
@ -578,6 +578,15 @@ indenting both the identifier and code::
|
|||
:::identifier
|
||||
<code goes here>
|
||||
|
||||
Alternatively, in Markdown you can use the fenced code blocks, wrapping
|
||||
your code in ``````` which does not require indenting::
|
||||
|
||||
A block of text
|
||||
|
||||
```identifier
|
||||
<code goes here>
|
||||
```
|
||||
|
||||
The specified identifier (e.g. ``python``, ``ruby``) should be one that
|
||||
appears on the `list of available lexers <http://pygments.org/docs/lexers/>`_.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue