knot-check Now Catches a Title Over an Empty Page
Run against the astro-knots splash as it was this morning, the new check flags all 225 of its empty pages.
Why Care?
The astro-knots splash, the page selling these patterns, rendered its notes
and changelog as titles over empty bodies. knot-check would only have caught
it because LFM wasn't installed at all. A site with LFM installed but
rendering through Astro's render() would have passed.
What's New?
empty-article-body(error): a built page whose main article (the one holding its h1) has nothing after its header. Calibrated on eight of our sites: it flags the old splash's 225 empty pages and eight genuinely empty pages on fullstack-vc, and nothing else.code-unhighlighted(warning): aCodeBlockthat doesn't call@lossless-group/lfm/highlight. Six of our sites haven't adopted it yet.The setup playbook states it as a rule: content renders through LFM, code is colored by LFM's highlighter, and a built page is opened to confirm its body has text.
The synced
lossless-flavored-markdownskill now carries the same hard rules and install steps that work.41 tests.
