1.1.2 • Published 1 year ago

remark-heading-shift v1.1.2

Weekly downloads
453
License
MIT
Repository
github
Last release
1 year 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.2

1 year ago

1.1.1

4 years ago

1.1.0

5 years ago

1.0.14

6 years ago

1.0.13

6 years ago

1.0.12

6 years ago

1.0.11

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.0.15

8 years ago

0.0.14

8 years ago

0.0.13

8 years ago

0.0.12

8 years ago

0.0.11

8 years ago

0.0.10

8 years ago

0.0.9

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago