goldmark-mmd

A different way of handling Markdown Metadata
git clone git://src.gearsix.net/goldmark-mmd
Log | Files | Refs | Atom | README | LICENSE

commit f5d5bebad44ac55105584283ee742a9e6f3524c0
parent e03b0d49f716e556026620fc9e5035e3b2770d4e
Author: Yusuke Inuzuka <yuin@inforno.net>
Date:   Thu, 17 Feb 2022 19:35:27 +0900

Merge pull request #7 from imomaliev/patch-1

Fix typo in README.md in `WithStoresInDocument` example
Diffstat:
MREADME.md | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md @@ -97,6 +97,7 @@ import ( "github.com/yuin/goldmark" "github.com/yuin/goldmark/extension" "github.com/yuin/goldmark/parser" + "github.com/yuin/goldmark/text" "github.com/yuin/goldmark-meta" ) @@ -120,7 +121,8 @@ Tags: document := markdown.Parser().Parse(text.NewReader([]byte(source))) metaData := document.OwnerDocument().Meta() title := metaData["Title"] - fmt.Print(title) + fmt.Print(title) +} ``` ### Render the metadata as a table