[gtksourceview] rst.lang: Add test file



commit 82a29c493fe6f58b695194226025f59f669288b0
Author: Tobias Schönberg <tobias47n9e gmail com>
Date:   Sun Mar 20 16:25:54 2016 +0100

    rst.lang: Add test file
    
    Currently there is no test file for reStructuredText.
    This patch adds a file with a few examples.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=739172

 tests/syntax-highlighting/file.rst |   31 +++++++++++++++++++++++++++++++
 1 files changed, 31 insertions(+), 0 deletions(-)
---
diff --git a/tests/syntax-highlighting/file.rst b/tests/syntax-highlighting/file.rst
new file mode 100644
index 0000000..a88217f
--- /dev/null
+++ b/tests/syntax-highlighting/file.rst
@@ -0,0 +1,31 @@
+Heading
+=======
+
+These are some addresses: http://www.gnome.org/ and https://www.gnome.org/ and 
git://git.gnome.org/gtksourceview and ssh://USERNAME git gnome org/git/gtksourceview and gnome-list gnome org 
is the last one.
+
+Subheading
+----------
+
+ - First ``literal`` Item
+ - Second **bold** Item
+   - Subitem `interpreted`
+ - Third *emphasis* Item
+
+This is a sentence with a `http-link <http://www.wikipedia.org/>`_, a `https-link 
<https://www.gnome.org/>`_, and a footnote [#]_.
+
+.. image:: images/example.png
+    :height: 100px
+    :width: 100 px
+
+| A line block
+> A quote block
+
+..
+
+        This is a block that will be shown.
+
+.. This is a comment and will not be shown.
+
+.. math::
+
+  \lambda = \lambda_{0} + \arctan \left[ \frac{x}{-y} \right]


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]