feat(presets/markdown): audit and validate failure summary coverage #92
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
barrettruth/preview.nvim#92
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up to #81 and #70.
Scope
Audit the
markdownpreset (pandoc) and implement a trustworthy short failure summary using the mergedfailure_summary(result, ctx)hook from #86.Why this needs its own issue
markdownhas its own compiler output shape and failure modes. We should not mark #81 done until this preset has explicit positive and negative coverage with both automated tests and manual validation.Acceptance criteria
markdowndocument compiles successfully, no failure summary is shown, and stale diagnostics/quickfix clear after success.markdownfailure produces the intended one-line summary, and the exact summary string is asserted in automated tests.markdownsummary is available, behavior falls back cleanly to the generic failure or:Preview outputhint path; never empty, never misleading.:Preview outputandpreview.result().nix develop .#presetsagainst the real toolchain, and the validated output shapes are recorded in the PR.Representative cases to cover
Error at ... (line, column)formpandoc:failures such as missing data/template filesImplemented in #102.