1.1.1 • Published 3 years ago

remark-heading-shift v1.1.1

Weekly downloads
453
License
MIT
Repository
github
Last release
3 years ago

remark-heading-shift Build Status Coverage Status

This plugin increments headings by shift. It guards against shifting too far backwards or forwards.

shift defaults to 1, it can be a positive or negative value, it will never shift a heading past 6 (because h6 is the smallest HTML heading) in case of a positive shift, or lower than 1 (h0 is not a valid HTML heading) in case of a negative shift.

For example, the following markdown:

## foo
#### bar
##### baz

Yields:

(shift=1)
### foo
##### bar
###### baz


(shift=3)
##### foo
###### bar
###### baz


(shift=-2)
# foo
## bar
### baz

License

MIT © Zeste de Savoir

1.1.1

3 years ago

1.1.0

4 years ago

1.0.14

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.0.15

7 years ago

0.0.14

7 years ago

0.0.13

7 years ago

0.0.12

7 years ago

0.0.11

7 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago