goldmark-mmd

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

commit 6ef446f8f6fe8aeb4130a388ae8f8d089b18c09e
parent e03b0d49f716e556026620fc9e5035e3b2770d4e
Author: Sardorbek Imomaliev <imomaliev@hey.com>
Date:   Thu, 17 Feb 2022 12:36:49 +0700

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