A passing test shows the resolved value. A failing test shows a literal
[% tag %] or broken markup.
These come from lazysite/lazysite.conf and are available on every page.
Expected: resolved values, not literal tags.
tt_page_var)Defined in this page's front matter.
Expected: Hello from a page variable and https://example.com/downloads.
Expected: release-VERSION.tar.gz and full URL with base and filename joined.
Expected: "Version is set:" followed by the version number.
Expected: a working link with the full URL, not a literal tag.
Expected: rendered headings at correct levels. H1 is reserved for the page title in the layout.
Bold text, italic text, inline code, ~~strikethrough~~.
Blockquote paragraph.
Expected: all formatting applied correctly.
Unordered:
Ordered:
| Feature | Status | Notes |
|---|---|---|
| Site vars | Working | From lazysite.conf |
| Page vars | Working | From tt_page_var |
| Tables | Working | Via Text::MultiMarkdown |
| Code blocks | Working | Pre-processed before TT |
Expected: a rendered table with borders/styling.
#!/bin/bash
echo "Hello from a code block"
echo "Version: [% version %]"
curl -sO [% page_base_url %]/file.tar.gz
Expected: the [% ... %] tags inside the code block should appear
literally - code blocks are protected from TT processing.
my $version = "[% version %]"; # should be literal
print "Hello from Perl\n";
version: [% version %] # should be literal
site: lazysite
Expected: both blocks render as code with literal TT tags preserved.
This content is inside a widebox div. The class maps to a CSS rule in
the site stylesheet.
This content is inside a textbox div.
Expected: content wrapped in <div class="widebox"> and
<div class="textbox">.
Expected: both <dt> entries render as working links with resolved
version numbers.
Expected: clean links without extensions.
Expected: working external link.
Expected: an <img> tag. The image may not exist - a broken image
icon is acceptable here.
Expected: the div renders, strong may or may not apply.
If configured in front matter with url:, a remote value would appear here.
This test uses a static value to confirm the pipeline works without a network
dependency.
Expected: Hello from a page variable.
If all sections above show resolved values rather than literal [% tags %],
the processor is working correctly. Code blocks (section 10 and 11) should
show literal tags - that is correct behaviour.