2019-04-02 19:35:32 -04:00
# Features
## Introduction
2016-01-17 10:57:25 -05:00
2018-06-22 15:07:30 -04:00
< i class = "fa fa-file-text" ></ i > **CodiMD** is a real-time, multi-platform collaborative markdown note editor.
2016-09-09 16:42:12 -04:00
This means that you can write notes with other people on your **desktop** , **tablet** or even on the **phone** .
2018-01-19 10:21:48 -05:00
You can sign-in via multiple auth providers like **Facebook** , **Twitter** , **GitHub** and many more on the [_homepage_ ](/ ).
2016-01-17 10:57:25 -05:00
2019-03-27 14:31:20 -04:00
If you experience any _issues_ , feel free to report it on [**GitHub** ](https://github.com/codimd/server/issues ).
2018-10-16 20:28:03 -04:00
Or meet us on [**Matrix.org** ](https://riot.im/app/#/room/#codimd:matrix.org ) for dev-talk and interactive help.
2016-01-17 10:57:25 -05:00
**Thank you very much!**
2019-04-02 19:35:32 -04:00
## Workspace
### Modes
#### Desktop & Tablet
2016-01-17 10:57:25 -05:00
< i class = "fa fa-eye fa-fw" > < / i > View: See only the result.
2019-04-02 19:35:32 -04:00
< i class = "fa fa-columns fa-fw" > < / i > Both: See editor and result at the same time.
< i class = "fa fa-pencil fa-fw" > < / i > Edit: See only the editor.
#### Mobile
2016-01-17 10:57:25 -05:00
2019-04-02 19:35:32 -04:00
< i class = "fa fa-eye fa-fw" > < / i > View: See only the result.
< i class = "fa fa-pencil fa-fw" > < / i > Edit: See only the editor.
2016-01-17 10:57:25 -05:00
2019-04-02 19:35:32 -04:00
### Night Mode
2016-01-17 10:57:25 -05:00
2018-06-22 15:07:30 -04:00
When you are tired of a white screen and like a night mode, click on the little moon < i class = "fa fa-moon-o" > < / i > and turn on the night view of CodiMD.
2018-03-30 14:42:50 -04:00
The editor view, which is in night mode by default, can also be toggled between night and day view using the the little sun< i class = "fa fa-sun-o fa-fw" > < / i > .
2019-04-02 19:35:32 -04:00
### Image Upload
You can upload an image simply by clicking on the upload button < i class = "fa fa-upload" > < / i > .
2016-09-11 17:19:05 -04:00
Alternatively, you can **drag-n-drop** an image into the editor. Even **pasting** images is possible!
2019-04-02 19:35:32 -04:00
This will automatically upload the image to ** [imgur ](http://imgur.com )**, ** [Amazon S3 ](https://aws.amazon.com/s3/ )**, ** [Minio ](https://minio.io )** or the **local filesystem** (depending on the instance's configuration), nothing to worry about. :tada:
2018-03-30 14:42:50 -04:00
![imgur ](https://i.imgur.com/9cgQVqD.png )
2016-01-17 10:57:25 -05:00
2019-04-02 19:35:32 -04:00
### Share Notes
2016-09-11 17:19:05 -04:00
If you want to share an **editable** note, just copy the URL.
2019-04-02 19:35:32 -04:00
If you want to share a **read-only** note, simply press the publish button < i class = "fa fa-share-square-o" ></ i > and copy the URL.
2016-01-17 10:57:25 -05:00
2019-04-02 19:35:32 -04:00
### Save a Note
2016-01-17 10:57:25 -05:00
2019-04-02 19:35:32 -04:00
Currently, you can save to **Dropbox** < i class = "fa fa-dropbox" ></ i > (depending on the instance's configuration) or save a Markdown < i class = "fa fa-file-text" ></ i > , HTML or raw HTML < i class = "fa fa-file-code-o" ></ i > file locally.
2016-01-17 10:57:25 -05:00
2019-04-02 19:35:32 -04:00
### Import Notes
Similarly to the _save_ feature, you can also import a Markdown file from **Dropbox** < i class = "fa fa-dropbox" ></ i > (depending on the instance's configuration), or import content from your **clipboard** < i class = "fa fa-clipboard" ></ i > , which can parse some HTML. :smiley:
### Permissions
It is possible to change the access permission of a note through the little button on the top right of the view.
2016-09-11 17:19:05 -04:00
There are four possible options:
2016-01-17 10:57:25 -05:00
2017-10-09 18:25:35 -04:00
| |Owner read/write|Signed-in read|Signed-in write|Guest read|Guest write|
|:-----------------------------|:--------------:|:------------:|:-------------:|:--------:|:---------:|
2019-04-02 19:35:32 -04:00
|< span class = "text-nowrap" >< i class = "fa fa-leaf fa-fw" ></ i > **Freely** </ span > |✔|✔|✔|✔|✔|
|< span class = "text-nowrap" >< i class = "fa fa-pencil fa-fw" ></ i > **Editable** </ span > |✔|✔|✔|✔|✖|
|< span class = "text-nowrap" >< i class = "fa fa-id-card fa-fw" ></ i > **Limited** </ span > |✔|✔|✔|✖|✖|
|< span class = "text-nowrap" >< i class = "fa fa-lock fa-fw" ></ i > **Locked** </ span > |✔|✔|✖|✔|✖|
|< span class = "text-nowrap" >< i class = "fa fa-umbrella fa-fw" ></ i > **Protected** </ span > |✔|✔|✖|✖|✖|
|< span class = "text-nowrap" >< i class = "fa fa-hand-stop-o fa-fw" ></ i > **Private** </ span > |✔|✖|✖|✖|✖|
2016-01-17 10:57:25 -05:00
2016-09-09 17:44:20 -04:00
**Only the owner of the note can change the note's permissions.**
2016-01-17 10:57:25 -05:00
2019-04-02 19:35:32 -04:00
### Embed a Note
2016-09-11 17:19:05 -04:00
Notes can be embedded as follows:
2016-01-17 10:57:25 -05:00
```xml
2019-03-31 14:10:32 -04:00
< iframe width = "100%" height = "500" src = "https://demo.codimd.io/features" frameborder = "0" > < / iframe >
2015-05-04 03:53:29 -04:00
```
2019-04-02 19:35:32 -04:00
### [Slide Mode](./slide-example)
2016-09-09 17:44:20 -04:00
You can use a special syntax to organize your note into slides.
2018-11-10 16:16:46 -05:00
After that, you can use the ** [Slide Mode ](./slide-example )** < i class = "fa fa-tv" ></ i > to make a presentation.
2016-09-09 17:44:20 -04:00
Visit the above link for details.
2016-04-20 06:03:55 -04:00
2018-11-10 16:16:46 -05:00
To switch the editor into slide mode, set the [document type ](./yaml-metadata#type ) to `slide` .
2019-04-02 19:35:32 -04:00
## View
### Autogenerated Table of Contents
2016-09-11 17:19:05 -04:00
You can look at the bottom right section of the view area, there is a _ToC_ button < i class = "fa fa-bars" ></ i > .
2016-09-09 17:44:20 -04:00
Pressing that button will show you a current _Table of Contents_ , and will highlight which section you're at.
ToCs support up to **three header levels** .
2016-01-17 10:57:25 -05:00
2019-04-02 19:35:32 -04:00
### Permalink
2016-01-17 10:57:25 -05:00
Every header will automatically add a permalink on the right side.
You can hover and click < i class = "fa fa-chain" > < / i > to anchor on it.
2019-04-02 19:35:32 -04:00
## Edit
2018-10-28 05:01:37 -04:00
2019-04-02 19:35:32 -04:00
### Editor Modes
2018-10-28 05:01:37 -04:00
2019-04-02 19:35:32 -04:00
You can look in the bottom right section of the editor area, there you'll find a button with `SUBLIME` on it.
When you click it, you can select 3 editor modes, which will also define your shortcut keys:
2018-10-28 05:01:37 -04:00
2019-04-02 19:35:32 -04:00
- [Sublime ](https://codemirror.net/demo/sublime.html ) (default)
- [Emacs ](https://codemirror.net/demo/emacs.html )
- [Vim ](https://codemirror.net/demo/vim.html )
2018-10-28 05:01:37 -04:00
2019-04-02 19:35:32 -04:00
### Auto-Complete
2016-01-17 10:57:25 -05:00
2016-09-11 17:19:05 -04:00
This editor provides full auto-complete hints in markdown.
2019-04-02 19:35:32 -04:00
2016-09-09 17:44:20 -04:00
- Emojis: type `:` to show hints.
2019-04-02 19:35:32 -04:00
- Code blocks: type ` ` `` `, followed by another character to show syntax highlighting suggestions.
2016-01-17 10:57:25 -05:00
- Headers: type `#` to show hint.
- Referrals: type `[]` to show hint.
- Externals: type `{}` to show hint.
- Images: type `!` to show hint.
2019-04-02 19:35:32 -04:00
### Title
The first **level 1 heading** (e.g. `# Title` ) will be used as the note title.
### Tags
2016-01-17 10:57:25 -05:00
2016-09-11 17:19:05 -04:00
Using tags as follows, the specified tags will show in your **history** .
2019-04-02 19:35:32 -04:00
2016-01-17 10:57:25 -05:00
###### tags: `features` `cool` `updated`
2019-04-02 19:35:32 -04:00
### [YAML Metadata](./yaml-metadata)
2016-09-11 17:19:05 -04:00
You can provide advanced note information to set the browser behavior (visit above link for details):
2019-04-02 19:35:32 -04:00
2016-04-20 06:03:55 -04:00
- robots: set web robots meta
2016-09-09 17:44:20 -04:00
- lang: set browser language
2016-01-17 10:57:25 -05:00
- dir: set text direction
2016-09-11 17:19:05 -04:00
- breaks: set to use line breaks
2016-08-14 23:28:05 -04:00
- GA: set to use Google Analytics
- disqus: set to use Disqus
2016-09-09 17:44:20 -04:00
- slideOptions: setup slide mode options
2016-08-14 23:28:05 -04:00
2019-04-02 19:35:32 -04:00
### Table of Contents
Use the syntax `[TOC]` to embed a table of contents into your note.
2016-08-14 23:28:05 -04:00
[TOC]
2016-01-17 10:57:25 -05:00
2019-04-02 19:35:32 -04:00
### Emoji
2016-01-17 10:57:25 -05:00
You can type any emoji like this :smile: :smiley: :cry: :wink:
2019-04-02 19:35:32 -04:00
2016-09-09 17:44:20 -04:00
> See full emoji list [here](http://www.emoji-cheat-sheet.com/).
2016-01-17 10:57:25 -05:00
2019-04-02 19:35:32 -04:00
### ToDo List
2016-09-09 17:44:20 -04:00
- [ ] ToDos
2016-09-11 17:19:05 -04:00
- [x] Buy some salad
- [ ] Brush teeth
- [x] Drink some water
2019-04-02 19:35:32 -04:00
- [ ] **Click my box** and see the source code, if you're allowed to edit!
### Code Block
2016-01-17 10:57:25 -05:00
2016-09-11 17:19:05 -04:00
We support many programming languages, use the auto complete function to see the entire list.
2019-04-02 19:35:32 -04:00
2016-01-17 10:57:25 -05:00
```javascript=
2015-05-04 03:53:29 -04:00
var s = "JavaScript syntax highlighting";
alert(s);
function $initHighlight(block, cls) {
try {
if (cls.search(/\bno\-highlight\b/) != -1)
2018-01-19 10:21:48 -05:00
return process(block, true, 0x0F) +
2015-05-04 03:53:29 -04:00
' class=""';
} catch (e) {
/* handle exception */
}
for (var i = 0 / 2; i < classes.length ; i + + ) {
if (checkCondition(classes[i]) === undefined)
return /\d+[\s/]/g;
}
}
```
2019-04-02 19:35:32 -04:00
If you want **line numbers** , type `=` after specifying the code block languagues.
Also, you can specify the start line number.
Like below, the line number starts from 101:
2016-01-17 10:57:25 -05:00
```javascript=101
2015-05-04 03:53:29 -04:00
var s = "JavaScript syntax highlighting";
alert(s);
function $initHighlight(block, cls) {
try {
if (cls.search(/\bno\-highlight\b/) != -1)
2018-01-19 10:21:48 -05:00
return process(block, true, 0x0F) +
2015-05-04 03:53:29 -04:00
' class=""';
} catch (e) {
/* handle exception */
}
for (var i = 0 / 2; i < classes.length ; i + + ) {
if (checkCondition(classes[i]) === undefined)
return /\d+[\s/]/g;
}
}
```
2019-04-02 19:35:32 -04:00
Or you might want to continue the previous code block's line number, use `=+` :
2015-05-04 03:53:29 -04:00
2016-01-17 10:57:25 -05:00
```javascript=+
var s = "JavaScript syntax highlighting";
alert(s);
```
2015-05-04 03:53:29 -04:00
2019-04-02 19:35:32 -04:00
Somtimes you have a super long text without breaks. It's time to use `!` to wrap your code:
2016-10-14 05:35:35 -04:00
```!
When you’ re a carpenter making a beautiful chest of drawers, you’ re not going to use a piece of plywood on the back.
```
2019-04-02 19:35:32 -04:00
### Blockquote Tags
2016-09-11 17:19:05 -04:00
> Using the syntax below to specifiy your **name, time and color** to vary the blockquotes.
2016-01-17 10:57:25 -05:00
> [name=ChengHan Wu] [time=Sun, Jun 28, 2015 9:59 PM] [color=#907bf7]
2019-04-02 19:35:32 -04:00
> > Even support nested blockquotes!
> > [name=Max Mustermann] [time=Sun, Jun 28, 2015 9:47 PM] [color=red]
### Externals
2015-05-04 03:53:29 -04:00
2019-04-02 19:35:32 -04:00
#### YouTube
2015-05-04 03:53:29 -04:00
2018-10-02 06:54:57 -04:00
{%youtube aqz-KE-bpKQ %}
2015-05-04 03:53:29 -04:00
2019-04-02 19:35:32 -04:00
#### Vimeo
2016-01-17 10:57:25 -05:00
{%vimeo 124148255 %}
2015-05-04 03:53:29 -04:00
2019-04-02 19:35:32 -04:00
#### Gist
2016-01-17 10:57:25 -05:00
{%gist schacon/4277%}
2015-05-04 03:53:29 -04:00
2019-04-02 19:35:32 -04:00
#### SlideShare
2016-01-17 10:57:25 -05:00
{%slideshare briansolis/26-disruptive-technology-trends-2016-2018-56796196 %}
2015-05-04 03:53:29 -04:00
2019-04-02 19:35:32 -04:00
#### PDF
2016-09-11 17:19:05 -04:00
**Caution: this might be blocked by your browser if not using an `https` URL.**
2016-06-21 09:44:06 -04:00
{%pdf https://papers.nips.cc/paper/5346-sequence-to-sequence-learning-with-neural-networks.pdf %}
2019-04-02 19:35:32 -04:00
### MathJax
2015-05-04 03:53:29 -04:00
2016-01-17 10:57:25 -05:00
You can render *LaTeX* mathematical expressions using **MathJax** , as on [math.stackexchange.com ](http://math.stackexchange.com/ ):
2015-05-04 03:53:29 -04:00
2016-01-17 10:57:25 -05:00
The *Gamma function* satisfying $\Gamma(n) = (n-1)!\quad\forall n\in\mathbb N$ is via the Euler integral
2015-05-04 03:53:29 -04:00
2016-01-17 10:57:25 -05:00
$$
x = {-b \pm \sqrt{b^2-4ac} \over 2a}.
$$
2015-05-04 03:53:29 -04:00
2016-01-17 10:57:25 -05:00
$$
\Gamma(z) = \int_0^\infty t^{z-1}e^{-t}dt\,.
$$
> More information about **LaTeX** mathematical expressions [here](http://meta.math.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference).
2019-04-02 19:35:32 -04:00
### Diagrams
2016-01-17 10:57:25 -05:00
2019-04-02 19:35:32 -04:00
#### UML Sequence Diagrams
2016-01-17 10:57:25 -05:00
You can render sequence diagrams like this:
2015-05-04 03:53:29 -04:00
2016-01-17 10:57:25 -05:00
```sequence
Alice->Bob: Hello Bob, how are you?
Note right of Bob: Bob thinks
Bob-->Alice: I am good thanks!
Note left of Alice: Alice responds
Alice->Bob: Where have you been?
```
2019-04-02 19:35:32 -04:00
More information about **sequence diagrams** syntax [here ](http://bramp.github.io/js-sequence-diagrams/ ).
#### Flow Charts
2016-01-17 10:57:25 -05:00
2016-09-11 17:19:05 -04:00
Flow charts can be specified like this:
2019-04-02 19:35:32 -04:00
2016-01-17 10:57:25 -05:00
```flow
st=>start: Start
e=>end: End
op=>operation: My Operation
op2=>operation: lalala
cond=>condition: Yes or No?
2015-05-04 03:53:29 -04:00
2016-01-17 10:57:25 -05:00
st->op->op2->cond
cond(yes)->e
cond(no)->op2
```
2015-05-04 03:53:29 -04:00
2019-04-02 19:35:32 -04:00
More information about **flow charts** syntax [here ](http://adrai.github.io/flowchart.js/ ).
#### Graphviz
2016-01-17 10:57:25 -05:00
```graphviz
digraph hierarchy {
2019-04-02 19:35:32 -04:00
nodesep=1.0 // Increases the separation between nodes
2015-05-04 03:53:29 -04:00
2019-04-02 19:35:32 -04:00
node [color=Red,fontname=Courier,shape=box] // All nodes will this shape and colour
edge [color=Blue, style=dashed] // All the lines look like this
2015-05-04 03:53:29 -04:00
2019-04-02 19:35:32 -04:00
Headteacher->{Deputy1 Deputy2 BusinessManager}
Deputy1->{Teacher1 Teacher2}
BusinessManager->ITManager
{rank=same;ITManager Teacher1 Teacher2} // Put them on the same level
2016-01-17 10:57:25 -05:00
}
```
2015-05-04 03:53:29 -04:00
2019-04-02 19:35:32 -04:00
More information about **graphviz** syntax [here ](http://www.tonyballantyne.com/graphs.html )
#### Mermaid
2016-04-20 06:03:55 -04:00
```mermaid
gantt
2019-04-02 19:35:32 -04:00
title A Gantt Diagram
section Section
A task: a1, 2014-01-01, 30d
Another task: after a1, 20d
section Another
Task in sec: 2014-01-12, 12d
Another task: 24d
2016-04-20 06:03:55 -04:00
```
2019-04-02 19:35:32 -04:00
More information about **mermaid** syntax [here ](http://knsv.github.io/mermaid )
#### Abc Music Notation
2017-03-26 08:39:07 -04:00
```abc
X:1
T:Speed the Plough
M:4/4
C:Trad.
K:G
|:GABc dedB|dedB dedB|c2ec B2dB|c2A2 A2BA|
GABc dedB|dedB dedB|c2ec B2dB|A2F2 G4:|
|:g2gf gdBd|g2f2 e2d2|c2ec B2dB|c2A2 A2df|
g2gf g2Bd|g2f2 e2d2|c2ec B2dB|A2F2 G4:|
```
2019-04-02 19:35:32 -04:00
More information about **abc** syntax [here ](http://abcnotation.com/learn )
### Alert Area
2016-04-20 06:03:55 -04:00
:::success
Yes :tada:
:::
:::info
This is a message :mega:
:::
:::warning
Watch out :zap:
:::
:::danger
2016-09-11 17:19:05 -04:00
Oh No! :fire:
2016-04-20 06:03:55 -04:00
:::
2016-01-17 10:57:25 -05:00
2019-04-02 19:35:32 -04:00
### Typography
2016-01-17 10:57:25 -05:00
2019-04-02 19:35:32 -04:00
#### Headers
2016-01-17 10:57:25 -05:00
2019-04-02 19:35:32 -04:00
``` markdown
2015-05-04 03:53:29 -04:00
# h1 Heading
## h2 Heading
### h3 Heading
#### h4 Heading
##### h5 Heading
###### h6 Heading
2016-01-17 10:57:25 -05:00
```
2015-05-04 03:53:29 -04:00
2019-04-02 19:35:32 -04:00
#### Horizontal Rules
2015-05-04 03:53:29 -04:00
___
---
***
2019-04-02 19:35:32 -04:00
#### Typographic Replacements
2015-05-04 03:53:29 -04:00
Enable typographer option to see result.
(c) (C) (r) (R) (tm) (TM) (p) (P) +-
test.. test... test..... test?..... test!....
!!!!!! ???? ,,
Remarkable -- awesome
"Smartypants, double quotes"
'Smartypants, single quotes'
2019-04-02 19:35:32 -04:00
#### Emphasis
2015-05-04 03:53:29 -04:00
**This is bold text**
__This is bold text__
*This is italic text*
_This is italic text_
~~Deleted text~~
2016-01-17 10:57:25 -05:00
lu~lala~
2015-05-04 03:53:29 -04:00
Superscript: 19^th^
Subscript: H~2~O
++Inserted text++
==Marked text==
2019-04-02 19:35:32 -04:00
#### Blockquotes
2015-05-04 03:53:29 -04:00
> Blockquotes can also be nested...
>> ...by using additional greater-than signs right next to each other...
2018-01-19 10:21:48 -05:00
> > > ...or with spaces between arrows.
2015-05-04 03:53:29 -04:00
2019-04-02 19:35:32 -04:00
#### Lists
2015-05-04 03:53:29 -04:00
2019-04-02 19:35:32 -04:00
##### Unordered
2015-05-04 03:53:29 -04:00
+ Create a list by starting a line with `+` , `-` , or `*`
+ Sub-lists are made by indenting 2 spaces:
- Marker character change forces new list start:
* Ac tristique libero volutpat at
+ Facilisis in pretium nisl aliquet
- Nulla volutpat aliquam velit
+ Very easy!
2019-04-02 19:35:32 -04:00
##### Ordered
2015-05-04 03:53:29 -04:00
1. Lorem ipsum dolor sit amet
2. Consectetur adipiscing elit
2019-04-02 19:35:32 -04:00
3. Aenean commodo ligula eget dolor
2015-05-04 03:53:29 -04:00
2019-04-02 19:35:32 -04:00
1. **You can use sequential numbers...**
1. ** ...or keep all the numbers as `1.` **
1. Aenean massa
2. Cum sociis natoque penatibus
3. Magnis dis parturient montes
4. Nascetur ridiculus mus
1. Donec quam felis
2015-05-04 03:53:29 -04:00
Start numbering with offset:
57. foo
1. bar
2019-04-02 19:35:32 -04:00
#### Code
2015-05-04 03:53:29 -04:00
Inline `code`
Indented code
// Some comments
line 1 of code
line 2 of code
line 3 of code
Block code "fences"
```
Sample text here...
```
Syntax highlighting
``` js
var foo = function (bar) {
return bar++;
};
console.log(foo(5));
```
2019-04-02 19:35:32 -04:00
#### Tables
2015-05-04 03:53:29 -04:00
| Option | Description |
| ------ | ----------- |
| data | path to data files to supply the data that will be passed into templates. |
| engine | engine to be used for processing templates. Handlebars is the default. |
| ext | extension to be used for dest files. |
Right aligned columns
| Option | Description |
| ------:| -----------:|
| data | path to data files to supply the data that will be passed into templates. |
| engine | engine to be used for processing templates. Handlebars is the default. |
| ext | extension to be used for dest files. |
2016-01-17 10:57:25 -05:00
Left aligned columns
2015-05-04 03:53:29 -04:00
2016-01-17 10:57:25 -05:00
| Option | Description |
|:------ |:----------- |
| data | path to data files to supply the data that will be passed into templates. |
| engine | engine to be used for processing templates. Handlebars is the default. |
| ext | extension to be used for dest files. |
2015-05-04 03:53:29 -04:00
2016-01-17 10:57:25 -05:00
Center aligned columns
2015-05-04 03:53:29 -04:00
2016-01-17 10:57:25 -05:00
| Option | Description |
|:------:|:-----------:|
| data | path to data files to supply the data that will be passed into templates. |
| engine | engine to be used for processing templates. Handlebars is the default. |
| ext | extension to be used for dest files. |
2015-05-04 03:53:29 -04:00
2019-04-02 19:35:32 -04:00
#### Links
2015-05-04 03:53:29 -04:00
2019-04-02 19:35:32 -04:00
[link text ](https://demo.codimd.org )
[link with title ](https://nodeca.github.io/pica/demo/ "title text!" )
2016-01-17 10:57:25 -05:00
Autoconverted link https://github.com/nodeca/pica
2015-05-04 03:53:29 -04:00
2019-04-02 19:35:32 -04:00
#### Images
2015-05-04 03:53:29 -04:00
![Minion ](https://octodex.github.com/images/minion.png )
2019-04-02 19:35:32 -04:00
With a title:
2015-05-04 03:53:29 -04:00
![Stormtroopocat ](https://octodex.github.com/images/stormtroopocat.jpg "The Stormtroopocat" )
2019-04-02 19:35:32 -04:00
Like links, images also have a footnote style syntax with a reference later in the document defining the URL location:
![Dojocat][dojoref]
[dojoref]: https://octodex.github.com/images/dojocat.jpg "The Dojocat"
2015-05-04 03:53:29 -04:00
2019-04-02 19:35:32 -04:00
Show the image with given size:
2016-05-27 01:39:54 -04:00
![Minion ](https://octodex.github.com/images/minion.png =200x200 )
2015-05-04 03:53:29 -04:00
2019-04-02 19:35:32 -04:00
#### Footnotes
2015-05-04 03:53:29 -04:00
Footnote 1 link[^first].
Footnote 2 link[^second].
Inline footnote^[Text of inline footnote] definition.
Duplicated footnote reference[^second].
[^first]: Footnote **can have markup**
and multiple paragraphs.
[^second]: Footnote text.
2019-04-02 19:35:32 -04:00
#### Definition Lists
2015-05-04 03:53:29 -04:00
Term 1
: Definition 1
with lazy continuation.
Term 2 with *inline markup*
: Definition 2
{ some code, part of Definition 2 }
Third paragraph of definition 2.
_Compact style:_
Term 1
~ Definition 1
Term 2
~ Definition 2a
~ Definition 2b
2019-04-02 19:35:32 -04:00
#### Abbreviations
2015-05-04 03:53:29 -04:00
2016-09-11 17:19:05 -04:00
This is an HTML abbreviation example.
It converts "HTML", but keeps intact partial entries like "xxxHTMLyyy" and so on.
2015-05-04 03:53:29 -04:00
2016-09-09 16:08:17 -04:00
*[HTML]: Hyper Text Markup Language