Skip to content

fix: render mmd files as markdown - #988

Open
cyphercodes wants to merge 2 commits into
charmbracelet:mainfrom
cyphercodes:fix/mmd-markdown-rendering
Open

cyphercodes wants to merge 2 commits into
charmbracelet:mainfrom
cyphercodes:fix/mmd-markdown-rendering

Conversation

@cyphercodes

Copy link
Copy Markdown

Summary

  • Treat .mmd files as markdown so explicit CLI renders match .md files.
  • Include .mmd in TUI markdown file discovery.
  • Add a regression test comparing .mmd and .md rendering output.

Fixes #987

Testing

  • go test ./...
  • go run . --style notty /tmp/glow-repro.md vs go run . --style notty /tmp/glow-repro.mmd with diff -u (no diff)

@cyphercodes

Copy link
Copy Markdown
Author

Resolved the merge conflict with current main and pushed the merge commit.

Verification:

  • go test ./...
  • git diff --check

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.

Markdown not rendered correctly if the extension is other than 'md'

1 participant