Markdown Extensions


Table of Contents

toc

The above index was automatically generated with the marker [TOC]


CodeHilite

codehilite

function recurse(startingPlace, otherFunc, callback_one) {
    // code you may have ...
    if (your_terminating_criterion === true) {
         return callback_one(val); // where val is potentially some value you want to return (or a json object with results)
    }
    // more code you may have
}
1
2
3
4
5
6
7
function recurse(startingPlace, otherFunc, callback_one) {
    // code you may have ...
    if (your_terminating_criterion === true) {
        return callback_one(val); // where val is potentially some value you want to return (or a json object with results)
    }
    // more code you may have
}

For some reason I didn’t get the line numbers to align correctly. I added the extra CSS according to instructions but it didn’t change anything AFAIK. Turning off all other extensions and switching themes didn’t work either.


SmartyPants

smarty

‘single quotes’, “quotes”, « angle quotes », … (ellipsis) and dashes – and — are converted to their HTML entity equivalents.


Footnotes

footnotes
Click on this1 or this2 footnotes and be taken to additional text at the bottom of the page.


Attribute Lists

attr_list


Definition Lists

def_list

Apple
Pomaceous fruit of plants of the genus Malus in
the family Rosaceae.
Orange
The fruit of an evergreen tree of the genus Citrus.

Abbreviations

abbr

The HTML specification
is maintained by the W3C.


New-Line-to-Break Extension

nl2br

Will cause newlines to be treated as hard breaks; like StackOverflow and GitHub flavored Markdown do.


Admonition

admonition

Attention

This is an attention box

Caution

This is a caution box

Danger

This is a danger box

Error

This is an error box

Hint

This is a hint box

Important

This is an important box

Note

This is a note box

Tip

This is a tip box

Warning

This is a warning box


  1. For convenience, in the markdown file this additional block follows that first line with the footnotes.

    Although in the actual HTML
    it drops to the end.

    a code block

    A final paragraph. 

  2. Notice the arrow at the end of this note: “2”.