9f984ff26a
Text.Pandoc.Shared:
+ Remove `Element` type [API change]
+ Remove `makeHierarchicalize` [API change]
+ Add `makeSections` [API change]
+ Export `deLink` [API change]
Now that we have Divs, we can use them to represent the structure
of sections, and we don't need a special Element type.
`makeSections` reorganizes a block list, adding Divs with
class `section` around sections, and adding numbering
if needed.
This change also fixes some longstanding issues recognizing
section structure when the document contains Divs.
Closes #3057, see also #997.
All writers have been changed to use `makeSections`.
Note that in the process we have reverted the change
|
||
---|---|---|
.. | ||
module | ||
attr-test.lua | ||
block-count.lua | ||
hello-world-doc.lua | ||
implicit-doc-filter.lua | ||
markdown-reader.lua | ||
math.lua | ||
metatable-catch-all.lua | ||
plain-to-para.lua | ||
script-name.lua | ||
single-to-double-quoted.lua | ||
smallcaps-title.lua | ||
smart-constructors.lua | ||
strmacro.lua | ||
undiv.lua | ||
uppercase-header.lua |