Home

My first post

Published , last updated

h2 Heading

h3 Heading

h4 Heading

h5 Heading
h6 Heading

Horizontal Rules




Emphasis

This is bold text

This is bold text

This is italic text

This is italic text

Strikethrough

code

samp kbd

Blockquotes

Blockquotes can also be nested...

...by using additional greater-than signs right next to each other...

...or with spaces between arrows.

Lists

Unordered

  • 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
    • Another list
      • Facilisis in pretium nisl aliquet
      • Nulla volutpat aliquam velit
  • Very easy!

Ordered

  1. Lorem ipsum dolor sit amet

  2. Consectetur adipiscing elit

  3. Integer molestie lorem at massa

  4. You can use sequential numbers...

  5. ...or keep all the numbers as 1.

Start numbering with offset:

  1. foo
  2. bar

Code

Inline code

Syntax highlighting

src/main.js
const fib = (n) => {
if (n < 1) return 0;
if (n === 1 || n === 2) return 1;
return fib(n - 1) + fib(n - 2);
}
console.log(fib(102)) // DO NOT TRY THIS AT HOME
Plain preformatted text
-----
so that
-----
raw text editor plebs can still view them
no-numbers.json
{
    // ...
    key: "value",
    array: [1, 2, 3, 4, 5, 6, 7, 10, 11, 8]
}

Tables

OptionDescription
datapath to data files to supply the data that will be passed into templates.
engineengine to be used for processing templates. Handlebars is the default.
extextension to be used for dest files.

Right aligned columns

OptionDescription
datapath to data files to supply the data that will be passed into templates.
engineengine to be used for processing templates. Handlebars is the default.
extextension to be used for dest files.

link text

link with title

Autoconverted link https://github.com/nodeca/pica (enable linkify to see)

Images

Cat
Cat 2
white cat

Like links, Images also have a footnote style syntax

Cat 3
cat3

With a reference later in the document defining the URL location:

Plugins

The killer feature of markdown-it is very effective support of syntax plugins.

Subscript / Superscript

  • 19th
  • H2O

Footnotes

Footnote 1 link1.

Footnote 2 link2.

Duplicated footnote reference2.

Custom containers

This is an tip hint with a lot of text and hopefully this stays in the same paragraph.

This is a warning hint

And this is an error hint

Footnotes

  1. Footnote can have markup

    and multiple paragraphs.

  2. Footnote text. 2

© 2024 Ahmad Zhafir Bin Yahaya