summaryrefslogtreecommitdiff
path: root/docutils/test/functional/input/data
diff options
context:
space:
mode:
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2012-09-14 14:27:12 +0000
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2012-09-14 14:27:12 +0000
commit53495e041da4dbd3b6bf8af458961bf11a29fbe9 (patch)
tree90f55e40d7c14fae6f06f258483dc5003960f820 /docutils/test/functional/input/data
parent96ca2ede88a27a15cd618db83f4a652011887aaa (diff)
downloaddocutils-53495e041da4dbd3b6bf8af458961bf11a29fbe9.tar.gz
Change default of "syntax highlight" option to "long",
Add basic syntax highlight styles for LaTeX and HTML. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7514 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test/functional/input/data')
-rw-r--r--docutils/test/functional/input/data/standard.txt16
1 files changed, 7 insertions, 9 deletions
diff --git a/docutils/test/functional/input/data/standard.txt b/docutils/test/functional/input/data/standard.txt
index 162b70a19..ac8ce47b3 100644
--- a/docutils/test/functional/input/data/standard.txt
+++ b/docutils/test/functional/input/data/standard.txt
@@ -780,18 +780,15 @@ numbers:
print i
For inline code snippets, there is the `code` role, which can be used
-directly (the code will not be parsed/tagged, as the language is not
-known) or as base for special code roles, e.g.,
+directly (the code will not be parsed/tagged, as the language is not known)
+or as base for special code roles, e.g. the LaTeX code in the next
+paragraph.
.. role:: tex(code)
- :language: latex
+ :language: tex
-..
-
- Docutils uses LaTeX syntax for math directives and roles:
- :tex:`\alpha = f(x)` prints :math:`\alpha = f(x)`.
-
-.. _Pygments: http://pygments.org/
+Docutils uses LaTeX syntax for math directives and roles:
+:tex:`\alpha = f(x)` prints :math:`\alpha = f(x)`.
The ``:code:`` option of the `include` directive sets the included content
as a code block, here the rst file ``header_footer.txt`` with line numbers:
@@ -800,6 +797,7 @@ as a code block, here the rst file ``header_footer.txt`` with line numbers:
:code: rst
:number-lines:
+.. _Pygments: http://pygments.org/
Substitution Definitions
------------------------