Style

Processor name: style

The style processor is a pre-processor that checks that the input Markdown to enforce style rules. These rules include:

  • Processor tags have empty lines before and after.
  • Processor tags do not share a line with other text.

An example of a valid document follows:

This is valid.

{panel}

This is valid.

{panel end}

This is valid.

Error Example(s)

Note

The examples covered in this section are invalid and will raise errors.

The following examples raise errors because the processor tags do not have empty lines before and after.

This is not valid
{panel}
This is not valid
{panel end}
This is not valid
{panel}
This is not valid
{panel end}
This is not valid
{panel}

{panel end}
{panel}

{panel end}
This is not valid

The following examples raise errors because the processor tags share a line with other text.

{panel} This is not valid

{comment this is not valid} {panel end}
{panel}

{glossary-link this is not valid} {panel end}