2023-08-11 15:51:20 +01:00
|
|
|
using Markdig.Syntax.Inlines;
|
2023-08-10 01:49:09 +01:00
|
|
|
|
|
|
|
namespace OliverBooth.Markdown.Timestamp;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Represents a Markdown inline element that contains a timestamp.
|
|
|
|
/// </summary>
|
|
|
|
public sealed class TimestampInline : Inline
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the format.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The format.</value>
|
|
|
|
public TimestampFormat Format { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the timestamp.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The timestamp.</value>
|
|
|
|
public DateTimeOffset Timestamp { get; set; }
|
|
|
|
}
|