The solution involves adding an enforce_shift option to the API that can be used to make ZMarkdown follow heading_shift in all cases). This option is recommended, and will be the default behavior in the next major version.
What is done for now is to force heading_shift=2 for HTML contents. This setting is mostly historical, but still needed by zds-site today. Changes are required before the next version.
Fixes #448
The solution involves adding an
enforce_shift
option to the API that can be used to make ZMarkdown followheading_shift
in all cases). This option is recommended, and will be the default behavior in the next major version.What is done for now is to force
heading_shift=2
for HTML contents. This setting is mostly historical, but still needed byzds-site
today. Changes are required before the next version.