private async Task LoadMarkdownToHtmlListItems() { var model = await _markdown.GetRenderingMarkdownSettingsModelAsync(); var coreRenderModel = new CoreRenderModel { IsEnabled = true, IsHtmlTagEnabled = model.IsHtmlEnabled, IsAbbreviationEnabled = model.IsAbbreviationEnabled, IsAutoIdentifierEnabled = model.IsAutoIdentifierEnabled, IsAutoLinkEnabled = model.IsAutoLinkEnabled, IsBootstrapEnabled = model.IsBootstrapEnabled, IsCitationEnabled = model.IsCitationEnabled, IsDefinitionListEnabled = model.IsDefinitionListEnabled, IsEmojiSmileyEnabled = model.IsEmojiSmileyEnabled, IsFigureEnabled = model.IsFigureEnabled, IsFooterEnabled = model.IsFooterEnabled, IsFootnoteEnabled = model.IsFootnoteEnabled, IsMediaLinkEnabled = model.IsMedialinkEnabled, IsSoftLineAsHardlineBreakEnabled = model.IsSoftlineAsHardlineBreakEnabled, IsSmartyPantEnabled = model.IsSmartyPantEnabled, IsGenericAttributeEnabled = model.IsGenericAttributeEnabled }; RenderMarkdownToHtmlModels.Add(coreRenderModel); var emphasisExtraRenderModel = new EmphasisExtraRenderModel { IsEnabled = model.IsEmphasisEnabled, IsStrikethroughEnabled = model.IsStrikethroughEnabled, IsSuperSubScriptEnabled = model.IsSuperSubScriptEnabled, IsInsertedEnabled = model.IsInsertedEnabled, IsMarkedEnabled = model.IsMarkedEnabled }; RenderMarkdownToHtmlModels.Add(emphasisExtraRenderModel); var tableRenderModel = new TableRenderModel { IsEnabled = model.IsTableEnabled, IsGridTableEnabled = model.IsGridTableEnabled, IsPipeTableEnabled = model.IsPipeTableEnabled }; RenderMarkdownToHtmlModels.Add(tableRenderModel); var listRenderModel = new ListRenderModel { IsEnabled = model.IsListEnabled, IsTaskListEnabled = model.IsTaskListEnabled, IsListExtraEnabled = model.IsListExtraEnabled }; RenderMarkdownToHtmlModels.Add(listRenderModel); var mathRenderModel = new MathRenderModel { IsEnabled = model.IsMathEnabled }; RenderMarkdownToHtmlModels.Add(mathRenderModel); var syntaxHighlightingRenderModel = new SyntaxHighlightingRenderModel { IsEnabled = model.IsSyntaxHighlightingEnabled }; RenderMarkdownToHtmlModels.Add(syntaxHighlightingRenderModel); var diagramRenderModel = new DiagramRenderModel { IsEnabled = model.IsDiagramEnabled, IsMermaidEnabled = model.IsMermaidEnabled, IsNomnomlEnabled = model.IsNomnomlEnabled }; RenderMarkdownToHtmlModels.Add(diagramRenderModel); }