Skip to content

Files

Latest commit

e12a247 · Dec 26, 2022

History

History
This branch is 1 commit ahead of, 36 commits behind tw-in-js/twind:main.

documentation

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Nov 13, 2022
Nov 18, 2022
Dec 8, 2022
Nov 13, 2022
Nov 13, 2022
Dec 26, 2022
Nov 13, 2022
Nov 13, 2022
Dec 8, 2022
Nov 18, 2022
Nov 18, 2022
Dec 14, 2022
Nov 18, 2022
Dec 8, 2022
Dec 8, 2022
Dec 8, 2022
Dec 8, 2022
Dec 14, 2022
Dec 14, 2022
Dec 8, 2022
Dec 14, 2022
Dec 8, 2022
Dec 8, 2022
Nov 18, 2022
Nov 18, 2022
Nov 18, 2022
Dec 18, 2022
Dec 15, 2022
Dec 26, 2022
Dec 18, 2022
Dec 18, 2022
Dec 15, 2022
Dec 15, 2022

The source for twind.style which is generated by sites/twind.style.

Examples

Note This is a note

Tip This is a tip

Hint This is a hint

Important This is important

Caution/Don't try this at home This is a caution

To add a title to an admonition, add a colon after the admonition type and then the title.

Caution/Don't try this at home This is a caution

Code blocks

  • js title="..." showLineNumbers {1-3,4} /needle/3-5

  • diff-js title focus=1-3,5

  • [(diff-)?lang]? [title|title="..."]? [showLineNumbers|line-numbers]? [highlightLines]* [highlightTerm]* [focusLines]*

  • highlight lines: {1-3,5} or highlight=1-3,5

  • focus lines: [1-3,5] or focus=1-3,5

  • highlight term: /needle/ or /needle/3-5 (Highlight only the third to fifth instances)

  • line-numbers or showLineNumber