iWriter Pro | MultiMarkdown Syntax Guide

text

MultiMarkdown Result
This text is **bold**.

This text is bold.

This text is also __bold__.

This text is also bold.

This text is *italicized*.

This text is italicized.

This text is also _italicized_.

This text is also italicized.

And this is the ~~strikethrough~~ style.

And this is the strikethrough style.

`This is some code.`

This is some code.

	This is a longer
	section of code
	on multiple lines.
This is a longer
section of code
on multiple lines.
m^2

m2

x^2 y^3

x2 y3

x~z

xz

C~6~H~12~O~6~

C6H12O6

Escaped characters -- \&

Escaped characters – &

"double quotes"

“double quotes”

'single quotes'

‘single quotes’

apostrophe's

apostrophe’s

ellipsis ...

ellipsis …

abbreviations

MultiMarkdown Result
HTML and HTML

[>HTML]: Hypertext Markup Language

Hypertext Markup Language (HTML) and HTML

[>(HTML) Hypertext Markup Language] and HTML

Hypertext Markup Language (HTML) and HTML

blockquotes

MultiMarkdown Result
Regular text.

> Blockquote
> with two lines.
And one more line.
>> And a second level blockquote.

Regular text.

Blockquote with two lines. And one more line.

And a second level blockquote.

citations

