If given, add a custom suffix to the output filename of the header when using
-S, --split-headers.If the given suffix is empty, it defaults to
-split.For example, given:a However, if we instead wrote:it would not be placed under:and if we set a custom one as:it would go instead to:
= my h1
== my h2--split-headers conversion would normally place my h2 into a file called:my-h2.html== my h2
{splitSuffix}my-h2-split.html== my h2
{splitSuffix=asdf}my-h2-asdf.htmlThis option is useful if the root of your website is written in OurBigBook, and you want to both:
- have a section that talks about some other project
- host the documentation of that project inside the project source tree
For example, cirosantilli.com with source at github.com/cirosantilli/cirosantilli.github.io has a quick section about OurBigBook: cirosantilli.com#ourbigbook.
Therefore, without a custom suffix, the split header version of that header would go to docs.ourbigbook.com, which would collide with this documentation, that is present in a separate repository: github.com/ourbigbook/ourbigbook.
Therefore a
splitSuffix property is used, making the split header version fall under /ourbigbook-split, and leaving the nicer /ourbigbook for the more important project toplevel.If given on the the toplevel headers, which normally gets a suffix by default to differentiate from the non-split version, it replaces the default
-split suffix with a custom one.For example if you had then it would render to:but if you used instead:then it would instead be:
notindex.bigb as:= Not indexnotindex-split.bigb= Not index
{splitSuffix=asdf}notindex-asdf.bigb