123123
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
namespace ZelWiki.Engine.Library
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class Constants
|
||||
{
|
||||
public const string SoftBreak = "<!--SoftBreak-->"; //These will remain as \r\n in the final HTML.
|
||||
public const string HardBreak = "<!--HardBreak-->"; //These will remain as <br /> in the final HTML.
|
||||
public const string SoftBreak = "<!--SoftBreak-->";
|
||||
public const string HardBreak = "<!--HardBreak-->";
|
||||
|
||||
public enum WikiMatchType
|
||||
{
|
||||
@@ -23,22 +26,24 @@
|
||||
public enum HandlerResultInstruction
|
||||
{
|
||||
/// <summary>
|
||||
/// Does not process the match, allowing it to be processed by another handler.
|
||||
/// 不处理匹配,允许它由另一个处理程序处理
|
||||
/// </summary>
|
||||
Skip,
|
||||
|
||||
/// <summary>
|
||||
/// Removes any single trailing newline after match.
|
||||
/// 删除匹配后的任何单个尾随换行符
|
||||
/// </summary>
|
||||
TruncateTrailingLine,
|
||||
|
||||
/// <summary>
|
||||
/// Will not continue to process content in this block.
|
||||
/// 将不会继续处理此块中的内容
|
||||
/// </summary>
|
||||
DisallowNestedProcessing,
|
||||
|
||||
/// <summary>
|
||||
/// 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.
|
||||
///
|
||||
/// </summary>
|
||||
OnlyReplaceFirstMatch
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user