jgm / jgm/commonmark-hs

Implement `yaml_metadata_block` extension

Open
#17 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
145
Forks
38
PR merge metrics
No merged PRs in 30d

Description

As in pandoc: https://pandoc.org/MANUAL.html#extension-yaml_metadata_block

We should avoid a yaml dependency. HsYAML might be an acceptable dependency, but an alternative could be to parse the whole block as a literal string and put it in a `data-yaml` attribute of a Div, so it can be extracted and processed in a second pass.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.