@hrefcl/apidoc - v4.0.5
    Preparing search index...

    Variable templateUtilsConst

    templateUtils: {
        toLink: (text: string) => string;
        escapeMarkdown: (text: string) => string;
        htmlToMarkdown: (html: string) => string;
        formatType: (type?: string) => string;
        formatOptional: (optional?: boolean) => string;
        cleanDescription: (description?: string) => string;
    } = ...

    Template utility functions available in EJS templates

    Type Declaration

    • Convert text to markdown link format

    • escapeMarkdown: (text: string) => string

      Escape markdown special characters

    • htmlToMarkdown: (html: string) => string

      Convert HTML to markdown-safe text

    • formatType: (type?: string) => string

      Format parameter type for display

    • formatOptional: (optional?: boolean) => string

      Format optional marker

    • cleanDescription: (description?: string) => string

      Clean description text