You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow users to include/exclude content in .llms.md output using
content-visible/content-hidden with when-format="llms-txt". A pre-filter
intercepts ConditionalBlock nodes before they are cleared, wrapping them
in marker divs that llms.lua and the HTML finalizer handle independently.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
# First array: patterns that MUST match - verify anchor links, code annotations, and conditional content
16
+
- ["\\[callout examples\\]\\(about\\.llms\\.md#callout-examples\\)", "#<1>", "#<2>", "Load tidyverse", "Open help for ggplot", "only for LLM consumption"]
17
+
# Second array: patterns that must NOT match (no .html links, no annotation UI, no hidden content)
18
+
- ["\\.html\\)", "\\.html#", "code-annotation-anchor", "should not appear in LLM output"]
19
19
---
20
20
21
21
## Test Content
@@ -26,6 +26,16 @@ See the [about page](about.qmd) for more information.
26
26
27
27
Also see the [callout examples](about.qmd#callout-examples).
0 commit comments