0.2.13 • Published 4 years ago

remark-hugo-shortcodes v0.2.13

Weekly downloads
11
License
GPL-3.0
Repository
github
Last release
4 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

4 years ago

0.2.12

4 years ago

0.2.11

5 years ago

0.2.6

5 years ago

0.2.8

5 years ago

0.2.10

5 years ago

0.2.5

5 years ago

0.2.4

5 years ago

0.2.3

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago