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
DiagnosticsConfigurationBuild targetsEditor support
Project
Overviewtempl conformanceFork baselineContributingReleasingChangelog
Examples
All examples Hello worldRoute bindingsFragmentsEventsCRUD todos
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: —