feat(okf): renderOkfIndex writes a title above its sections #84

Closed
opened 2026-11-29 18:14:14 +00:00 by crapougnax · 0 comments
Owner

renderOkfIndex writes every section as a top-level heading. An index with a title (given as preamble: "# Title") then has several H1 headings: # Knowledge then # Guides.

Expected: an option title, written as the only H1; the sections are then H2 (as the OKF knowledge base writes its indexes: # Category Index then ## Documents). Without title, unchanged.

Needed by Modaka Studio (modaka/studio#76).

`renderOkfIndex` writes every section as a top-level heading. An index with a title (given as `preamble: "# Title"`) then has several H1 headings: `# Knowledge` then `# Guides`. **Expected**: an option `title`, written as the only H1; the sections are then H2 (as the OKF knowledge base writes its indexes: `# Category Index` then `## Documents`). Without `title`, unchanged. Needed by Modaka Studio (modaka/studio#76).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
quatrain/core#84
No description provided.