Table of Contents

Class MarkdownSpan

Namespace
McServerLauncher.Services
Assembly
McServerLauncher.dll

A run of text inside a block, with the formatting that applies to it.

public sealed record MarkdownSpan : IEquatable<MarkdownSpan>
Inheritance
MarkdownSpan
Implements
Inherited Members

Constructors

MarkdownSpan(string, bool, bool, bool, string?)

A run of text inside a block, with the formatting that applies to it.

public MarkdownSpan(string Text, bool Bold = false, bool Italic = false, bool Code = false, string? Link = null)

Parameters

Text string
Bold bool
Italic bool
Code bool
Link string

Properties

Bold

public bool Bold { get; init; }

Property Value

bool

Code

public bool Code { get; init; }

Property Value

bool

Italic

public bool Italic { get; init; }

Property Value

bool
public string? Link { get; init; }

Property Value

string

Text

public string Text { get; init; }

Property Value

string