2023-08-17 15:24:43 +02:00
2023-08-17 15:24:43 +02:00
2023-08-17 15:24:43 +02:00
2023-08-17 15:24:43 +02:00
2023-08-17 15:24:43 +02:00
2023-08-17 15:24:43 +02:00
2023-08-17 15:24:43 +02:00
2023-08-17 15:24:43 +02:00
2023-08-17 15:24:43 +02:00

goldmark-superscript

GoldMark superscript extension.

This implements the superscript of pandoc.

H~2~O is a liquid.  2^10^ is 1024.
<p>H~2~O is a liquid.  2<sup>10</sup> is 1024.</p>
var md = goldmark.New(superscript.Enable)
var source = []byte("H~2~O is a liquid.  2^10^ is 1024.")
err := md.Convert(source, os.Stdout)
if err != nil {
    log.Fatal(err)
}
Description
No description provided
Readme 27 KiB
Languages
Go 100%