HeroSection

Ecng.Markdown.Extensions

:::hero — the page opening. A paragraph above the heading is the eyebrow, the first heading the title, the text after it the lede and a paragraph of links the buttons. A nested block (:::index) is written as is, and text after the buttons or the nested block is the note under them.

実装: ISectionBlock

プロパティ

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

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

メソッド

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

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

renderer
The HTML renderer.
block
The container being rendered.