package goldmark import ( "bytes" "errors" "regexp" "github.com/yuin/goldmark" "github.com/yuin/goldmark/ast" "github.com/yuin/goldmark/parser" "github.com/yuin/goldmark/text" "github.com/yuin/goldmark/util" "gopkg.in/yaml.v2" ) type ObsidianLinkExtension struct{} func (ole *ObsidianLinkExtension) Extend(m goldmark.Markdown) { m.Parser().AddOptions( parser.WithBlockParsers(), ) }