Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@elderjs/plugin-markdown

Package Overview
Dependencies
Maintainers
2
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@elderjs/plugin-markdown - npm Package Compare versions

Comparing version 0.1.22 to 0.1.26

2

package.json
{
"name": "@elderjs/plugin-markdown",
"version": "0.1.22",
"version": "0.1.26",
"description": "Easily create routes from your markdown files on your Elder.js site using the remark ecosystem.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -41,3 +41,3 @@ # Elder.js Plugin: Markdown

frontmatter, // 'remark-frontmatter' package
[extractFrontmatter, { name: 'frontmatter', yaml: yaml }], // 'remark-extract-frontmatter' and 'yaml' packages.
[extractFrontmatter, { name: 'frontmatter', yaml: yaml.parse }], // 'remark-extract-frontmatter' and 'yaml' packages.
remarkSlug, // 'remark-slug' package

@@ -54,2 +54,3 @@ remarkHtml, // 'remark-html' package

useTableOfContents: false, // adds tocTree to each route's data object.
createRoutes: true, // creates routes in allRequests based on collected md files.
},

@@ -82,3 +83,3 @@

1. If you add a single plugin in your `elder.config.js`, you must specify a full `remark` pipeline.
1. If a plugin such as `remark-extract-frontmatter` needs an array of options, you can pass in an array like so: `remarkPlugins: [[extractFrontmatter, { name: 'frontmatter', yaml: yaml }]]`
1. If a plugin such as `remark-extract-frontmatter` needs an array of options, you can pass in an array like so: `remarkPlugins: [[extractFrontmatter, { name: 'frontmatter', yaml: yaml.parse }]]`

@@ -85,0 +86,0 @@ ### Notes:

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc