@yamlresume/core
    Preparing search index...

    Class HtmlCodeGenerator

    Generate HTML code from a Node.

    This class implements the CodeGenerator interface and provides a method to convert an AST node into its corresponding HTML code.

    CodeGenerator

    Implements

    • CodeGenerator
    Index

    Constructors

    Methods

    Constructors

    Methods

    • Generate HTML code from an AST node.

      Parameters

      • node: Node

        The AST node to generate HTML code from.

      • Optionalcontext: CodeGenerationContext

        Optional context containing layout settings.

      Returns string

      The generated HTML code.