Open loganpowell opened 4 years ago
`a` > ( `code` | `pre` )
H1 Button
H2 Button
`ol`
`ol` > ( `img` | `a` > `img` | `h#` )
mj-section
background-url
img
h#
p
mj-column
See this project that uses a special code-fence
yarn
Use github templates that - when used to create a new issue, is populated by the bot with the latest from some feed (e.g., RSS)
See this article For metadata, see this about yml frontmatter
yml
See mdast-to-bemjson example
Headers
Strikethrough Strikethrough (when enable html tag decode.) Italic Italic Emphasis Emphasis Emphasis Italic Emphasis Italic
Subscript: X2,Superscript: O2
Abbreviation(link HTML abbr tag)
The HTML specification is maintained by the W3C.
Blockquotes
Paragraphs and Line Breaks
"Blockquotes Blockquotes", Link。
Links
Links with title
<link> : https://github.com
<link>
Reference link
GFM a-tail link @pandao
$ npm install marked
Indented 4 spaces, like <pre> (Preformatted Text).
<pre>
<?php echo "Hello world!"; ?>
Code Blocks (Preformatted text):
| First Header | Second Header | | ------------- | ------------- | | Content Cell | Content Cell | | Content Cell | Content Cell |
function test(){ console.log("Hello world!"); } (function(){ var box = function(){ return box.fn.init(); }; box.prototype = box.fn = { init : function(){ console.log('box.init()'); return this; }, add : function(str){ alert("add", str); return this; }, remove : function(str){ alert("remove", str); return this; } }; box.fn.init.prototype = box.fn; window.box =box; })(); var testBox = box(); testBox.add("jQuery").remove("jQuery");
<!DOCTYPE html> <html> <head> <mate charest="utf-8" /> <title>Hello world!</title> </head> <body> <h1>Hello world!</h1> </body> </html>
Image:
Follow your heart.
Xiamen
(Image + Link):
Blockquote second line (non-line-broken)
help()
destroy()
© & ¨ ™ ¡ £ & < > ¥ € ® ± ¶ § ¦ ¯ « ·
X² Y³ ¾ ¼ × ÷ »
18ºC " '
*literal asterisks*
Blockquotes :star:
Button Syntax
H1 Button
H2 Button
Section Syntax
Section One
Column Syntax
h# title
mj-section
with abackground-url
(banner)img
/ image link first item >h#
first child under itme, ...siblings =p
h# title
mj-column
(vertical/photo card)h#
1st item >img
/image link 1st child under item, ...siblings =p
h# title
mj-column
(horizontal card)h#
1st item >p
1st child >img
/image link 2nd child , ...siblings =p
h# title
mj-column
(list item)h#
1st item >p
1st & 2nd child,img
/image link 3rd childSection two
Running Code
See this project that uses a special code-fence
yarn
Templating Automation
Use github templates that - when used to create a new issue, is populated by the bot with the latest from some feed (e.g., RSS)
See this article For metadata, see this about
yml
frontmatterTransformation
See mdast-to-bemjson example
Basic Style Tests
Horizontal Rule
Headers
H1 header
H2 header
H3 header
H4 header
H5 header
H6 header
Heading 1 link Heading link
Heading 2 link Heading link
Heading 3 link Heading link
Heading 4 link Heading link Heading link Heading link
Heading 5 link Heading link
Heading 6 link Heading link
Headers (Underline)
H1 Header (Underline)
H2 Header (Underline)
Characters
StrikethroughStrikethrough (when enable html tag decode.)Italic Italic Emphasis Emphasis Emphasis Italic Emphasis ItalicSubscript: X2,Superscript: O2
Abbreviation(link HTML abbr tag)
The HTML specification is maintained by the W3C.
Blockquotes
Paragraphs and Line Breaks
Links
Links
Links with title
<link>
: https://github.comReference link
GFM a-tail link @pandao
Code Blocks (multi-language) & highlighting
Inline code
$ npm install marked
Code Blocks (Indented style)
Indented 4 spaces, like
<pre>
(Preformatted Text).Code Blocks (Preformatted text):
Javascript
HTML code
Images
Image:
(Image + Link):
Lists
Unordered list (-)
Unordered list (*)
Unordered list (plus sign and nested)
Ordered list
Tables
help()
destroy()
HTML entities
© & ¨ ™ ¡ £ & < > ¥ € ® ± ¶ § ¦ ¯ « ·
X² Y³ ¾ ¼ × ÷ »
18ºC " '
Escaping for Special Characters
*literal asterisks*
Markdown extras
GFM task list
Emoji mixed :smiley:
GFM task lists & Emoji & fontAwesome icon emoji & editormd logo emoji :editormd-logo-5x:
tagssupported :editormd-logo:;End