class

Crst::HTMLRenderer

Inherits Crst::BaseRenderer < Reference < Object

Renders the AST as HTML

This class traverses the document tree and converts each node to its corresponding HTML representation.

Instance methods

render(node : Node) : String

Render a node to HTML string

node - The node to render Returns the HTML representation of the node

Source