Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 870 Bytes

feature-normalization.md

File metadata and controls

37 lines (23 loc) · 870 Bytes

Header Levels Normalization

Header level adjustment is one of the normalizations applied by document formatting; this page describes its rules in detail.

IWE reads and understands nested structures based on headers. It identifies sub-header relationships. Markdown allows header structures where the nesting isn't clear, like:

## First Header

# Second Header

IWE automatically fixes the header levels to ensure they're nested correctly. So the example above corrects to:

# First Header

# Second Header

Removing unnecessary levels

IWE can normalize the headers structure by dropping unnecessary header levels, for example:

# First header

### Second header

Will be normalized by dropping unnecessary levels and will look like:

# First header

## Second header