Extended Commonmark
Markdown-it Extension
Newline as hardbreak
Linkify
Direct Link is not common mark
https://example.com/ fake@example.com
2.12. Abbreviations
Support: PHP Markdown Extra 1.9.0, Markdown-it
Markdown Syntax: The "HTML" specification is maintained by the "W3C". *[HTML]: Hyper Text Markup Language *[W3C]: World Wide Web Consortium
HTML Syntax: The <abbr title="Hyper Text Markup Language">HTML</abbr> specification is maintained by the <abbr title="World Wide Web Consortium">W3C</abbr>.
Markdown Display:
The "HTML" specification is maintained by the "W3C". [HTML]: Hyper Text Markup Language [W3C]: World Wide Web Consortium
HTML Display:
The HTML specification is maintained by the W3C.
2.3. Tables
Support: kramdown
Notes:
we can set alignment in table with a colon (
:
)we can add formatting text, links, code and HTML character code, but not: heading, headings, blockquotes, lists, horizontal rules, images, HTML tags, or fenced code
Support: PHP Markdown Extra, GFM, Maruku, MultiMarkdown, kramdown, Parsedown markdown-it (plugin), showdown, marked
Syntaxes
HTML:
Showcases
HTML
2.4. Footnote
2.4.1. Outline Footnote
Support: PHP Markdown Extra, Maruku , MultiMarkdown, Markdown-it
Markdown Syntax:
HTML Syntax:
Markdown Display:
Here's a simple footnote and here's a longer one, and
For example like this : code
or code in paragrahps code and codes
HTML Display:
Here’s a simple footnote1 and here’s a longer one2, and 3
This is the first footnote. ↩
Here’s one with multiple paragraphs. For example like this ↩
code
or code in paragrahpscode and codes
↩
### 2.4.2. Inline Footnote #1 Support: MultiMarkdown, Markdown Syntax: ```md Another example of footnote 1 link[^first] and footnote 2 link[^second]. ``` HTML Syntax: ```html
Another example of footnote 1 link1 and footnote 2 link2.
``` Markdown Display: Another example of footnote 1 link[^first] and footnote 2 link[^second]. HTML Display:
Another example of footnote 1 link1 and footnote 2 link2.
2.4.2. Inline Footnote #2
Support: Markdown-it
Markdown Syntax:
HTML Syntax:
Markdown Display:
Or to add inline footnote^[Text of inline footnote] definition.
HTML Display:
Or to add inline footnote[1] definition.
Text of inline footnote ↩︎
### 2.4.4. Duplicate Reference Support: PHP Markdown Extra, kramdown , MultiMarkdown, Markdown-it Markdown Syntax: ```md This is a duplicated footnote[^b]. This duplicated footnote reference[^b]. [^b]: Another footnote text. ``` HTML Syntax Kramdown Style: ```html
This is a duplicated footnote1. This duplicated footnote reference1.
``` HTML Syntax Markdown-it: ```
This is a duplicated footnote[1]. This duplicated footnote reference[1:1].
``` Markdown Display: This is a duplicated footnote[^b]. This duplicated footnote reference[^b]. [^b]: Another footnote text. HTML Display Style Kramdown:
This is a duplicated footnote1. This duplicated footnote reference1.
HTML Display Style Markdown-it:
This is a duplicated footnote[1]. This duplicated footnote reference[1:1].
--- ## 2.4. Strikethrough, Highlighting, Underline ### 2.4.1 Strikethrough Support: marked, RDiscount, Fatdown, Parsedown, GFM, showdown, markdown-it Markdown Syntax ``` ~~strikethrough~~ ``` HTML Syntax: ```html
strikethrough
strikethrough ``` Markdown Display: ~~strikethrough~~ HTML Display: strikethrough
strikethrough
2.4.2 Mark (Highlighting)
Support: markdown-it Markdown Syntax:
HTML Syntax:
Markdown Display:
==marked text==
HTML Display:
marked text
2.4.3 Underline
Support: - (no markdown)
Markdown Syntax
HTML Syntax
Markdown Display:
++underline++
HTML Display:
underline underline
2.5. Task Lists
Support: marked, showdown, markdown-it
Markdown Syntax:
HTML Display Style 1:
HTML Display Style 1:
Markdown Display:
HTML Display Style 1
Write the press release
Update the website
Contact the media
HTML Display Style 2
Write the press release
Update the website
Contact the media
2.6. Definition Lists
Support: karmdown, banyak
Markdown Syntax:
HTML Syntax:
Markdown Display:
First Term : This is the definition of the first term.
Second Term : This is one definition of the second term. : This is another definition of the second term.
HTML Display:
First TermThis is the definition of the first term.Second TermThis is one definition of the second term.This is another definition of the second term.
2.7. Emojies
2.7.1 Copy Paste of Emoji
Markdown Syntax
HTML Syntax
Markdown Display
Gone camping! ⛺ Be back soon. That is so funny! 😂
HTML Display
Gone camping! ⛺ Be back soon. That is so funny! 😂
2.7.2 Markdown of Emoji
Support: markdown-it
Markdown Syntax:
HTML Syntax:
Markdown Display
Gone camping! :tent: Be back soon. That is so funny! :joy:
Classic markup: :wink: :crush: :cry: :tear: :laughing: :yum:
Shortcuts (emoticons): :-) :-( 8-) ;)
HTML Display
Gone camping! ⛺️ Be back soon. That is so funny! 😂
Classic markup: 😉 :crush: 😢 :tear: 😆 😋
Shortcuts (emoticons): 😃 😦 😎 😉
--- ## 2.9. Typographic replacements Support: markdown-it, Fatdown Markdown Syntax ```md (c) (C) (r) (R) (tm) (TM) (p) (P) +- test.. test... test..... test?..... test!.... !!!!!! ???? ,, -- --- "Smartypants, double quotes" and 'single quotes' ``` HTML Syntax: ```html
© © ® ® ™ ™ § § ±
test… test… test… test?.. test!..
!!! ??? , – —
“Double quotes” and ‘single quotes’ ``` Markdown Display (c) (C) (r) (R) (tm) (TM) (p) (P) +- test.. test... test..... test?..... test!.... !!!!!! ???? ,, -- --- "Smartypants, double quotes" and 'single quotes' HTML Display
© © ® ® ™ ™ § § ±
test… test… test… test?.. test!..
!!! ??? , – —
“Double quotes” and ‘single quotes’
2.10. Superscript and Subscript
2.10.1 Superscript
Support; MultiMarkdown, Fatdown, Markdown-it
Markdown x^2^
HTML:
x2
Example Subscript Markdwon H~2~O
In HTML:
H2O
2.14. Math (Latex)
Support: Maruku (math)
Inline Einstein Equations $E=mc^2$ and Gamma Function $\Gamma(n) = (n-1)!\quad\forall n\in\mathbb N$
Outline equations
2.15 Linkify
Support: Markdown-t, marked,Parsedown , GFM, Fatdown, showdown
**Markdown;
fake@example.com
HTML:
Image with specific size
Support: Markdown-it, Maruku MultiMarkdown
![Wikipedia](https://upload.wikimedia.org/wikipedia/commons/thumb/d/de/Wikipedia_Logo_1.0.png/240px-Wikipedia_Logo_1.0.png "Wikipedia logo with specific size" =60x60)
2.2. Code Fencing and Highlighting
Notes:
We can make block code fences without need to be idented
lang
is optional to specify the language of the code; if not specified, the app won't highlight the code;We need one empty line before
Syntaxes
This is a fenced code block.
Showcases (python
)
Showcases (ruby
)
2.1. Attributes
2.1.1 Heading Attributes
Support: Markdown Extra , Maruku, kramdown Pandoc
Markdown:
Markdown
My Great Heading
In HTML:
My Great Heading
Link to Heading IDs
2.1.2 Block Attributes
Support: kramdown, Markdown Extra
Markdown:
A nice blockquote {: #with-an-id}
HTML:
A nice blockquote
2.1.2 Inline Attributes
Ignoring Text
Implicit Header REferences
Support : Pandoc
So, to link to a heading
# Heading identifiers in HTML
you can simply write
[Heading identifiers in HTML]
or
[Heading identifiers in HTML][]
Line Blocks
Support: pandocs
Image Sizing
Specifying size of image is supported only in some extended markdown (such as markdown-it).
Syntaxes
Showcases
2.19. Attributes
Support:
Markdown item bold red{style="color:red"} HTML:
in HTML: item bold red
Last updated