Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Is there a way not to break numbering in multilevel lists?
our management people want this
# item 1 # item 2 ## subitem 2.1 ## subitem 2.2 # item 3
to be displayed as
1. item 1 2. item 2 2.1 item 2.1 2.2 item 2.2 3. item 3
这不是 mediawiki 问题:MW 不输出数字,而只是输出有序列表标签 (html: <ol>)。ol根据元素的 CSS 规则在浏览器中进行编号。
<ol>
ol
使用计数器和内容插入可能会通过一些棘手的 CSS 来改变这种行为。