Skip to content
On this page

Section

  • This container marks its entire content as a named section.
  • Section can span multiple pages depending on how much content is inside.
  • You can create links in the document which redirect the user to the section.
  • Sections also stores additional data, e.g. the start/end page, page length, etc. that can be accessed within the Text element API.
csharp
.Section("links-chapter")
.Decoration(decoration =>
{
    decoration.Before().Text("About internal links");
    decoration.Content().Text("Some content");
});
.Section("links-chapter")
.Decoration(decoration =>
{
    decoration.Before().Text("About internal links");
    decoration.Content().Text("Some content");
});

Released under the MIT License.