API Reference
Struct
MarkdownSourceSpan
Source span for markdown syntax nodes.
Inheritance
- ValueType
- MarkdownSourceSpan
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property AbbreviationInline.SourceSpan
- Property AbbreviationInline.TextSourceSpan
- Property AbbreviationInline.TitleSourceSpan
- Property BoldInline.SourceSpan
- Property BoldItalicInline.SourceSpan
- Property BoldItalicSequenceInline.SourceSpan
- Property BoldSequenceInline.SourceSpan
- Property CalloutBlock.ClosingMarkerSourceSpan
- Property CalloutBlock.KindSourceSpan
- Property CalloutBlock.OpeningMarkerSourceSpan
- Property CalloutBlock.SourceSpan
- Property CalloutBlock.TitleSourceSpan
- Property CodeBlock.ClosingFenceSourceSpan
- Property CodeBlock.ContentSourceSpan
- Property CodeBlock.InfoStringSourceSpan
- Property CodeBlock.OpeningFenceSourceSpan
- Property CodeBlock.SourceSpan
- Property CodeSpanInline.ContentSourceSpan
- Property CodeSpanInline.SourceSpan
- Property CustomContainerBlock.ClosingFenceSourceSpan
- Property CustomContainerBlock.InfoSourceSpan
- Property CustomContainerBlock.NameSourceSpan
- Property CustomContainerBlock.OpeningFenceSourceSpan
- Property CustomContainerBlock.SourceSpan
- Property DefinitionListBlock.SourceSpan
- Property DefinitionListDefinition.BlankLineSourceSpans
- Property DefinitionListDefinition.ContinuationIndentSourceSpans
- Property DefinitionListDefinition.SourceSpan
- Property DefinitionListEntry.SourceSpan
- Property DefinitionListGroup.SourceSpan
- Property DefinitionListTerm.SourceSpan
- Property DetailsBlock.ClosingTagSourceSpan
- Property DetailsBlock.OpeningTagSourceSpan
- Property DetailsBlock.SourceSpan
- Property FootnoteDefinitionBlock.LabelSourceSpan
- Property FootnoteDefinitionBlock.OpeningMarkerSourceSpan
- Property FootnoteDefinitionBlock.SeparatorMarkerSourceSpan
- Property FootnoteDefinitionBlock.SourceSpan
- Property FootnoteRefInline.SourceSpan
- Property FrontMatterBlock.BodySourceSpan
- Property FrontMatterBlock.SourceSpan
- Property Entry.KeySourceSpan
- Property Entry.SourceSpan
- Property Entry.ValueSourceSpan
- Property HardBreakInline.MarkerSourceSpan
- Property HardBreakInline.SourceSpan
- Property HeadingBlock.ClosingMarkerSourceSpan
- Property HeadingBlock.LevelSourceSpan
- Property HeadingBlock.OpeningMarkerSourceSpan
- Property HeadingBlock.SetextUnderlineMarkerSourceSpan
- Property HeadingBlock.SourceSpan
- Property HeadingBlock.TextSourceSpan
- Property HighlightInline.SourceSpan
- Property HighlightSequenceInline.SourceSpan
- Property HorizontalRuleBlock.MarkerSourceSpan
- Property HorizontalRuleBlock.SourceSpan
- Property HtmlCommentBlock.BodySourceSpan
- Property HtmlCommentBlock.ClosingMarkerSourceSpan
- Property HtmlCommentBlock.OpeningMarkerSourceSpan
- Property HtmlCommentBlock.SourceSpan
- Property HtmlRawBlock.BodySourceSpan
- Property HtmlRawBlock.ClosingMarkerSourceSpan
- Property HtmlRawBlock.ClosingTagSourceSpan
- Property HtmlRawBlock.OpeningMarkerSourceSpan
- Property HtmlRawBlock.OpeningTagSourceSpan
- Property HtmlRawBlock.SourceSpan
- Property HtmlRawInline.SourceSpan
- Property HtmlTagSequenceInline.SourceSpan
- Property ImageBlock.AltSourceSpan
- Property ImageBlock.LinkTitleSourceSpan
- Property ImageBlock.LinkUrlSourceSpan
- Property ImageBlock.PathSourceSpan
- Property ImageBlock.SourceSpan
- Property ImageBlock.TitleSourceSpan
- Property ImageInline.AltSourceSpan
- Property ImageInline.SourceSpan
- Property ImageInline.SrcSourceSpan
- Property ImageInline.TitleSourceSpan
- Property ImageLinkInline.AltSourceSpan
- Property ImageLinkInline.ImageUrlSourceSpan
- Property ImageLinkInline.LinkTitleSourceSpan
- Property ImageLinkInline.LinkUrlSourceSpan
- Property ImageLinkInline.SourceSpan
- Property ImageLinkInline.TitleSourceSpan
- Property InlineSequence.SourceSpan
- Property InsertedInline.SourceSpan
- Property InsertedSequenceInline.SourceSpan
- Property ItalicInline.SourceSpan
- Property ItalicSequenceInline.SourceSpan
- Property LinkInline.HtmlRelSourceSpan
- Property LinkInline.HtmlTargetSourceSpan
- Property LinkInline.SourceSpan
- Property LinkInline.TitleSourceSpan
- Property LinkInline.UrlSourceSpan
- Property ListItem.MarkerSourceSpan
- Property ListItem.SourceSpan
- Property ListItem.TaskMarkerSourceSpan
- Property MarkdownAbbreviationDefinition.LabelSourceSpan
- Property MarkdownAbbreviationDefinition.OpeningMarkerSourceSpan
- Property MarkdownAbbreviationDefinition.SeparatorMarkerSourceSpan
- Property MarkdownAbbreviationDefinition.SourceSpan
- Property MarkdownAbbreviationDefinition.TitleSourceSpan
- Property MarkdownBlock.SourceSpan
- Method MarkdownBlockParserContext.CreateLineSpan
- Method MarkdownBlockParserContext.CreateSourceSpan
- Method MarkdownBlockSyntaxBuilderContext.GetAggregateSpan
- Property MarkdownDoc.SourceSpan
- Property MarkdownDocumentTransformContext.TopLevelBlockSourceSpans
- Property MarkdownDocumentTransformDiagnostic.AffectedFinalBlockSpan
- Property MarkdownDocumentTransformDiagnostic.AffectedFinalNodeSpan
- Property MarkdownDocumentTransformDiagnostic.AffectedOriginalBlockSpan
- Property MarkdownDocumentTransformDiagnostic.AffectedOriginalNodeSpan
- Property MarkdownDocumentTransformDiagnostic.AffectedSourceSpan
- Property MarkdownDocumentTransformDiagnostic.AffectedSourceSpans
- Property MarkdownGeneratedSyntaxDiagnostic.SourceSpan
- Property MarkdownInline.SourceSpan
- Method MarkdownInlineParserContext.GetSourceSpan
- Method MarkdownInlineSyntaxBuilderContext.GetAggregateSpan
- Method MarkdownInlineTransformContext.GetSourceSpan
- Property MarkdownNativeAbbreviationDefinitionField.SourceSpan
- Property MarkdownNativeBlock.SourceSpan
- Property MarkdownNativeBlockSourceField.SourceSpan
- Property MarkdownNativeCalloutBlock.BodySourceSpan
- Property MarkdownNativeCalloutBlock.ClosingMarkerSourceSpan
- Property MarkdownNativeCalloutBlock.KindSourceSpan
- Property MarkdownNativeCalloutBlock.OpeningMarkerSourceSpan
- Property MarkdownNativeCalloutBlock.SourceSpan
- Property MarkdownNativeCalloutBlock.TitleSourceSpan
- Property MarkdownNativeCodeBlock.AttributeSourceSpan
- Property MarkdownNativeCodeBlock.ClosingFenceSourceSpan
- Property MarkdownNativeCodeBlock.ContentSourceSpan
- Property MarkdownNativeCodeBlock.InfoStringSourceSpan
- Property MarkdownNativeCodeBlock.OpeningFenceSourceSpan
- Property MarkdownNativeCodeBlock.SourceSpan
- Property MarkdownNativeCustomContainerBlock.BodySourceSpan
- Property MarkdownNativeCustomContainerBlock.ClosingFenceSourceSpan
- Property MarkdownNativeCustomContainerBlock.InfoSourceSpan
- Property MarkdownNativeCustomContainerBlock.NameSourceSpan
- Property MarkdownNativeCustomContainerBlock.OpeningFenceSourceSpan
- Property MarkdownNativeCustomContainerBlock.SourceSpan
- Property MarkdownNativeDefinitionListBlock.SourceSpan
- Property MarkdownNativeDefinitionListDefinition.BlankLineSourceSpans
- Property MarkdownNativeDefinitionListDefinition.ContinuationIndentSourceSpans
- Property MarkdownNativeDefinitionListDefinition.SourceSpan
- Property MarkdownNativeDefinitionListGroup.SourceSpan
- Property MarkdownNativeDefinitionListTerm.SourceSpan
- Property MarkdownNativeDetailsBlock.BodySourceSpan
- Property MarkdownNativeDetailsBlock.ClosingTagSourceSpan
- Property MarkdownNativeDetailsBlock.OpeningTagSourceSpan
- Property MarkdownNativeDetailsBlock.SourceSpan
- Property MarkdownNativeDetailsBlock.SummaryClosingTagSourceSpan
- Property MarkdownNativeDetailsBlock.SummaryOpeningTagSourceSpan
- Property MarkdownNativeDetailsBlock.SummarySourceSpan
- Property MarkdownNativeDetailsBlock.SummaryTextSourceSpan
- Property MarkdownNativeDiagnostic.RelatedSourceSpans
- Property MarkdownNativeDiagnostic.SourceSpan
- Property MarkdownNativeFootnoteDefinitionBlock.BodySourceSpan
- Property MarkdownNativeFootnoteDefinitionBlock.LabelSourceSpan
- Property MarkdownNativeFootnoteDefinitionBlock.OpeningMarkerSourceSpan
- Property MarkdownNativeFootnoteDefinitionBlock.SeparatorMarkerSourceSpan
- Property MarkdownNativeFootnoteDefinitionBlock.SourceSpan
- Property MarkdownNativeFrontMatterBlock.BodySourceSpan
- Property MarkdownNativeFrontMatterBlock.ClosingFenceSourceSpan
- Property MarkdownNativeFrontMatterBlock.OpeningFenceSourceSpan
- Property MarkdownNativeFrontMatterBlock.SourceSpan
- Property MarkdownNativeHeadingBlock.ClosingMarkerSourceSpan
- Property MarkdownNativeHeadingBlock.LevelSourceSpan
- Property MarkdownNativeHeadingBlock.OpeningMarkerSourceSpan
- Property MarkdownNativeHeadingBlock.SetextUnderlineMarkerSourceSpan
- Property MarkdownNativeHeadingBlock.SourceSpan
- Property MarkdownNativeHeadingBlock.TextSourceSpan
- Property MarkdownNativeHtmlBlock.BodySourceSpan
- Property MarkdownNativeHtmlBlock.ClosingMarkerSourceSpan
- Property MarkdownNativeHtmlBlock.ClosingTagSourceSpan
- Property MarkdownNativeHtmlBlock.OpeningMarkerSourceSpan
- Property MarkdownNativeHtmlBlock.OpeningTagSourceSpan
- Property MarkdownNativeHtmlBlock.RawBodySourceSpan
- Property MarkdownNativeHtmlBlock.RawClosingMarkerSourceSpan
- Property MarkdownNativeHtmlBlock.RawOpeningMarkerSourceSpan
- Property MarkdownNativeHtmlBlock.SourceSpan
- Property MarkdownNativeImageBlock.AltSourceSpan
- Property MarkdownNativeImageBlock.LinkTitleSourceSpan
- Property MarkdownNativeImageBlock.LinkUrlSourceSpan
- Property MarkdownNativeImageBlock.SourceSourceSpan
- Property MarkdownNativeImageBlock.SourceSpan
- Property MarkdownNativeImageBlock.TitleSourceSpan
- Property MarkdownNativeInline.SourceSpan
- Property MarkdownNativeInlineMetadata.SourceSpan
- Property MarkdownNativeListBlock.SourceSpan
- Property MarkdownNativeListItem.ContentSourceSpan
- Property MarkdownNativeListItem.MarkerSourceSpan
- Property MarkdownNativeListItem.SourceSpan
- Property MarkdownNativeListItem.TaskMarkerSourceSpan
- Property MarkdownNativeListItemParagraph.SourceSpan
- Property MarkdownNativeOtherBlock.SourceSpan
- Property MarkdownNativeParagraphBlock.SourceSpan
- Property MarkdownNativeParagraphBlock.TextSourceSpan
- Property MarkdownNativeQuoteBlock.BodySourceSpan
- Property MarkdownNativeQuoteBlock.MarkerSourceSpans
- Property MarkdownNativeQuoteBlock.SourceSpan
- Property MarkdownNativeReferenceLinkDefinitionField.SourceSpan
- Property MarkdownNativeSourceEdit.SourceSpan
- Property MarkdownNativeSourceTrivia.SourceSpan
- Property MarkdownNativeTableAlignmentCell.SourceSpan
- Property MarkdownNativeTableBlock.AlignmentRowSourceSpan
- Property MarkdownNativeTableBlock.SourceSpan
- Property MarkdownNativeTableCell.SourceSpan
- Property MarkdownNativeTablePipe.SourceSpan
- Property MarkdownNativeTableRow.SourceSpan
- Property MarkdownNativeThematicBreakBlock.MarkerSourceSpan
- Property MarkdownNativeThematicBreakBlock.SourceSpan
- Property MarkdownNativeVisualBlock.AttributeSourceSpan
- Property MarkdownNativeVisualBlock.ClosingFenceSourceSpan
- Property MarkdownNativeVisualBlock.ContentSourceSpan
- Property MarkdownNativeVisualBlock.InfoStringSourceSpan
- Property MarkdownNativeVisualBlock.OpeningFenceSourceSpan
- Property MarkdownNativeVisualBlock.SourceSpan
- Property MarkdownObject.SourceSpan
- Property MarkdownReferenceLinkDefinition.LabelSourceSpan
- Property MarkdownReferenceLinkDefinition.OpeningMarkerSourceSpan
- Property MarkdownReferenceLinkDefinition.SeparatorMarkerSourceSpan
- Property MarkdownReferenceLinkDefinition.SourceSpan
- Property MarkdownReferenceLinkDefinition.TitleSourceSpan
- Property MarkdownReferenceLinkDefinition.UrlSourceSpan
- Property MarkdownRoundtripDiagnostic.RelatedSourceSpans
- Property MarkdownRoundtripDiagnostic.SourceSpan
- Property MarkdownSourceMapping.SourceSpan
- Property MarkdownSourceSlice.SourceSpan
- Property MarkdownSyntaxNode.SourceSpan
- Property MarkdownTextRun.EscapedCharacterSourceSpan
- Property MarkdownTextRun.EscapeMarkerSourceSpan
- Property MarkdownTextRun.SourceSpan
- Property OrderedListBlock.SourceSpan
- Property ParagraphBlock.SourceSpan
- Property QuoteBlock.MarkerSourceSpans
- Property QuoteBlock.SourceSpan
- Property SemanticFencedBlock.ClosingFenceSourceSpan
- Property SemanticFencedBlock.ContentSourceSpan
- Property SemanticFencedBlock.InfoStringSourceSpan
- Property SemanticFencedBlock.OpeningFenceSourceSpan
- Property SemanticFencedBlock.SourceSpan
- Property SoftBreakInline.SourceSpan
- Property StrikethroughInline.SourceSpan
- Property StrikethroughSequenceInline.SourceSpan
- Property SubscriptInline.SourceSpan
- Property SubscriptSequenceInline.SourceSpan
- Property SummaryBlock.ClosingTagSourceSpan
- Property SummaryBlock.OpeningTagSourceSpan
- Property SummaryBlock.SourceSpan
- Property SummaryBlock.TextSourceSpan
- Property SuperscriptInline.SourceSpan
- Property SuperscriptSequenceInline.SourceSpan
- Property TableBlock.SourceSpan
- Property TableCell.SourceSpan
- Property TableRow.SourceSpan
- Property TocBlock.SourceSpan
- Property TocMarkerBlock.SourceSpan
- Property UnderlineInline.SourceSpan
- Property UnorderedListBlock.SourceSpan
Accepted by parameters
- Method ISyntaxMarkdownBlock.BuildSyntaxNode
- Method ISyntaxMarkdownBlockWithContext.BuildSyntaxNode
- Method ISyntaxMarkdownInline.BuildSyntaxNode
- Constructor MarkdownAbbreviationDefinition.MarkdownAbbreviationDefinition
- Constructor MarkdownAbbreviationDefinition.MarkdownAbbreviationDefinition
- Constructor MarkdownAbbreviationDefinition.MarkdownAbbreviationDefinition
- Constructor MarkdownAbbreviationDefinition.MarkdownAbbreviationDefinition
- Constructor MarkdownAbbreviationDefinition.MarkdownAbbreviationDefinition
- Method MarkdownBlockParserContext.TryCreateSourceSlice
- Method MarkdownBlockSyntaxBuilderContext.BuildBlock
- Method MarkdownBlockSyntaxBuilderContext.BuildInlineContainerNode
- Method MarkdownBlockSyntaxBuilderContext.BuildInlineContainerNode
- Method MarkdownBodyRenderContext.TryCreateOriginalSourceSlice
- Method MarkdownBodyRenderContext.TryCreateOriginalSourceSlice
- Method MarkdownBodyRenderContext.TryCreateSourceSlice
- Constructor MarkdownDocumentTransformContext.MarkdownDocumentTransformContext
- Method MarkdownDocumentTransformContext.TryCreateOriginalSourceSlice
- Method MarkdownDocumentTransformContext.TryCreateOriginalSourceSlice
- Method MarkdownDocumentTransformContext.TryCreateSourceSlice
- Method MarkdownInlineHtmlRenderContext.TryCreateOriginalSourceSlice
- Method MarkdownInlineHtmlRenderContext.TryCreateOriginalSourceSlice
- Method MarkdownInlineHtmlRenderContext.TryCreateSourceSlice
- Method MarkdownInlineMarkdownRenderContext.TryCreateOriginalSourceSlice
- Method MarkdownInlineMarkdownRenderContext.TryCreateOriginalSourceSlice
- Method MarkdownInlineMarkdownRenderContext.TryCreateSourceSlice
- Method MarkdownInlineTransformContext.TryCreateSourceSlice
- Method MarkdownNativeDocument.CreateReplaceEdit
- Method MarkdownNativeDocument.TryCreateOriginalSourceSlice
- Method MarkdownNativeDocument.TryCreateOriginalSourceSlice
- Method MarkdownNativeDocument.TryCreateSourceMapping
- Method MarkdownNativeDocument.TryCreateSourceSlice
- Method MarkdownParseResult.FindDeepestFinalNodeContainingSpan
- Method MarkdownParseResult.FindDeepestFinalNodeOverlappingSpan
- Method MarkdownParseResult.FindDeepestNodeContainingSpan
- Method MarkdownParseResult.FindDeepestNodeOverlappingSpan
- Method MarkdownParseResult.FindFinalAssociatedObjectContainingSpan
- Method MarkdownParseResult.FindFinalAssociatedObjectContainingSpan``1
- Method MarkdownParseResult.FindFinalAssociatedObjectOverlappingSpan
- Method MarkdownParseResult.FindFinalAssociatedObjectOverlappingSpan``1
- Method MarkdownParseResult.FindFinalNodePathContainingSpan
- Method MarkdownParseResult.FindFinalNodePathOverlappingSpan
- Method MarkdownParseResult.FindNearestBlockContainingSpan
- Method MarkdownParseResult.FindNearestBlockOverlappingSpan
- Method MarkdownParseResult.FindNearestFinalBlockContainingSpan
- Method MarkdownParseResult.FindNearestFinalBlockOverlappingSpan
- Method MarkdownParseResult.FindNodePathContainingSpan
- Method MarkdownParseResult.FindNodePathOverlappingSpan
- Method MarkdownParseResult.TryCreateOriginalSourceSlice
- Method MarkdownParseResult.TryCreateOriginalSourceSlice
- Method MarkdownParseResult.TryCreateSourceMapping
- Method MarkdownParseResult.TryCreateSourceSlice
- Constructor MarkdownReferenceLinkDefinition.MarkdownReferenceLinkDefinition
- Constructor MarkdownReferenceLinkDefinition.MarkdownReferenceLinkDefinition
- Constructor MarkdownReferenceLinkDefinition.MarkdownReferenceLinkDefinition
- Constructor MarkdownReferenceLinkDefinition.MarkdownReferenceLinkDefinition
- Constructor MarkdownReferenceLinkDefinition.MarkdownReferenceLinkDefinition
- Constructor MarkdownReferenceLinkDefinition.MarkdownReferenceLinkDefinition
- Constructor MarkdownRoundtripDiagnostic.MarkdownRoundtripDiagnostic
- Constructor MarkdownRoundtripDiagnostic.MarkdownRoundtripDiagnostic
- Method MarkdownSourceSlice.TryCreate
- Method MarkdownSourceSlice.TryCreateFromLineColumns
- Method MarkdownSourceSpan.Contains
- Method MarkdownSourceSpan.Equals
- Method MarkdownSourceSpan.Overlaps
- Constructor MarkdownSyntaxNode.MarkdownSyntaxNode
- Method MarkdownSyntaxNode.FindDeepestNodeContainingSpan
- Method MarkdownSyntaxNode.FindDeepestNodeOverlappingSpan
- Method MarkdownSyntaxNode.FindNearestBlockContainingSpan
- Method MarkdownSyntaxNode.FindNearestBlockOverlappingSpan
- Method MarkdownSyntaxNode.FindNodePathContainingSpan
- Method MarkdownSyntaxNode.FindNodePathOverlappingSpan
- Method MarkdownWriteContext.TryCreateOriginalSourceSlice
- Method MarkdownWriteContext.TryCreateOriginalSourceSlice
- Method MarkdownWriteContext.TryCreateSourceSlice
Constructors
MarkdownSourceSpan 2 overloads
public MarkdownSourceSpan(Int32 startLine, Int32 endLine) #Create a line-based source span.
Parameters
- startLine System.Int32
- endLine System.Int32
public MarkdownSourceSpan(Int32 startLine, Int32 startColumn, Int32 endLine, Int32 endColumn, Nullable<Int32> startOffset = null, Nullable<Int32> endOffset = null) #Create a source span with line, column, and optional normalized-text offsets.
Parameters
- startLine System.Int32
- startColumn System.Int32
- endLine System.Int32
- endColumn System.Int32
- startOffset System.Nullable{System.Int32} = null
- endOffset System.Nullable{System.Int32} = null
Methods
public Boolean Contains(MarkdownSourceSpan other) #Returns:
BooleanReturns true when this span fully contains the given span.
Parameters
- other OfficeIMO.Markdown.MarkdownSourceSpan
public Boolean ContainsLine(Int32 lineNumber) #Returns:
BooleanReturns true when the span contains the given 1-based line number.
Parameters
- lineNumber System.Int32
public Boolean ContainsPosition(Int32 lineNumber, Int32 columnNumber) #Returns:
BooleanReturns true when the span contains the given 1-based line and column.
Parameters
- lineNumber System.Int32
- columnNumber System.Int32
Equals 2 overloads
public override Int32 GetHashCode() #Returns:
Int32public Boolean Overlaps(MarkdownSourceSpan other) #Returns:
BooleanReturns true when this span overlaps the given span.
Parameters
- other OfficeIMO.Markdown.MarkdownSourceSpan
public override String ToString() #Returns:
StringInherited Methods
Properties
public Int32 StartLine { get; } #1-based start line.
public Nullable<Int32> StartColumn { get; } #1-based start column.
public Int32 EndLine { get; } #1-based end line.
public Nullable<Int32> EndColumn { get; } #1-based end column.
public Nullable<Int32> StartOffset { get; } #0-based start offset in the normalized markdown text.
public Nullable<Int32> EndOffset { get; } #0-based end offset in the normalized markdown text.