LandingSection

Ecng.Markdown.Extensions

:::section [dashed] [center] [narrow] — a full-width page section. A leading heading and the paragraph after it form the section head, a paragraph of links becomes buttons, everything else is written as is.

实现: ISectionBlock

属性

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

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

方法

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

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

renderer
The HTML renderer.
block
The container being rendered.