MDX & MD Cheatsheet

Serves as a database for Markdown and MDX syntax

H1

H2

H3

Bold

bold text

Italic

italicized text

Blockquote

blockquote

Ordered List

  1. First item
  2. Second item
  3. Third item

Unordered List

  • First item
  • Second item
  • Third item

Inline Code

This is Inline Code

Horizontal Rule


Markdown Guide

Links to top of page.

Image

alt text

Extended Syntax

These elements extend the basic syntax by adding additional features. Not all Markdown applications support these elements.

Table

SyntaxDescription
HeaderTitle
ParagraphText

Footnote

Here's a sentence with a footnote. 1

Strikethrough

one or two tildes.

Task List

  • Write the press release
  • Update the website
  • Contact the media

Emoji

That is so funny! 🤣

(See also Copying and Pasting Emoji)

Subscript

H2O

Superscript

X2

Remark & Rehype Tests

www.example.com, https://example.com, and contact@example.com.

Math Support

Lift(LL) can be determined by Lift Coefficient (CLC_L) like the following equation.

L=12ρv2SCLL = \frac{1}{2} \rho v^2 S C_L

Code Blocks

lib/test.js
import * as saveSvgAsPng from 'save-svg-as-png'
import { jsPDF } from 'jspdf'
lib/test2.js
function fancyAlert(arg) {
  if (arg) {
    $.facebox({ div: '#foo' })
  }
}

Footnotes

  1. This is the footnote.

Last edited: