Link Rendering Test
Contents
This post validates link rendering paths in FixIt, including Markdown render hook and link shortcode modes.
Markdown Render Hook (Regular Link)
These links are rendered by layouts/_markup/render-link.html and should always produce regular links.
- Internal relative link: Task list test
- Internal anchor link: Jump to Card Link section
- Absolute same-site link: Test site home
- External HTTP link: FixIt Repository
- Mail link: Email test
- JavaScript link: JavaScript test
- Tel link: Phone test
- File link: File test
- Data link: Data URI test
Title Attribute (Markdown)
Link Shortcode (Regular)
Named parameters
GitHub via shortcode Internal shortcode link Custom rel + no noreferrer Download local filePositional parameters
Positional regular linkCard Link Shortcode
Basic card
FixIt Documentation
Card with custom icon class
FixIt on GitHubCard with custom image icon
Hugo Official SiteCard with download state
Download as cardPositional card parameters
Positional card linkEdge Cases
- URL with query string: Search query test
- URL with fragment: Fragment test
- Long URL display (card meta should trim protocol automatically):
Long URL card
Manual Verification Checklist
- Regular Markdown external links include external behavior and icon policy.
- Internal links are not treated as external.
- Shortcode card links render
.card-linkstructure and card meta URL. downloadshows download icon/state in both regular and card modes.noreferrer=falseremovesnoopener noreferrerfrom generated rel values.
Included in Collection・Tests 16