showdownjs/showdown

TOML Metadata surrounded by +++

Open

#868 opened on Oct 8, 2021

View on GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (13,700 stars) (1,640 forks)batch import
enhancementhelp wantedscope:makeHtml

Description

Hugo allows TOML metadata (surrounded by +++) - so it's a popular encoding for metadata in files. It would be great if showdown could support it.

Readme says as of today:

metadata: (boolean) [default false] Enable support for document metadata (defined at the top of the document between ««« and »»» or between --- and ---). (since v.1.8.5)

Contributor guide