Actions
Feature #104
closedPandoc title format for Almirah doc title
Start date:
06/07/2024
Due date:
06/09/2024
% Done:
100%
Estimated time:
(Total: 1:30 h)
Spent time:
(Total: 1:30 h)
Description
In previous versions (Almirah gem version <= 0.2.0) there were two options to define document title:
- Pandoc title format (% Title)
- First heading level 1 in the document (# Title)
At the same time document title was considered as heading level 0 and was not numerated. It lead to the mess how to process two heading 1 elements with no pandoc title (first one was considered as level 0, second one as level 1).
The following was decided:
- The only pandoc title is level 0 section (not numerated)
- If there is no pandoc title - the first section (any level) is considered as a document title
- But this section (the first one) has its level (not level 0)
Actions