Markdown for This Blog
Common markdown format for Gitbook, gatsby-starter-bee, and VNote.
1. h2 Heading
markdown
display
h3 Heading
h4 Heading
h5 Heading
h6 Heading
2. Paragraphs
markdown
display
This is the first paragraph.
This is the second paragraph
3 Line Break
markdown
display
This is the first line. And this is the second line. And finally this is the last line.
4. Emphasis
markdown
display
This is bold text This is bold text This is italic text This is italic text This text is really important
5. Blockquotes
markdown
display
This is the first line of paragraph, followed by blank line
Blockquotes can also be nested...
...by using additional greater-than signs right next to each other...
...or with spaces between arrows.
with a heading
and list
list
with bold and italic text
6. Lists
6.1. Unordered
markdown
display
To start a list, there should be an empty line above
Create a list by starting a line with
+
,-
, or*
Changing the sign will add a linespace
Add text under an item This is a text under an item. Notice that there are two spaces at the end above.
Sub-lists are made by indenting 2 spaces:
Item 2a
Item 2b
Item 3
To end a list, there should be one empty line above.
6.2. Ordered
markdown
display
Item 1
Item 2 Notice that the sequence number is irrelevant. Markdown will change the sequence automatically when renderring. Notice that there are two spaces at the end above to make a new text under item.
Sub-lists are made by indenting 4 spaces
Item 3a
Item 3b
Any number for item 4
6.3. Offset in Oredered List
didn't work in Gitbook
markdown
display
will started with offset 57
so it will be 58
this is 59
7. Elements in Lists
markdown
display
To add another element in a list while preserving the continuity of the list...
add blank lines in between
I need to add another paragraph below the second list item.
the third list item.
A blockquote would look great below the second list item.
the fourth list item.
markdown
display
Linux mascot is called Tux.
Tux is really cool.
For quote in ordered list, add five spaces.
A blockquote would look great below the second list item.
But, for code blocks in the lists, add eight spaces or two tabs:
So okay for now
8. Code
markdown
display
This is inline code
.
markdown
display
markdown
display
9. Links
markdown
display
This is link
This is link with title
https://example.com/
https://www.markdownguide.org
I love supporting the EFF.
This is the Markdown Guide.
See the section on code
.
But https://www.example.com
but be careful with %20 link
example [without %20](https://www.example.com/my great page)
9.1. Email Linkify
didn't work in Gatsby and Gitbook
markdown
display
fake@example.com didn't work in Gatsby and Gitbook fake@example.com is okay
10. Reference-style Links
markdown
display
I know Indonesia I also know etymology of Indonesia I knew History of Indonesia It doesn't have hobbit-hole.
11. Images
markdown
display
12. Escaping Characters
markdown
display
* star \ backslash itself ` backtick { } curly braces ! exclamation mark
13. HTML Code
very restricted in Gitbook
13.1. HTML: Bold, Italic, Strikethrough
markdown
display
This word is italic.
This word is bold.
This word is deleted with strikethorouugh.
13.2. Others HTML Code
didn't work in Gitbook
markdown
display
red color highlight underline smaller text H2O x2+y2=0 Variable of triangle area: 1/2 x b x h, where b is the base, and h is the vertical height.
14. Horizontal Rules
didn't work in Gitbook
markdown
display
15. Heading ID
didn't work for Gatsby
markdown
display
My Great Heading
Link to Heading IDs
16. Code Fencing and Highlighting
markdown
display
17. Tables
markdown
display
Title
Here's this is
Paragraph
Text
And more
18. Text Formatting
18.1. Strikethrough
markdown
display
strikethrough
18.2. Highlighting and Underline
didn't work in Gitbook and Gatsby
display
==highlight, fail in Gitbook and Gatsby== underline, fail in Gitbook and Gatsby
19. Task Lists (Checkbox, Tick Mark)
markdown
display
20. Emojies
20.1. Copy Pasted Emojies
markdown
display
Gone camping! ⛺ Be back soon. That is so funny! 😂
20.2. Shortcode Emoji
didn't work in Gitbook
in Gatsby and VNote, use Github Emoji Shortcode
markdown
display
21. Typographic Replacements, Superscript, Subscript
dind't work in Gatsby and Gitbook
markdown
display
autoreplacement of (c) (C) (r) (R) (tm) (TM) (p) (P) +-
superscript x^2^ and subscript H2O
22. HTML Entities and Character Codes
markdown
display
© & ¨ ™ ¡ £ & < > ¥ € ® ± ¶ § ¦ ¯ « · x² y³ ¾ ¼ × ÷ » | 18ºC " '
23. Latex
23.1. Inline Equation
Equation with one dollar sign
$
works inline in VNoteEquation with two dollar signs
$$
works inline in Jekyll and Gitbook, but not in VNote
markdown
display
23.2. Newline Equation
markdown
display
Newline equation with two dollar signs.
24. Specific HTML Code
didn't work in Gitbook
24.1. Drop Down List
markdown
display
24.2. Summary
markdown
display
24.3. Definition
markdown
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.
24.4. Abbreviation
markdown
display
The HTML specification is maintained by the W3C.
26. Admonition Styles
26.1. Admonition with CSS
CSS delivered from: https://cdn.jsdelivr.net/gh/irosyadi/irosyadi@master/alert.css
didn't work in Gitbook
markdown
display
🎯 SUCCESS! Success text.📌 INFO Info text.⚠️ WARNING! Warning text.⛔ DANGER! Success text.
26.2. Admonition with Quote
worked in everywhere
markdown
display
⚠️ WARNING!
This is a warning for you...
26.3. Admonition with Table
worked in everywhere
*** markdown***
display
⚠️ WARNING!
This is a warning for you...
27. Footnote
didn't work in Gitbook
markdown
display
Here's a simple footnote, and here's a longer one,, and . But there is problem with Gitbook for footnote.
Here's another one.
Last updated