All your .md
and .mdx
files under the contents
directory
will be rendered with MDX,
it's an advanced Markdown
format with React
component support.
h1
h2
h3
h4
h5
h6
Unordered list:
+
, -
, or *
.Ordered list:
Sequential numbering:
1.
.Start numbering with offset:
- [x] Write the press release.
- [ ] Update the website.
- [ ] Contact the media.
Renders:
___
Renders:
---
Renders:
***
Renders:
**This is bold text**.
__This is bold text__.
Renders:
This is bold text.
This is bold text.
*This is italic text*.
_This is italic text_.
Renders:
This is italic text.
This is italic text.
~This is strikethrough text~.
~~This is strikethrough text~~.
Renders:
This is strikethrough text.
This is strikethrough text.
Blockquotes can also be nested...
...by using additional greater-than signs right next to each other...
...or with spaces between arrows.
Blockquotes can also be continued... ...continued... ...continued continued...
Blockquotes can be very very very very very very very very long...very very very very very very very very long...very very very very very very very very long...very very very very very very very very long...very very very very very very very very long...very very very very very very very very long...very very very very very very very very long...very very very very very very very very long...very very very very very very very very long...
a | b | c | d |
---|---|---|---|
10 | 200 | 3600 | 48000 |
200 | 10 | 48000 | 3600 |
3600 | 48000 | 10 | 200 |
48000 | 3600 | 200 | 10 |
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. |
Left 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. |
Center 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. |
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. |
Inline code
.
Block code "fences":
Sample text here...
Syntax highlighting:
const foo = function (bar) {
return bar++;
};
foo(5);
some.code();
Auto-converted link https://github.com/sabertazimi/blog (enable linkify to see):
A note1.
Another note2.
Yet another note3.
Local image:
Remote image:
Remote Alt image:
Like links, Images also have a footnote style syntax:
With a reference later in the document defining the URL location:
[id]: https://octodex.github.com/images/dojocat.jpg "The Dojocat"
<h2>JSX Heading 2</h2>
<abbr title="HyperText Markup Language">HTML</abbr> is a lovely language.
<section>
And here is *markdown* in **JSX**!
</section>
<div># this is not a heading but *this* is emphasis</div>
I can write **Markdown** alongside my _JSX_!
<div>
This is a `p`.
</div>
Renders:
HTML is a lovely language.
And here is markdown in JSX!
I can write Markdown alongside my JSX!
This is a p
.
Two π° is: {Math.PI * 2}
Renders:
Two π° is: 6.283185307179586
{(function () {
const guess = 0.44
if (guess > 0.66) {
return <span style={{color: 'tomato'}}>Look at us.</span>
}
if (guess > 0.33) {
return <span style={{color: 'violet'}}>Who would have guessed?!</span>
}
return <span style={{color: 'goldenrod'}}>Not me.</span>
})()}
Renders:
{/* A comment! */}
Renders nothing.
4c5361e
.4c5361e
.e1aa9f6
.#
): #1.GH-
): GH-1.Thumbs up: π, thumbs down: π.
Families: π¨βπ¨βπ¦βπ¦
Some flags: π¨π³, πΊπΈ, π·πΊ, π¬π§, π«π·.
Tada π, sparkles β¨, rocket π.
Bug π, wrench π§, zap β‘.
Inline math formulas
Block math formulas