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

ncms-plugin-segment

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ncms-plugin-segment

Plugin template for NotionCMS

  • 0.3.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

ncms-plugin-segment

segment your notion docs

Need we say more?

Okay, well it's pretty basic:

  1. Use ncms
  2. Download this package npm i -D ncms-plugin-segment
  3. Install the plugin
new NotionCMS({
  databaseId: '...your db',
  notionAPIKey: process.env.YOUR_KEY,
  plugins: [
    ncmsSegmentPlugin(),
  ]
})
  1. Use horizontal rules in your pages where you want to break into sections.
  2. Now your ncms page objects will have a sections property holding an array of all of your sections.
  3. Sprinkle them around as you wish.

Options

keepRules boolean

By default this plugin strips out the horizontal rules in the process but if you happen to want them in your html, set this to true.

Keywords

FAQs

Package last updated on 07 Aug 2023

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc