support for auto-numbering of lists #192
-
In markdown I can create a number list like this:
and it will auto number them like this
It would be good to provide that in MarkdownUI |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
MarkdownUI 2.x is compatible with the GitHub Flavored Markdown spec, which includes the CommonMark spec and, thus, the auto-numbering lists feature. You can see this in the companion demo project under the Lists screen in the Customization Example section: swift-markdown-ui/Examples/Demo/Demo/ListsView.swift Lines 68 to 70 in fdc444d In the example, there is an auto-numbered list that starts at 10 and is styled with roman numbers. Please, check the demo project and the docs to get acquainted with all the library features. |
Beta Was this translation helpful? Give feedback.
MarkdownUI 2.x is compatible with the GitHub Flavored Markdown spec, which includes the CommonMark spec and, thus, the auto-numbering lists feature. You can see this in the companion demo project under the Lists screen in the Customization Example section:
swift-markdown-ui/Examples/Demo/Demo/ListsView.swift
Lines 68 to 70 in fdc444d
In the example, there is an auto-numbered list that starts at 10 and is styled with roman numbers.
Please, check the demo project and the docs to get acquainted with all the library features.