ghtmx Built with MySpec.dev
Docs Examples GitHub
Getting started
Introduction Getting started
Language
Syntax and usage Overview File structureTemplate declarationsText and interpolationElementsAttributesControl flowComponents and childrenCSS templatesScriptCommentsFragments (ghtmx)Events (ghtmx)Route bindings (ghtmx)AST umbrella typesCarve-outs and corpus exclusions (FR-004)
Reference
DiagnosticsConfigurationAuthenticationBuild targetshtmx versionsEditor support
Project
OverviewMigrationtempl conformanceFork baselineContributingReleasingChangelog
Examples
All examples Hello worldRoute bindingsFragmentsEventsCRUD todoshtmx 4: explicit inheritancehtmx 4: status routing and partialshtmx 4: QUERY and morph swaps
Docs / Syntax and usage / Comments

Comments

Go comments (//, /* */) inside code islands and template bodies; HTML comments (<!-- -->) render into the output.

AST: GoComment, HTMLComment.

Verified by: internal/generator/test-go-comments, internal/generator/test-html-comment.

Previous« Script NextFragments (ghtmx) »
last viewed: —