ToSlice(List<StringLineGroup.LineOffset>?) Method

Definition

Namespace Markdig.Helpers
Assembly Markdig.dll

Converts the lines to a single StringSlice by concatenating the lines.

public readonly StringSlice ToSlice(List<StringLineGroup.LineOffset>? lineOffsets = null)

Parameters

lineOffsets
List<StringLineGroup.LineOffset>

The position of the \n line offsets from the beginning of the returned slice.

Returns

StringSlice
A single slice concatenating the lines of this instance