https://github.com/hmarr/gitbook-plugin-numbered-headings
Numbered headings for GitBook PDFs
https://github.com/hmarr/gitbook-plugin-numbered-headings
Last synced: about 1 year ago
JSON representation
Numbered headings for GitBook PDFs
- Host: GitHub
- URL: https://github.com/hmarr/gitbook-plugin-numbered-headings
- Owner: hmarr
- Created: 2016-02-15T21:36:13.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-02-15T23:27:39.000Z (over 10 years ago)
- Last Synced: 2025-04-30T17:09:56.272Z (about 1 year ago)
- Language: CSS
- Size: 1.95 KB
- Stars: 2
- Watchers: 2
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
```js
{
"plugins": ["numbered-headings"]
}
```
To adjust the style of the numbers, use:
```css
h1:before, h2:before, h3:before, h4:before, h5:before {
color: #aaa;
width: 40px;
}
```