Comment #26 on issue 1495 by pekka.klarck: Add plain text syntax support into ReST parser
http://code.google.com/p/robotframework/issues/detail?id=1495

What do you mean with `parameters`? According to reST docs [1], `code` directive has the language as an optional argument and additionally some options are supported. According to Sphinx docs [2], `code-block` and its alias `sourcecode` also has language as the argument and some additional options supported.

Isn't the new reST parser only interested in arguments? If yes, then the current `if 'robotframework' in self.arguments` check ought to work with all of these directives.

What's rather strange here is that although reST docs only mention `code`, also `code-block` and `sourcecode` seem to work too. Or at least I got Robot data highlighted with rst2html.py using all of these:

.. code:: robotframework
.. code-block:: robotframework
.. sourcecode:: robotframework

[1] http://docutils.sourceforge.net/docs/ref/rst/directives.html#code
[2] http://sphinx-doc.org/markup/code.html

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--

--- You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to