Class MarkdownBody
- Namespace
- McServerLauncher.Behaviors
- Assembly
- McServerLauncher.dll
Attached property that renders a project's long description (Markdown, as Modrinth returns it) into a panel, in the same spirit as MinecraftMotd: the view model hands over text, the view turns it into controls.
Parsing lives in MarkdownParser; this only decides how each block looks. Links become clickable text that opens the browser through BrowserLauncher, which refuses anything that isn't an ordinary web address — the description is remote content.
public static class MarkdownBody
- Inheritance
-
MarkdownBody
- Inherited Members
Fields
SourceProperty
public static readonly AttachedProperty<string?> SourceProperty
Field Value
- AttachedProperty<string>
Methods
GetSource(Panel)
public static string? GetSource(Panel o)
Parameters
oPanel
Returns
SetSource(Panel, string?)
public static void SetSource(Panel o, string? v)
Parameters
oPanelvstring