ParseColumnHeaderAuto(ref StringSlice, out Char, out Nullable) Method

Definition

Assembly Markdig.dll

Parses a column header equivalent to the regexp:

\s*:\s*[delimiterChar]+\s*:\s*

public static bool ParseColumnHeaderAuto(ref StringSlice slice, scoped out char delimiterChar, scoped out TableColumnAlign? align)

Parameters

slice
StringSlice

The text slice.

delimiterChar
Char

The delimiter character (either - or =).

align
Nullable<TableColumnAlign>

The alignment of the column.

Returns

Boolean
true if parsing was successful