0

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
4

1 回答 1

2

这不是 mediawiki 问题:MW 不输出数字,而只是输出有序列表标签 (html: <ol>)。ol根据元素的 CSS 规则在浏览器中进行编号。

使用计数器和内容插入可能会通过一些棘手的 CSS 来改变这种行为。

于 2012-09-18T12:59:16.257 回答