mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
fix py3 support for sourcecode directive
added sourcecode to the functional test so it's tested *somewhere*. fixes #963
This commit is contained in:
parent
ea6d0cf5b5
commit
5a8f5cefdd
17 changed files with 102 additions and 1 deletions
|
|
@ -7,3 +7,14 @@ Or completely awesome. Depends the needs.
|
|||
|
||||
`a root-relative link to markdown-article <|filename|/cat1/markdown-article.md>`_
|
||||
`a file-relative link to markdown-article <|filename|cat1/markdown-article.md>`_
|
||||
|
||||
Testing sourcecode directive
|
||||
----------------------------
|
||||
|
||||
.. sourcecode:: python
|
||||
:linenos:
|
||||
|
||||
formatter = self.options and VARIANTS[self.options.keys()[0]]
|
||||
|
||||
|
||||
Lovely.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue