namespace TightWiki.Engine.Library { public class Constants { public const string SoftBreak = ""; //These will remain as \r\n in the final HTML. public const string HardBreak = ""; //These will remain as
in the final HTML. public enum WikiMatchType { ScopeFunction, Emoji, Instruction, Comment, Variable, Markup, Error, StandardFunction, Link, Heading, Literal } public enum HandlerResultInstruction { /// /// Does not process the match, allowing it to be processed by another handler. /// Skip, /// /// Removes any single trailing newline after match. /// TruncateTrailingLine, /// /// Will not continue to process content in this block. /// DisallowNestedProcessing, /// /// As opposed to the default functionality of replacing all matches, this will cause ony the first match to be replaced. /// This also means that each match will be processed individually, which can impact performance. /// OnlyReplaceFirstMatch } } }