クイックリファレンス

Kramdown Markdown コンバータ チートシート

Ruby / Jekyll 用 Markdown パーサ Kramdown のクイックリファレンス:属性リスト(IAL)、脚注、略語定義、数式表現を解説。

· 公開日

Kramdown は純粋な Ruby で書かれた高速かつ高機能な Markdown パーサ兼コンバータであり、Jekyll の標準エンジンとして採用されています。

カスタム属性構文(IAL)

ブロック要素やインライン要素に対して、クラス・ID・任意の HTML 属性を直接付与できます:

# Styled Header {: #main-title .heading-large style="color: blue;"}

A styled paragraph with an attribute.
{: .intro-paragraph}

[Download PDF](report.pdf){: .btn .btn-primary target="_blank"}

脚注

Here is a statement that requires citation.[^note1]

[^note1]: This is the footnote text displayed at the bottom of the page.

略語

*[HTML]: Hyper Text Markup Language
*[CSS]: Cascading Style Sheets

The HTML specification is maintained by WHATWG.

数式表現(KaTeX / MathJax)

Inline math: $$a^2 + b^2 = c^2$$

$$
\frac{-b \pm \sqrt{b^2 - 4ac}}{2a}
$$

リファレンス

関連テーマ