Table of Contents

Enum MarkupCopyMode

Namespace
SharpConsoleUI.Controls
Assembly
SharpConsoleUI.dll

Controls what MarkupControl copies to the clipboard when a selection is copied.

public enum MarkupCopyMode
Extension Methods

Fields

Rendered = 0

Copy the visible rendered text (markup/markdown expanded to plain characters). This is the default and preserves the historical copy behavior.

Source = 1

Copy the original source markup the control was given (the raw [markdown]…[/] / [yellow]…[/] lines), including embedded newlines. Useful for agent/IDE tools that want the underlying markdown back rather than the rendered glyphs.