nex renderer
This commit is contained in:
parent
e708dce8f7
commit
67a727ba24
2 changed files with 232 additions and 0 deletions
117
examples/markdown.nex
Normal file
117
examples/markdown.nex
Normal file
|
|
@ -0,0 +1,117 @@
|
|||
|
||||
|
||||
h1 Heading 8-)
|
||||
==============
|
||||
|
||||
|
||||
h2 Heading
|
||||
----------
|
||||
|
||||
|
||||
h3 Heading
|
||||
----------
|
||||
|
||||
|
||||
h4 Heading
|
||||
----------
|
||||
|
||||
|
||||
h5 Heading
|
||||
----------
|
||||
|
||||
|
||||
h6 Heading
|
||||
----------
|
||||
|
||||
|
||||
Horizontal Rules
|
||||
----------------
|
||||
|
||||
----------------------------------------------------------------------------
|
||||
----------------------------------------------------------------------------
|
||||
----------------------------------------------------------------------------
|
||||
|
||||
|
||||
Emphasis
|
||||
--------
|
||||
|
||||
This is bold text This is bold text This is italic text This is italic text
|
||||
Strikethrough
|
||||
|
||||
|
||||
Blockquotes
|
||||
-----------
|
||||
|
||||
| Blockquotes can also be nested...
|
||||
| | by using additional greater-than signs right next to each other...
|
||||
| | | or with spaces between arrows.
|
||||
|
||||
|
||||
Lists
|
||||
-----
|
||||
|
||||
|
||||
Unordered
|
||||
---------
|
||||
|
||||
+ Create a list by starting a line with +, -, or *
|
||||
- Marker character change forces new list start:
|
||||
* Ac tristique libero volutpat at
|
||||
+ Facilisis in pretium nisl aliquet
|
||||
- Nulla volutpat aliquam velit
|
||||
+ Very easy
|
||||
|
||||
|
||||
Ordered
|
||||
-------
|
||||
|
||||
1. Lorem ipsum dolor sit amet
|
||||
2. Consectetur adipiscing elit
|
||||
3. Integer molestie lorem at massa
|
||||
|
||||
|
||||
Code
|
||||
----
|
||||
|
||||
Inline code
|
||||
|
||||
|
||||
Indented code
|
||||
|
||||
|
||||
01 | // Some comments
|
||||
02 | line 1 of code
|
||||
03 | line 2 of code
|
||||
04 | line 3 of code
|
||||
|
||||
Block code "fences"
|
||||
|
||||
|
||||
01 | Sample text here...
|
||||
|
||||
Syntax highlighting
|
||||
|
||||
|
||||
01 | var foo = function (bar) {
|
||||
02 | return bar++;
|
||||
03 | };
|
||||
04 |
|
||||
05 | console.log(foo(5));
|
||||
|
||||
|
||||
Links
|
||||
-----
|
||||
|
||||
link text (http://dev.nodeca.com)
|
||||
|
||||
|
||||
link with title (http://nodeca.github.io/pica/demo/ "title text!")
|
||||
|
||||
|
||||
Images
|
||||
------
|
||||
|
||||
Minion (https://octodex.github.com/images/minion.png) Stormtroopocat
|
||||
(https://octodex.github.com/images/stormtroopocat.jpg "The Stormtroopocat")
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue