Project

General

Profile

Actions

Feature #104

closed

Pandoc title format for Almirah doc title

Added by Oleksandr Ivanov 7 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Target version:
-
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:

  1. Pandoc title format (% Title)
  2. 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:

  1. The only pandoc title is level 0 section (not numerated)
  2. If there is no pandoc title - the first section (any level) is considered as a document title
  3. But this section (the first one) has its level (not level 0)

Subtasks 2 (0 open2 closed)

DocTask #105: Pandoc title format for Almirah doc titleClosedOleksandr Ivanov06/07/202406/08/2024

Actions
Almirah.Code - CodeTask #106: Pandoc title format for Almirah doc titleClosedOleksandr Ivanov06/07/202406/09/2024

Actions
Actions

Also available in: Atom PDF