-
-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Labels
Description
Add an option to the include file function that would increment heading size of the document being included to the size of the host section heading.
Example:
Source README.md:
# README
## Section where LICENSE is included
{"gitdown": "include", "file": "./LICENSE.md","adjustHeading":"contain"}Source LICENSE.md:
# LICENSE
Foo
## bar
BarCurrent output:
# README
## Section where LICENSE is included
# LICENSE
Foo
## bar
BarDesired output:
# README
## Section where LICENSE is included
### LICENSE
Foo
### bar
Bar