pandoc/test/lua
John MacFarlane 9f984ff26a Replace Element and makeHierarchical with makeSections.
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
c1d058aeb1
made in response to #5168, which I'm not completely
sure was a good idea.

Lua modules have also been adjusted accordingly.
Existing lua filters that use `hierarchicalize` will
need to be rewritten to use `make_sections`.
2019-09-08 22:20:19 -07:00
..
module Replace Element and makeHierarchical with makeSections. 2019-09-08 22:20:19 -07:00
attr-test.lua data/pandoc.lua: enable table-like behavior of attributes (#4080) 2017-11-20 09:37:40 -08:00
block-count.lua
hello-world-doc.lua
implicit-doc-filter.lua
markdown-reader.lua
math.lua Test Lua filter converting display math to inline math 2018-04-29 16:20:38 +03:00
metatable-catch-all.lua
plain-to-para.lua
script-name.lua Lua: register script name in global variable 2018-02-24 22:43:28 +01:00
single-to-double-quoted.lua
smallcaps-title.lua
smart-constructors.lua data/pandoc.lua: auto-fix nested constructor arguments 2019-01-13 17:14:10 +01:00
strmacro.lua
undiv.lua
uppercase-header.lua