T11h Include Smoke Test
Rendering verification for T11h. The include shortcode runs
readFile | safeHTML, dropping a project-root-relative file’s contents into the page as raw HTML. Fixture:assets/snippets/hello.html— a small heading / list / link snippet.
1. Including an HTML snippet
The block below is pulled in via the include shortcode:
Inkstone include fixture
This block was loaded from assets/snippets/hello.html via the include shortcode.
- Heading rendered as
<h3> - Inline code rendered as
<code> - External anchor: example.com
Self-check list
- The block above renders as HTML — not as source (no visible
<section>tag characters) - The “Inkstone include fixture” heading is rendered as
<h3> - The three list items render as
<li>, with inner<code>adopting the site inline-code style - The “example.com” link in the final item is a real link, with
target="_blank"on hover - Hugo build emits no readFile error