コード例 #1
0
 protected override void OnDisplaying(MarkdownElement element, ElementDisplayingContext context)
 {
     context.ElementShape.ProcessedContent = _processor.ProcessContent(element.Content, "markdown", context.GetTokenData());
 }
コード例 #2
0
 protected override void OnDisplaying(Heading element, ElementDisplayingContext context)
 {
     context.ElementShape.ProcessedContent = _processor.ProcessContent(element.Content, "html", context.GetTokenData());
     context.ElementShape.Level            = element.Level;
 }
コード例 #3
0
 protected override void OnDisplaying(Paragraph element, ElementDisplayingContext context)
 {
     context.ElementShape.ProcessedContent = _processor.ProcessContent(element.Content, "html", context.GetTokenData());
 }
コード例 #4
0
 protected override void OnDisplaying(Text element, ElementDisplayContext context)
 {
     context.ElementShape.ProcessedContent = _processor.ProcessContent(element.Content, "textarea", context.GetTokenData());
 }