[gnome-builder/gnome-builder-3-18] markdown: add a sample pages



commit a2bc657b43125c293297590cac376b53e8ea5365
Author: Sebastien Lafargue <slafargue gnome org>
Date:   Thu Oct 8 12:45:55 2015 +0200

    markdown: add a sample pages

 tests/samples/gnome-logo.png            |  Bin 0 -> 895 bytes
 tests/samples/markdown test page 2.html |    7 +
 tests/samples/markdown test.md          |  253 +++++++++++++++++++++++++++++++
 3 files changed, 260 insertions(+), 0 deletions(-)
---
diff --git a/tests/samples/gnome-logo.png b/tests/samples/gnome-logo.png
new file mode 100644
index 0000000..5d5e45f
Binary files /dev/null and b/tests/samples/gnome-logo.png differ
diff --git a/tests/samples/markdown test page 2.html b/tests/samples/markdown test page 2.html
new file mode 100644
index 0000000..d9c31b8
--- /dev/null
+++ b/tests/samples/markdown test page 2.html   
@@ -0,0 +1,7 @@
+<html>
+ <head>
+ </head>
+ <body">
+   <p>Page 2</p>
+ </body>
+</html>
diff --git a/tests/samples/markdown test.md b/tests/samples/markdown test.md
new file mode 100644
index 0000000..748ab8a
--- /dev/null
+++ b/tests/samples/markdown test.md    
@@ -0,0 +1,253 @@
+### Headings:
+---
+
+# Heading H1
+Heading H1
+=========
+
+## Heading H2
+Heading H2
+-------------
+
+### Heading H3
+#### Heading H4
+##### Heading H5
+###### Heading H6
+
+Hashes at the end are ignored :
+#### New Heading ####
+
+
+### Heading with ~~forma~~*tting*
+
+### Paragraphs:
+---
+
+First paragraph first line
+First paragraph same line
+
+Second paragraph first line\n
+Second paragraph second line
+
+### Character styles:
+---
+
+Regular characters
+
+*Italic characters* _Italic characters_
+**Bold characters** __Bold characters__
+
+*nested **styles** *
+
+**nested *styles* **
+
+### Lists:
+---
+
+* Item 1
+- Item 2
+ * Item 21
+       + Item 21 sentence 1. Item 21 sentence 2.
+
+         Item 21 second paragraph.
+
+         Support other elements:
+         ###### Heading
+         a [link](http://gnome.org "gnome"),
+         ~~strickthough~~,
+         `code`,
+         ![gnome logo](gnome-logo.png)
+         > quote
+
+ * Item 22
+* Item 3
+
+1. Item 1
+2. Item 2
+  * item 21
+    - item 22
+
+      item text\t
+      on multi-lines
+
+3. Item 3
+    1. Item 31
+       1. Item 1
+       2. Item 2
+       3. Item 3
+    2. Item 31
+    3. Item 31
+
+### Quotes:
+---
+Simple quote:
+
+> quote first line
+> quote second line
+
+Multi-lines quote:
+
+> quote start\n
+> quote end
+
+Nested quote:
+
+>> nested
+>>
+>>> on multiple
+>>
+>> levels
+
+With other elements:
+
+> ## Heading
+> a [link](http://gnome.org "gnome"),
+> ~~strickthough~~,
+> `code`,
+> ![gnome logo](gnome-logo.png),
+> + item
+> + Item
+
+### Code block and inline code:
+---
+
+       a multi-line
+         identeed line
+         <div class="md">escaped html tags</div>
+       code block
+
+and
+
+       A very long code block to show a slider in the Web view - a very long code block to show a slider in 
the web view - a very long code block to show a slider in the web view
+
+Some `inlined code` , even `underscored_function_names` then ``a escaped ` backtick``
+
+## Links:
+---
+
+A [link with tittle](http://gnome.org "gnome")
+
+A [link](http://gnome.org)
+
+A [referenced link][1] or [Gnome][]
+
+A local link [link](markdown test page 2.html)
+
+An implicit link: <http://gnome.org> or <address example com>
+
+[1]: http://gnome.org "gnome"
+[gnome]: http://gnome.org "Gnome"
+
+## Notes:
+---
+
+*Note: a note*
+
+## Images:
+---
+
+Remote: ![remote gnome balloon](https://www.gnome.org/wp-content/uploads/2010/09/foundation_balloon.png)
+Local with title: ![local gnome logo with tittle](gnome-logo.png "gnome logo")
+Local no title: ![local gnome logo](gnome-logo.png)
+Referenced: ![referenced gnome logo][2]
+
+With links:
+[<img src="gnome-logo.png">](http://gnome.org) or [![Gnome](gnome-logo.png)](http://gnome.org)
+
+
+[2]: gnome-logo.png "gnome logo"
+
+## Tables:
+---
+
+|col 1|col 2|col 3|
+|-|-|-|
+|1|2|3|
+|4|5|6|
+|7|8|9|
+
+## Escaped characters:
+---
+
+\\ \` \* \_
+
+\{ \} \( \) \[ \]
+
+\. \!
+
+## GitHub flavored markdown:
+---
+
+underscore_separated_words
+
+auto url: http://gnome.org
+
+~~strikethrough characters~~
+
+work with nested too:
+
+*nested **styles** ~~strickethough~~ * and **nested styles ~~strickethough~~ **
+
+# Fence code block:
+
+```
+A code block \r\nwith escaped characters \n
+\tmore code
+```
+
+With syntax highlight (need highlighter):
+
+```c
+printf ("just a test\\n");
+/* comment */
+```
+
+# Tables:
+
+|col 1|col 2
+|-|-
+|a [link](http://gnome.org "gnome")|~~strickthough~~
+|*italic*|**bold**
+|`code`|![gnome logo](gnome-logo.png)
+
+|left|center|right|
+|:---|:----:|----:|
+|left-aligned|centered|right-aligned|
+
+# Rules:
+
+---
+- - -
+***
+* * *
+___
+_ _ _
+
+
+# Raw html:
+
+<h3>Document Title</h3>
+
+<ul>
+  <li>
+    <p>❏ todo</p>
+  </li>
+  <li>
+    <p>✓ done</p>
+  </li>
+</ul>
+
+<table>
+  <tr>
+    <td>
+      <div>First column</div>
+    </td>
+    <td>
+      Second column
+    </td>
+  </tr>
+</table>
+
+<pre lang="c">
+  <code>printf ("Hello");</code>
+</pre>


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