Skip to content

fix: support underscore italics in markdown renderer#504

Merged
backnotprop merged 4 commits intobacknotprop:mainfrom
foxytanuki:fix/502-markdown-italics
Apr 7, 2026
Merged

fix: support underscore italics in markdown renderer#504
backnotprop merged 4 commits intobacknotprop:mainfrom
foxytanuki:fix/502-markdown-italics

Conversation

@foxytanuki
Copy link
Copy Markdown
Contributor

Closes: #502

Summary

  • Plannotator’s custom markdown renderer already supported *italic*, but it did not support _italic_
  • Since _italic_ is also a common markdown emphasis style, this change adds support for it alongside the existing *italic* behavior
  • Intraword underscores like snake_case are still preserved as plain text rather than being treated as emphasis

Verification

  • bun test packages/review-editor/utils/renderInlineMarkdown.test.tsx
  • bun run --cwd apps/review build && bun run build:hook
  • Manually verified the rendered behavior with bun run dev:hook

@backnotprop backnotprop merged commit b7af16a into backnotprop:main Apr 7, 2026
5 checks passed
@foxytanuki foxytanuki deleted the fix/502-markdown-italics branch April 7, 2026 20:08
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 italics aren't working correctly

2 participants