Skip to content

feat: add nofix language tag to skip code blocks#5

Merged
kmelve merged 2 commits intomainfrom
feat/nofix-language-tag
Feb 3, 2026
Merged

feat: add nofix language tag to skip code blocks#5
kmelve merged 2 commits intomainfrom
feat/nofix-language-tag

Conversation

@kmelve
Copy link
Contributor

@kmelve kmelve commented Feb 3, 2026

Summary

  • Add support for nofix and *-nofix language tags to prevent boxfix from processing code blocks
  • Useful for documentation showing intentionally broken diagrams as examples
  • Add "before" example files demonstrating typical broken LLM output
  • Update README with "Vibecoded" section noting this lib was built entirely with Claude Code and Opus 4.5

Changes

  • src/markdown.ts: Skip code blocks with nofix or *-nofix language tags
  • test/boxfix.test.ts: Add tests for nofix behavior
  • README.md: Add vibecoded section and document nofix in "What It Doesn't Touch"
  • examples/*.before.md: Add broken diagram examples using nofix tag
  • examples/README.md: Update to reference before/after file pairs

Test plan

  • Run pnpm test:run - all tests pass
  • Run pnpm typecheck - no errors
  • Verify nofix examples stay broken after hook runs
  • Check before/after examples render correctly

🤖 Generated with Claude Code

kmelve and others added 2 commits February 3, 2026 11:50
Add support for `nofix` and `*-nofix` language tags to prevent boxfix
from processing code blocks. This is useful for documentation that
needs to show intentionally broken diagrams as examples.

- Skip code blocks with `nofix` or `*-nofix` (e.g., `text-nofix`)
- Add "before" example files showing broken LLM output
- Update README with vibecoded section and nofix documentation
- Add tests for the new behavior

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@kmelve kmelve merged commit 1ec60c7 into main Feb 3, 2026
2 checks passed
@kmelve kmelve deleted the feat/nofix-language-tag branch February 3, 2026 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant