xoofx / xoofx/markdig

Add support for TOML front matter format

Open
#565 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement PR Welcome!
Dominant language
C#
Stars
5.3k
Forks
510
Avg merge
8d 5h
Merged PRs (30d)
5

Description

It looks like the current version of markdig can only support the Yaml front matter format. However, the Hugo static web-site generator also supports the Toml format identified by opening and closing +++.
Can the existing Yaml front matter parser be extended to support that feature ? If not, would you consider implementing a Toml front matter parser ?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by examining Markdig's existing YAML front matter parser and compare its behavior with Hugo's TOML front matter format, including the +++ delimiters described in the issue. Done means TOML front matter is supported alongside YAML, or the project clearly documents why the existing parser cannot be extended.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
content
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.