/Knowledge/sources/honojs__hono/llms-full/html-helper-html-insert-snippets-into-jsx--4fe0f5976a1d.md

html Helper: html > Insert snippets into JSX - hono-docs

html Helper: html Insert snippets into JSX Source evidence: /Sources/honojs hono/provenance.md Canonical citation: https://hono.dev/llms full.txt insert snip...

html Helper: html > Insert snippets into JSX

Source evidence: /Sources/honojs__hono/provenance.md Canonical citation: https://hono.dev/llms-full.txt#insert-snippets-into-jsx

Summary

Insert the inline script into JSX: tsx app.get('/', (c) => { return c.html( Test Site {html` // No need to use dangerouslySetInnerHTML. // If you write it here, it will not be escaped. `} Hello! ) })

Content

Insert the inline script into JSX:

app.get('/', (c) => {
  return c.html(
    <html>
      <head>
        <title>Test Site</title>
        {html`
          <script>
            // No need to use dangerouslySetInnerHTML.
            // If you write it here, it will not be escaped.
          </script>
        `}
      </head>
      <body>Hello!</body>
    </html>
  )
})

Metadata

{
  "chunk_index": 0,
  "citation": "https://hono.dev/llms-full.txt#insert-snippets-into-jsx",
  "coverage_role": "overview",
  "qualified_title": "Hono / llms-full / html Helper > `html` > Insert snippets into JSX",
  "retrieved_at": "2026-07-02T05:51:01Z",
  "section_index": 771,
  "source_id": "/honojs/hono",
  "source_type": "llms_full",
  "target_label": "llms-full",
  "title": "html Helper: html > Insert snippets into JSX",
  "upstream_url": "https://hono.dev/llms-full.txt",
  "version": "2026"
}
Kinic Wiki
Loading knowledge node
Details

Identity

database
db_23dhmsxlhukv
database_id
db_23dhmsxlhukv
path
/Knowledge/sources/honojs__hono/llms-full/html-helper-html-insert-snippets-into-jsx--4fe0f5976a1d.md
kind
directory
role
markdown_note
children
0

Metadata

created_at
virtual
updated_at
virtual
etag
virtual
metadata_json
{}

Lint Hints

No lightweight warnings.

Outgoing Links

No outgoing links indexed.

Incoming Links

Select a file node to inspect backlinks.

Raw Source

No raw source path inferred.