KeyboardStyle Enum

Specifies how keyboard input (kbd) elements are converted.

public enum KeyboardStyle

Fields

NameValueDescription
UnknownElement0Handle the element as an unknown element, as set by HtmlToMarkdownOptions.UnknownElementHandling.
Html1Write the element as an inline HTML tag, <kbd>text</kbd>, around its converted content.
CodeSpan2Write the text of the element as a code span.
Text3Write the content without any markup.