This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Pandoc.
Summary
Shift heading levels by a positive or negative integer.For example, with --shift-heading-level-by= -1, level 2 headings become level 1 headings, and level 3 headings become level 2 headings.Headings cannot have a level less than 1, so a heading that would be shifted below level 1 becomes a regular paragraph. Exception: with a shift of -N, a level-N heading at the beginning of the document replaces the metadata title. --shift-heading-level-by= -1 is a good choice when converting HTML or Markdown documents that use an initial level-1 heading for the document title and level-2+ headings for sections. --shift-heading-level-by= 1 may be a good choice for converting Markdown documents that use level-1 headings for sections to HTML, since pandoc uses a level-1 heading to render the document title.
- Assembly
- Cake
.Pandoc .dll - Namespace
- Cake
.Pandoc - Containing Type
- PandocSettings
Syntax
public string ShiftHeadingLevelB { get; set; }
Attributes
Type | Description |
---|---|
DataMemberAttribute |
Value
Type | Description |
---|---|
string |