PillarSection

Ecng.Markdown.Extensions

:::pillar [band] [flip] {#anchor} — one numbered part of a landing: a picture or a diagram on one side, the text on the other. Picture paragraphs fill the media side (the first picture large, the rest as a strip), as does a ```diagram fence, bare or in a ^^^ figure whose caption labels it. On the text side a paragraph above the heading is the eyebrow, the paragraph after the heading the lede and the first list the features.

Implements: ISectionBlock

Properties

Name
public string Name { get; }
value = pillarSection.Name

The container info this block answers to, e.g. "hero" for ":::hero". Compared case-insensitively.

Methods

Write
public void Write(HtmlRenderer renderer, CustomContainer block)
pillarSection.Write(renderer, block)

Writes the whole section, including its outer element and children.

renderer
The HTML renderer.
block
The container being rendered.