Used to compute the setcounter
level.
# Depth of ordered list
#
# Used to compute the `setcounter` level.
fun nesting_level: String do
var nesting = 1
var parent = self.parent
while parent != null do
if parent isa MdOrderedList then nesting += 1
parent = parent.parent
end
if nesting <= 3 then
return "i" * nesting
end
return "iv"
end
lib/markdown2/markdown_latex_rendering.nit:246,2--262,4