MarkdownSyntaxFactory Class

MarkdownSyntaxFactory class

Factory used to create various MarkdownSyntaxNode descendants.

public class MarkdownSyntaxFactory

Methods

NameDescription
AtxHeading(string)Creates AtxHeadingSyntaxNode with text content.
AtxHeading(MarkdownSyntaxToken, MarkdownSyntaxToken)Creates AtxHeadingSyntaxNode.
AtxHeading(string, int)Creates AtxHeadingSyntaxNode with text content and heading level.
AutoLink(MarkdownSyntaxToken, TextSyntaxNode, MarkdownSyntaxToken)Creates AutoLinkSyntaxNode.
AutoLink(MarkdownSyntaxToken, TextSyntaxNode, MarkdownSyntaxToken, bool)Creates AutoLinkSyntaxNode.
BlockProxy(MarkdownSyntaxNode)Creates BlockProxy.
BlockQuote()Creates BlockQuoteSyntaxNode.
CharacterReference(SourceText, TextSpan, string)Creates WhitespaceSyntaxNode.
CodeSpan()Creates the CodeSpanSyntaxNode.
CodeSpan(int)Creates the CodeSpanSyntaxNode with the specified number of backticks.
CodeSpan(MarkdownSyntaxToken, MarkdownSyntaxToken)Creates CodeSpanSyntaxNode.
Emphasis(Emphasis)Create the EmphasisSyntax.
Emphasis(MarkdownSyntaxToken, MarkdownSyntaxToken)Creates EmphasisSyntaxNode.
EmphasisClosing(SourceText, TextSpan)Create EmphasisClosing.
EmphasisOpening(SourceText, TextSpan)Create the MarkdownSyntaxToken.
EmptyLine()Creates EmptyLineSyntaxNode.
EscapedCharacter(char)Creates TextSyntaxNode.
EscapedCharacter(SourceText, TextSpan)Creates TextSyntaxNode.
FencedCodeBlock(MarkdownSyntaxToken, TextSyntaxNode)Creates FencedCodeBlockSyntaxNode.
FencedCodeBlock(MarkdownSyntaxToken, TextSyntaxNode, MarkdownSyntaxToken)Creates FencedCodeBlockSyntaxNode.
HardBreak(MarkdownSyntaxToken, SourceText, TextSpan)Creates HardBreakSyntaxNode.
HardBreakingTag(SourceText, TextSpan)Create HardBreakingTag.
HTMLFragment()Creates HTMLFragmentSyntax.
HTMLFragment(SourceText, TextSpan)Creates HTMLFragmentSyntax.
HugoShortCode(MarkdownSyntaxToken, MarkdownSyntaxToken, MarkdownSyntaxToken)Creates HugoShortCodeSyntaxNode.
HugoShortCodeParameter(TextSyntaxNode, MarkdownSyntaxToken, MarkdownSyntaxToken, TextSyntaxNode, MarkdownSyntaxToken)Creates ShortCodeParameterSyntaxNode.
HugoYamlBasedFrontMatter(MarkdownSyntaxToken, TextSyntaxNode, MarkdownSyntaxToken)Creates HugoYamlBasedFrontMatterSyntaxNode.
IndentedCode()Creates IndentedCodeBlockSyntaxNode.
IndentedCode(int)Creates IndentedCodeBlockSyntaxNode.
InlineContainer()Creates InlineContainerSyntaxNode.
InlineImage(string, string, string)Creates InlineImageSyntaxNode.
InlineImage(MarkdownSyntaxToken, MarkdownSyntaxToken, MarkdownSyntaxToken, LinkDestinationSyntaxNode, LinkTitleSyntaxNode, MarkdownSyntaxToken)Creates InlineImageSyntaxNode.
InlineLink(string, string, string)Creates InlineLink.
InlineLink(MarkdownSyntaxToken, MarkdownSyntaxToken, MarkdownSyntaxToken, LinkDestinationSyntaxNode, LinkTitleSyntaxNode, MarkdownSyntaxToken)Creates InlineLinkSyntaxNode.
InlineProxy(MarkdownSyntaxNode)Creates InlineProxy.
LinkDestination()Creates LinkDestinationSyntaxNode.
LinkDestination(string)Creates LinkDestinationSyntaxNode object from a string.
LinkDestination(MarkdownSyntaxToken, MarkdownSyntaxToken)Creates LinkDestinationSyntaxNode.
LinkLabel(string)Creates link label from a string.
LinkReferenceDefinition(MarkdownSyntaxToken, TextSyntaxNode, MarkdownSyntaxToken, LinkDestinationSyntaxNode, LinkTitleSyntaxNode)Creates LinkReferenceDefinitionSyntaxNode.
LinkTitle()Creates LinkTitleSyntaxNode.
LinkTitle(string)Creates LinkTitleSyntaxNode object from a string.
LinkTitle(MarkdownSyntaxToken, MarkdownSyntaxToken)Creates LinkTitleSyntaxNode.
ListItem(ListItemMarker)Creates ListItemSyntaxNode.
ListItemMarker(MarkdownSyntaxToken)Creates ListItemMarker.
ListItemMarker(MarkdownSyntaxToken, MarkdownSyntaxToken)Creates ListItemMarker.
NewLineTrivia()Creates NewLineTrivia.
OrderedList()Creates OrderedListSyntaxNode.
OrderedListItem(int)Creates a new instance of the ListItemSyntaxNode class with ordered list item marker.
Paragraph()Creates ParagraphSyntaxNode.
ReferenceImage(MarkdownSyntaxToken, MarkdownSyntaxToken, MarkdownSyntaxToken, InlineContainerSyntaxNode, MarkdownSyntaxToken)Creates ReferenceImageSyntaxNode.
ReferenceLink(MarkdownSyntaxToken, InlineContainerSyntaxNode, MarkdownSyntaxToken, MarkdownSyntaxToken, InlineContainerSyntaxNode, MarkdownSyntaxToken)Creates ReferenceLinkSyntaxNode.
SetextHeading(MarkdownSyntaxToken)Creates SetextHeadingSyntaxNode.
SoftBreak(SourceText, TextSpan)Creates SoftBreakSyntaxNode.
Table()Creates TableSyntaxNode.
TableCell()Creates TableCellSyntaxNode.
TableDelimiter(MarkdownSyntaxToken)Creates TableDelimiterSyntaxNode.
TableRow()Creates TableRowSyntaxNode.
TaskListItem(ListItemMarker, TaskListItemMarker)Creates TaskListItemSyntaxNode.
TaskListItemMarker(MarkdownSyntaxToken, MarkdownSyntaxToken, MarkdownSyntaxToken)Creates TaskListItemMarker.
Text(SourceText)Create the TextSyntax from SourceText.
Text(string)Creates TextSyntax
Text(SourceText, TextSpan)Create the TextSyntax from SourceText and TextSpan.
ThematicBreak(MarkdownSyntaxToken)Creates ThematicBreakSyntaxNode.
Token(SourceText)Creates MarkdownSyntaxToken.
Token(SourceText, TextSpan)Creates MarkdownSyntaxToken.
Trivia(SourceText, TextSpan)Creates Whitespace.
UnorderedList()Creates UnorderedListSyntaxNode.
UnorderedListItem(string)Creates a new instance of the ListItemSyntaxNode class with unordered list item marker.
Whitespace()Create the WhitespaceSyntax.
Whitespace(int)Create the WhitespaceSyntax.
Whitespace(SourceText)Create the WhitespaceSyntax.
Whitespace(SourceText, TextSpan)Creates WhitespaceSyntaxNode.

See Also