clarkgrubb / hyperpolyglot

hyperpolyglot.org
Other
473 stars 94 forks source link

Missing restructured text examples #45

Closed ondratu closed 8 years ago

ondratu commented 8 years ago

Hi, there are some missing examples for reStructuredText

Link onsite:

Internal crossreferences, like foo_.

.. _foo:

This is an example foo target.

define anchor

.. _foo:

text

span w/ class & div w/ class

.. role:: foo

An example of using :foo:`interpreted text`

multiple column cell

+-------+
| title |
+===+===+
| 1 | 2 |
+---+---+

highlighted code

.. code-block:: c

    int add(int a, int b) {
      return (a+b);
    }

languages which can be highlighted

pygmentize -L lexers