0.2.13 • Published 3 years ago

remark-hugo-shortcodes v0.2.13

Weekly downloads
11
License
GPL-3.0
Repository
github
Last release
3 years ago

remark-hugo-shortcodes

Licence NPM

Remark parser & compiler for Hugo-style shortcodes.

Example

import remark from 'remark'
import { shortcodes } from 'remark-hugo-shortcodes'

const rm = remark()
    .use(shortcodes, {
        tokens: [["[[", "]]"]],
        inlineMode: true,
        markdownAttributes: ['title', 'alt', 'caption']
    })

See also

0.2.13

3 years ago

0.2.12

3 years ago

0.2.11

3 years ago

0.2.6

4 years ago

0.2.8

4 years ago

0.2.10

4 years ago

0.2.5

4 years ago

0.2.4

4 years ago

0.2.3

4 years ago

0.2.0

4 years ago

0.1.0

4 years ago