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: '...' }
  ]
}
 

Dependencies (0)

    Dev Dependencies (2)

    Package Sidebar

    Install

    npm i markdown-split

    Weekly Downloads

    3

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    2.47 kB

    Total Files

    6

    Last publish

    Collaborators

    • danburzo