remark-meta
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

remark-meta

CI/CD Status MIT License stars

Remark plugin for making frontmatter metadata visible to other plugins.

This plugin requires remark-frontmatter. There are no visible changes to the output; this plugin is just to help other plugins by adding metadata to a VFile.

Install

This package is ESM only: Node 12+ is needed to use it and it must be imported instead of required.

npm:

npm install remark-meta

Usage

import { unified } from 'unified'
import markdown from 'remark-parse'
import html from 'rehype-stringify'
import remark2rehype from 'remark-rehype'
import meta from 'remark-meta'

unified()
  .use(markdown)
  .use(meta)
  .use(remark2rehype)
  .use(html)

License

MIT © Alex Shaw

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    56
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    56
  • 0.3.0
    0
  • 0.2.1
    0
  • 0.2.0
    0
  • 0.1.1
    0

Package Sidebar

Install

npm i remark-meta

Weekly Downloads

56

Version

1.0.0

License

MIT

Unpacked Size

5.86 kB

Total Files

6

Last publish

Collaborators

  • symbitic