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
* Fix llms-txt anchor links and breadcrumb leaking
Links with anchors (e.g. about.html#section) were not being converted
to .llms.md because the Lua pattern only matched .html at end-of-string.
Now also matches .html followed by # and rewrites both cases.
Breadcrumbs from sidebar navigation were leaking into .llms.md output.
Add quarto-page-breadcrumbs to droppable_classes in the Lua filter.
Adds test coverage for both fixes: anchor link conversion in both
directions, .html# negative matches, sidebar config to trigger
breadcrumbs, and breadcrumb text negative match.
Co-Authored-By: Claude Opus 4.6 <[email protected]>
* Convert tabsets to headings with content in llms-txt output
Tabsets were rendered as a bullet list of empty links followed by
disconnected content. Add handle_tabset() to the Lua filter that
extracts tab titles from the nav BulletList and pairs them with
their tab-pane contents, outputting each as a heading + content.
Co-Authored-By: Claude Opus 4.6 <[email protected]>
* Preserve code annotations in llms-txt output
Save original code block text (with annotation markers) before
code-annotation.lua strips them, then restore during HTML-to-markdown
conversion. Annotation definition lists are converted to ordered lists.
Co-Authored-By: Claude Opus 4.6 <[email protected]>
* Support conditional content for llms-txt format
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 <[email protected]>
* move local declarations into function to avoid hitting max # locals Lua limit
* Fix llms-txt breadcrumb leaking and link prefix
- Remove breadcrumbs from extracted HTML before Pandoc conversion,
since Pandoc strips <nav> wrappers and loses the droppable class
- Strip ./ prefix from converted .llms.md links for cleaner output
- Fix test regex to match code annotation markers with space
Co-Authored-By: Claude Opus 4.6 <[email protected]>
---------
Co-authored-by: Claude Opus 4.6 <[email protected]>
0 commit comments