Kind: Function
Source: src/helper/html/index.ts
Part of: Helper
Signature
tsfunction html(strings: TemplateStringsArray, values: unknown[]): HtmlEscapedString | Promise<HtmlEscapedString>
Parameters
| Name | Type |
|---|---|
strings | TemplateStringsArray |
values | unknown[] |
Returns: HtmlEscapedString | Promise<HtmlEscapedString>
Relationships
- IMPORTS →
escapeToBuffer - IMPORTS →
raw - IMPORTS →
resolveCallbackSync - IMPORTS →
stringBufferToString
Used by
11 references from 9 files. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.
Imported by (11)
RequestContext—src/middleware/jsx-renderer/index.ts:14RequestContext—src/middleware/jsx-renderer/index.ts:14createCssContext—src/helper/css/index.ts:72defaultPlugin—src/helper/ssg/plugins.ts:11Props—src/jsx/base.ts:27childrenToString—src/jsx/components.ts:14Context—src/jsx/context.ts:8title—src/jsx/intrinsic-element/components.ts:121
…and 3 more.
Was this page helpful?