HtmlForgeX

API Reference

Class

ElementMarkdownExtensions

Namespace HtmlForgeX.Extensions
Assembly HtmlForgeX
Modifiers static

Extension methods for adding Markdown content to HtmlForgeX elements.

Inheritance

  • Object
  • ElementMarkdownExtensions

Methods

public static Element Markdown(Element element, String markdown, MarkdownOptions options = null) #
Returns: Element

Renders Markdown content and adds it to the element.

Parameters

element HtmlForgeX.Element requiredposition: 0
The element to add Markdown content to.
markdown System.String requiredposition: 1
The Markdown text to render.
options HtmlForgeX.Markdown.MarkdownOptions = null optionalposition: 2
Optional configuration for Markdown rendering.

Returns

The element for method chaining.