Skip to content

MarkdownLinkKind ​

Namespace: Hex1b.Events

Assembly: Hex1b.dll

Describes the kind of link activated in a markdown widget.

csharp
public enum MarkdownLinkKind

Fields ​

Custom ​

A link with a custom scheme (e.g., command:, mailto:). No default behavior — only the handler fires.

Returns: MarkdownLinkKind

csharp
Custom = 2

External ​

An external link (http:// or https://). Default behavior: open in the system browser.

Returns: MarkdownLinkKind

csharp
External = 0

IntraDocument ​

An intra-document link (#heading-slug). Default behavior: scroll to the referenced heading.

Returns: MarkdownLinkKind

csharp
IntraDocument = 1

Released under the MIT License.