protected override void OnDisplaying(MarkdownElement element, ElementDisplayingContext context) { context.ElementShape.ProcessedContent = _processor.ProcessContent(element.Content, "markdown", context.GetTokenData()); }
protected override void OnDisplaying(Heading element, ElementDisplayingContext context) { context.ElementShape.ProcessedContent = _processor.ProcessContent(element.Content, "html", context.GetTokenData()); context.ElementShape.Level = element.Level; }
protected override void OnDisplaying(Paragraph element, ElementDisplayingContext context) { context.ElementShape.ProcessedContent = _processor.ProcessContent(element.Content, "html", context.GetTokenData()); }
protected override void OnDisplaying(Text element, ElementDisplayContext context) { context.ElementShape.ProcessedContent = _processor.ProcessContent(element.Content, "textarea", context.GetTokenData()); }