C# Class Microsoft.DocAsCode.Dfm.DfmXrefShortcutInlineRule

XREF regex: 1. If content after `@` is wrapped by `'` or `"`, it contains any character including white space 2. If content after `@` is not wrapped by `'` or `"`, It must start with word character `a-z` or `A-Z` It ends when a. line ends b. meets whitespaces c. line ends with `.`, `,`, `;`, `:`, `!`, `?` and `~` d. meets 2 times or more `.`, `,`, `;`, `:`, `!`, `?` and `~`
Inheritance: IMarkdownRule
显示文件 Open project: dotnet/docfx

Public Properties

Property Type Description
XrefShortcutRegexString string
XrefShortcutRegexWithQuoteString string

Public Methods

Method Description
TryMatch ( IMarkdownParser parser, IMarkdownParsingContext context ) : IMarkdownToken

Method Details

TryMatch() public method

public TryMatch ( IMarkdownParser parser, IMarkdownParsingContext context ) : IMarkdownToken
parser IMarkdownParser
context IMarkdownParsingContext
return IMarkdownToken

Property Details

XrefShortcutRegexString public_oe static_oe property

public static string XrefShortcutRegexString
return string

XrefShortcutRegexWithQuoteString public_oe static_oe property

public static string XrefShortcutRegexWithQuoteString
return string