Socket
Socket
Sign inDemoInstall

remark-meta

Package Overview
Dependencies
15
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    remark-meta

Adds YAML/TOML metadata to a VFile.


Version published
Weekly downloads
29
increased by3.57%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

remark-bibliography

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.

Installation

npm install --save 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'
import frontmatter from 'remark-frontmatter'

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

License

MIT © Alex Shaw

Keywords

FAQs

Last updated on 08 Apr 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc