LearnNewsExamplesServices
Frontmatter
id8393
titleImplement Frontmatter Parsing and Rendering in Markdown Component
stateClosed
labels
documentationenhancementai
assigneestobiu
createdAtJan 7, 2026, 8:23 PM
updatedAtJan 7, 2026, 8:24 PM
githubUrlhttps://github.com/neomjs/neo/issues/8393
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJan 7, 2026, 8:24 PM

Implement Frontmatter Parsing and Rendering in Markdown Component

Closed v11.19.0 documentationenhancementai
tobiu
tobiu commented on Jan 7, 2026, 8:23 PM

This ticket covers the implementation of frontmatter parsing within Neo.component.Markdown.

Changes:

  1. Add regexFrontMatter to src/component/Markdown.mjs.
  2. Implement renderFrontmatter config (default: true, non-reactive).
  3. Implement parseFrontMatter and parseValue methods to handle basic YAML-like key-value pairs and arrays without external dependencies.
  4. Implement frontMatterToHtml to render the parsed data as a table.
  5. Update modifyMarkdown to detect and process frontmatter.
  6. Add styling for .neo-frontmatter-table in resources/scss/src/component/Markdown.scss.

Goal: Allow the Portal app (and other views) to optionally render metadata from Markdown files (like Release Notes) in a structured way.

tobiu added the documentation label on Jan 7, 2026, 8:23 PM
tobiu added the enhancement label on Jan 7, 2026, 8:23 PM
tobiu added the ai label on Jan 7, 2026, 8:23 PM
tobiu assigned to @tobiu on Jan 7, 2026, 8:23 PM
tobiu referenced in commit f8911df - "feat: Implement frontmatter parsing in Markdown component (#8393)" on Jan 7, 2026, 8:24 PM
tobiu
tobiu Jan 7, 2026, 8:24 PM

Input from Gemini 3 Pro:

✦ Implemented frontmatter parsing and rendering.

Changes:

  • Added renderFrontmatter config (default: true).
  • Implemented lightweight parseFrontMatter parser.
  • Added table styling for metadata.

Commited in f8911df71.

tobiu closed this issue on Jan 7, 2026, 8:24 PM