fix py3 support for sourcecode directive

added sourcecode to the functional test so it's tested *somewhere*.
fixes #963
This commit is contained in:
Russ Webber 2013-08-04 16:39:07 +08:00
commit 5a8f5cefdd
17 changed files with 102 additions and 1 deletions

View file

@ -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.