API Reference
Class
MarkdownNativeCodeBlock
Native projection for a code block.
Inheritance
- MarkdownNativeBlock
- MarkdownNativeCodeBlock
Inherited Methods
public Boolean ContainsLine(Int32 lineNumber) #Returns:
BooleanInherited from MarkdownNativeBlock
Parameters
- lineNumber Int32
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
public MarkdownNativeBlockSnapshot ToSnapshot() #Returns:
MarkdownNativeBlockSnapshotInherited from MarkdownNativeBlock
Properties
public CodeBlock Code { get; } #Source code block.
public String Language { get; } #Primary fence language token.
public String InfoString { get; } #Full fenced-code info string.
public MarkdownCodeFenceInfo FenceInfo { get; } #Structured fenced-code metadata.
public String Content { get; } #Code content with normalized line endings.
public String Caption { get; } #Optional code-block caption.
public IReadOnlyDictionary<String, String> Attributes { get; } #Parsed fence attributes.
public IReadOnlyList<String> Classes { get; } #Parsed fence classes.
public String ElementId { get; } #Parsed fence element id.
public String Title { get; } #Convenience title resolved from fence metadata.
Inherited Properties
public String Id { get; } #Inherited from MarkdownNativeBlock
public MarkdownNativeBlockKind Kind { get; } #Inherited from MarkdownNativeBlock
public Nullable<MarkdownSourceSpan> SourceSpan { get; } #Inherited from MarkdownNativeBlock
public MarkdownSyntaxNode SyntaxNode { get; } #Inherited from MarkdownNativeBlock
public IMarkdownBlock SourceBlock { get; } #Inherited from MarkdownNativeBlock