Use the > as a line prefix for defining blockquotes. Blockquotes are
interpreted as well. This makes it possible to embed links, headings and even
other quotes into a quote:
-
> Hello
-> This is a quote with a [link](http://s01.de/~gottox)
+
> Hello
+> This is a quote with a [link](http://s01.de/~gottox)
Result:
-
-
<blockquote><p>
-Hello
-This is a quote with a <a href="http://s01.de/~gottox">link</a></p>
-</blockquote>
-
+
+ Hello
+ This is a quote with a link
+
You can define a code block with a leading Tab or with 4 leading spaces
Please note that you can't use HTML or smu syntax in a code block.
+ this.is(code)
+ this.is(code, too)
+
+
Please note that you can’t use HTML or smu syntax in a code block.
Another way to write code blocks is to use code fences:
```json
-{"some": "code"}
+{"some": "code"}
```
-
This has two advantages:
-
-
-
The optional language identifier will be turned into a language- class name
-
You can keep the original indentation which helps when doing copy & paste
-
-
Tables
+
This has two advantages:
+* The optional language identifier will be turned into a language- class name
+* You can keep the original indentation which helps when doing copy & paste
+
Tables
Tables can be generated with the following syntax:
| Heading1 | Heading2 |
| -------- | -------- |
@@ -213,41 +191,48 @@ the table body.
| :------- | :------: | -------: |
| Left | Center | Right |
-
Other interesting stuff
+
Footnotes
+
Here is an example of using Markdown footnotes1. And incase you were looking for more examples, here is another one2.
+
Other interesting stuff
to insert a horizontal rule simple add - - - into an empty line:
-
Hello
-- - -
-Hello2
-
+
Hello
+
+
Hello2
Result:
-
-
<p>
+
Hello
-<hr />
-
-
Hello2</p>
-
-
+
+
Hello2
Any ASCII punctuation character may escaped by precedeing them with a
backslash to avoid them being interpreted:
-
!"#$%&'()*+,-./:;<=>?@[]^_`{|}~\
-
-
+
!”#$%&’()*+,-./:;<=>?@[]^_`{|}~\
To force a linebreak simple add two spaces to the end of the line:
-
No linebreak
+
No linebreak
here.
-But here is
-one.
-
-
+But here is
+one.
-
embed HTML
+
embed HTML
You can include arbitrary HTML code in your documents. The HTML will be
passed through to the resulting document without modification. This is a good
-way to work around features that are missing in smu. If you don't want this
+way to work around features that are missing in smu. If you don’t want this
behaviour, use the -n flag when executing smu to stricly escape the HTML
tags.