Movatterモバイル変換


[0]ホーム

URL:


Customize List Styles

Published
·
Author
·
typora.io

You canadd following custom CSS to customize the styles of lists.

Ordered List Styles

TypeOutputCSS
Numbers (default style)Screen Shot 2022-07-03 at 17.09.16ol {list-style-type: decimal;}
Numbers (with leading 0)Screen Shot 2022-07-03 at 17.09.38ol {list-style-type: decimal-leading-zero;}
Chinese NumbersScreen Shot 2022-07-03 at 17.10.23ol {list-style-type: cjk-ideographic;}
HiraganaScreen Shot 2022-07-03 at 17.10.49ol {list-style-type: hiragana;}
KatakanaScreen Shot 2022-07-03 at 17.11.12ol {list-style-type: katakana;}
AlphabetScreen Shot 2022-07-03 at 17.11.46ol {list-style-type: lower-alpha;}
Alphabet (uppercase)Screen Shot 2022-07-03 at 17.12.01ol {list-style-type: upper-alpha;}
GreekScreen Shot 2022-07-03 at 17.12.20ol {list-style-type: lower-greek;}
Roman numerals (lowercase)Screen Shot 2022-07-03 at 17.12.34ol {list-style-type: lower-roman;}
Roman numerals (uppercase)Screen Shot 2022-07-03 at 17.12.51ol {list-style-type: upper-roman;}

Unordered List Styles

TypeOutputCSS
circleScreen Shot 2022-07-03 at 17.22.26ul {list-style-type: circle;}
discScreen Shot 2022-07-03 at 17.22.37ul {list-style-type: disc;}
squareScreen Shot 2022-07-03 at 17.22.50ul {list-style-type: square;}
Custom ContentsScreen Shot 2022-07-03 at 17.25.15ul {list-style-type: "* ";}
Custom ContentsScreen Shot 2022-07-03 at 17.25.27ul {list-style-type: "😎 ";}

Nested Lists

You can also change styles for nested lists using CSS selector, for example:

ol{list-style-type:decimal;}olol{list-style-type:lower-alpha;}ololol{list-style-type:lower-roman;}

Which will render lists like this:

Screen Shot 2022-07-03 at 17.19.31

Task Lists

Pleasecheck document here

More Styles

You can find more listing styles athere.


[8]ページ先頭

©2009-2025 Movatter.jp