Docsv3.31.0
Back to API Reference
Class

NoparseTagRule

sealed
Inherits:ParseRule

Protects content inside <noparse>...</noparse> from being processed by any other parse rule. The markers themselves are stripped; the content between them appears verbatim in the output.

Remarks

Standalone rule — register via UniTextBase.AddRule without a modifier. If the closing </noparse> is missing, the remainder of the text is treated as protected (CommonMark-style forgiving close).
public int Priority{ get }
public bool IsStandalone{ get }
public string MarkupTriggers{ get }
public string TypingTriggers{ get }
public override bool IsCompleteMatch(in ParsedRange range)
public override int TryMatch(ReadOnlySpan<char> text, int index, PooledList<ParsedRange> results)

See Also