MultiMarkdown Result
Cite a source.[p. 42][#source]

[#source]: John Doe. *A Totally Fake Book*. Vanity Press, 2006.

Cite a source.(p. 42, 1)


  1. John Doe. A Totally Fake Book. Vanity Press, 2006.  ↩

Cite a source.[p. 42][#John Doe. *A Totally Fake Book*. Vanity Press, 2006.]

Cite a source.(p. 42, 1)


  1. John Doe. A Totally Fake Book. Vanity Press, 2006.  ↩

cross references

MultiMarkdown Result
# Intro #

# Conclusion [fin] #

Link to [Intro].

Link to the [end][fin].

Intro

Conclusion

Link to Intro.

Link to the end.

definition lists

MultiMarkdown Result
Apple
:   Pomaceous fruit of plants of the genus Malus in 
    the family Rosaceae.

    Also the makers of really great products.
Apple

Pomaceous fruit of plants of the genus Malus in the family Rosaceae.

Also the makers of really great products.

fenced code blocks

MultiMarkdown Result
```
This is a fenced
code block.
```
This is a fenced
code block.
```perl
# Demonstrate Syntax Highlighting if you link to highlight.js #
# http://softwaremaniacs.org/soft/highlight/en/
print "Hello, world!\n";
$a = 0;
while ($a < 10) {
print "$a...\n";
$a++;
}
```
# Demonstrate Syntax Highlighting if you link to highlight.js #
# http://softwaremaniacs.org/soft/highlight/en/
print "Hello, world!\n";
$a = 0;
while ($a < 10) {
print "$a...\n";
$a++;
}

footnotes

MultiMarkdown Result
Text.[^foot]

[^foot]: This is a footnote.

Text.1


  1. This is a footnote.  ↩

Text.[^This is an inline footnote.]

Text.1


  1. This is an inline footnote.  ↩

glossary

MultiMarkdown Result
[?Glossary] is a glossary term.

[?Glossary]: The glossary collects information about
important terms used in your document.

Glossary is a glossary term.


  1. Glossary:

    The glossary collects information about important terms used in your document.  ↩

[?(Glossary) The glossary collects information
about important terms used in your document]
is a glossary term.

Glossary is a glossary term.


  1. Glossary:

    The glossary collects information about important terms used in your document  ↩

headings

MultiMarkdown Result
# H1 Header

H1 Header

## H2 Header ##

H2 Header

# Header with custom id [custom]

Header with custom id

H1 Header
=========

H1 Header

H2 Header
---------

H2 Header

horizontal rules

MultiMarkdown Result
---

- - - 

****

* * * * * * 

______

_ _ _ _ 

html blocks

MultiMarkdown Result

Inserting a page break:

<div style='break-after:page'></div>
Page break
<div>*bar*</div>
*bar*
<div>
*bar*
</div>
*bar*
foo
<div>
*bar*
</div>

foo

*bar*
<div>
*bar*

</div>
*bar*
<div>

*bar*

</div>

bar

<del>*bar*</del>

bar

<del>
*bar*
</del>
*bar*
foo
<del>
*bar*
</del>

foo bar

<del>
*bar*

</del>
*bar*

<del>
*bar*

</del>

bar

images

MultiMarkdown Result
Image - ![image](Website.png)

Image - image

Image with title - ![image](Website.png "This is a title")

Image with title - image

Image with attributes - ![image].

[image]: Website.png "This is a title" height=25px width=50px

Image with attributes - image.

Image by itself becomes a figure.

![This is the caption][image]

[image]: Website.png "This is the title" height=45px width=120px

Image by itself becomes a figure.

This is the caption
This is the caption

linebreaks

MultiMarkdown Result
foo
bar

foo bar

foo  
bar

foo
bar

foo\
bar

foo
bar

links

MultiMarkdown Result
Link to [Website](http://serpensoft.info)

Link to Website

Link to [Website][Link].

[Link]: http://serpensoft.info

Link to Website.

Link to [Website][].

[Website]: http://serpensoft.info

Link to Website.

Link to [Website].

[Website]: http://serpensoft.info

Link to Website.

Link to [Website].

[Website]: http://serpensoft.info style="border: solid black 1px;"

Link to Website.

Link to <http://serpensoft.info>

Link to http://serpensoft.info

<foo@example.com>

foo@example.com

lists

MultiMarkdown Result
Unordered Lists:
* one
* two
	* a
	* b
* three
  • one
  • two
    • a
    • b
  • three
Ordered Lists:
1. one
2. two
	1. a
	2. b
3. three
  1. one
  2. two
    1. a
    2. b
  3. three
Todo Lists:

 -[ ] todo item 1
 -[ ] todo item 2
 -[×] todo item 3
	
  • todo item 1
  • todo item 2
  • todo item 3

math

MultiMarkdown Result
A formula, \\({e}^{i\pi }+1=0\\), inside a paragraph.

A formula, \({e}^{i\pi }+1=0\), inside a paragraph.

A formula, ${e}^{i\pi }+1=0$, inside a paragraph.

A formula, \({e}^{i\pi }+1=0\), inside a paragraph.

\\[{e}^{i\pi }+1=0\\]

\[{e}^{i\pi }+1=0\]

$${e}^{i\pi }+1=0$$

\[{e}^{i\pi }+1=0\]

diagrams

MultiMarkdown Result

```flow
st=>start: Start:>http://www.google.com[blank]
e=>end:>http://www.google.com
op1=>operation: My Operation
sub1=>subroutine: My Subroutine
cond=>condition: Yes
or No?:>http://www.google.com
io=>inputoutput: catch something...
para=>parallel: parallel tasks

st->op1->cond
cond(yes)->io->e
cond(no)->para
para(path1, bottom)->sub1(right)->op1
para(path2, top)->op1
```

You can find the complete syntax guide here: Flowhart Usage.
Created with Raphaël 2.3.0StartMy OperationYesor No?catch something...Endparallel tasksMy Subroutineyesno

```mermaid
stateDiagram
[*] --> Still
Still --> [*]
Still --> Moving
Moving --> Still
Moving --> Crash
Crash --> [*]
```

You can find the complete syntax guide here: Mermaid Usage.
StillMovingCrash

metadata

MultiMarkdown Result
 Title:	This is a title
 Author:	John Appleseed
 HTML Header: 

 Content

Content

raw source

MultiMarkdown Result
`*foo*`{=html}

*foo*

```{=html}
*foo*
```
*foo*
```{=*}
*foo*
```
*foo*
`*foo*`{=latex}

table of contents

MultiMarkdown Result
# Table of Contents #

{{TOC}}

# Intro #

# Conclusion #

Table of Contents

Intro

Conclusion

tables

MultiMarkdown Result
| foo | bar |
| --- | --- |
| foo | bar |
| foo bar  ||
[*caption*][id]
caption
foo bar
foo bar
foo bar
| longer header | longer header| longer header |
| ---: | :---: | :--- |
| foo | bar | bat |

| foo | bar | bat |
[*caption*][id]
caption
longer header longer header longer header
foo bar bat
foo bar bat

transclusion

MultiMarkdown Result
{{filename.md}}

This is the content of the file filename.md.

{{Folder/filename.txt}}

This is the content of the file filename.txt.

variables

MultiMarkdown Result
 foo:	bar

 (Variables defined in metadata.)  [%foo]

(Variables defined in metadata.) bar

Acknowledgements

Inspired by the MultiMarkdown Syntax Guide by Fletcher T. Penney