markdown-split

0.1.0 • Public • Published

markdown-sections

An extension to Markdown to split the content into sections / pages.

Markdown Sections

This:

 
§ Optional Section Name
 
# Some heading
 
Some content.
 
§
 
This section is anonymous.

is parsed to this:

 
{
  sections: [
    { name: 'Optional Section Name', content: '...'},
    { content: '...' }
  ]
}
 

Readme

Keywords

none

Package Sidebar

Install

npm i markdown-split

Weekly Downloads

1

Version

0.1.0

License

MIT

Unpacked Size

2.47 kB

Total Files

6

Last publish

Collaborators

  • danburzo