gitbook-plugin-chapter-headings

0.1.0 • Public • Published

Numbered headings for GitBook PDFs

For example:


1 Main heading

Some text.

1.1 First subheading

More text.

1.2 Another subheading

Even more text.

1.2.1 A sub-sub heading

Running out of things to say.


Usage

{
  "plugins": ["chapter-headings"]
}

To adjust the style of the numbers, use:

h1:beforeh2:beforeh3:beforeh4:beforeh5:before {
  color: #aaa;
  width: 40px;
}

Readme

Keywords

none

Package Sidebar

Install

npm i gitbook-plugin-chapter-headings

Weekly Downloads

0

Version

0.1.0

License

none

Unpacked Size

4.34 kB

Total Files

5

Last publish

Collaborators

  • spklein