2023-08-17 13:01:36 +02:00
2023-08-17 14:58:53 +02:00
2023-08-17 13:01:36 +02:00
2023-08-17 15:10:50 +02:00
2023-08-17 13:01:36 +02:00
2023-08-17 13:01:36 +02:00
2023-08-24 15:56:09 +02:00
2023-08-17 14:58:53 +02:00
2023-08-17 13:01:36 +02:00

goldmark-inline-attributes

GoldMark inline attributes extension.

This implements the bracketed_spans of pandoc.

[This is *some text*]{.class key="val"} outside text
<p><span class="class" key="val">This is <em>some text</em></span> outside text</p>
var md = goldmark.New(attributes.Enable)
var source = []byte("[Text]{#id .class1}\nother text")
err := md.Convert(source, os.Stdout)
if err != nil {
    log.Fatal(err)
}
Description
No description provided
Readme 30 KiB
Languages
Go 100%