Enum MarkdownStyleRole
Identifies the semantic role of a styled text segment within a Markdown.
public enum MarkdownStyleRole
- Extension Methods
Fields
CodeBlock = 6Fenced code block line. Rendered bold with a full-width dimmed background.
Emphasis = 3Emphasized text (
italic). Rendered italic.Heading = 1Heading text (
# … ######). Rendered bold.HeadingMarker = 2Heading marker characters (
#,##, etc.). Rendered bold.ImageAlt = 12Alt-text for an image (
). Rendered italic.InlineCode = 5Inline code span (
). Rendered bold with a dimmed background.codeLink = 9Hyperlink text (
text). Absolute URLs and anchor links are underlined.ListMarker = 8The bullet or number prefix of a list item (e.g.
•). Rendered bold.Normal = 0Plain body text with no special formatting.
Quote = 7Block-quote text (
> …). Rendered faint.Strikethrough = 15Strikethrough text (
). Rendered with strikethrough style.textStrong = 4Strongly emphasized text (
bold). Rendered bold.Table = 10Table row text. Rendered bold.
TaskDone = 13Completed task-list item (
[x]). Rendered with strikethrough.TaskTodo = 14Incomplete task-list item (
[ ]). Rendered bold.ThematicBreak = 11Thematic break (
---,***,___). Rendered faint.
Remarks
The role determines how the segment is rendered (font style, color, background). See Markdown for the mapping of roles to visual attributes.