mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-26 07:38:33 -06:00
before I dive too much more into adding pages in canvas
This commit is contained in:
@@ -5,6 +5,7 @@ public record LocalCoursePage: IModuleItem
|
||||
public required string Name { get; init; }
|
||||
public required string Text { get; set; }
|
||||
public DateTime DueAt { get; init; }
|
||||
public string GetBodyHtml() => Markdig.Markdown.ToHtml(Text);
|
||||
|
||||
public string ToMarkdown()
|
||||
{
|
||||
@@ -34,6 +35,7 @@ public record LocalCoursePage: IModuleItem
|
||||
Text = text
|
||||
};
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user