using Markdig.Helpers;
using Markdig.Syntax;
namespace OliverBooth.Extensions.Markdig.Markdown.Callout;
///
/// Represents a callout block.
///
internal sealed class CalloutBlock : QuoteBlock
{
///
/// Initializes a new instance of the class.
///
/// The type of the callout.
public CalloutBlock(StringSlice type) : base(null)
{
Type = type;
}
///
/// Gets or sets a value indicating whether this callout is foldable.
///
/// if this callout is foldable; otherwise, .
public bool Foldable { get; set; }
///
/// Gets or sets the title of the callout.
///
/// The title of the callout.
public StringSlice Title { get; set; }
///
/// Gets or sets the trailing whitespace trivia.
///
/// The trailing whitespace trivia.
public StringSlice TrailingWhitespaceTrivia { get; set; }
///
/// Gets or sets the type of the callout.
///
/// The type of the callout.
public StringSlice Type { get; set; }
}