Repository navigation
Conversation
Editor: Adds a HighlightStyle with token-to-color mappings for keywords, strings, comments, numbers, types, functions, etc. in fenced code blocks. Also adds a subtle background for fenced code blocks in the editor. Rendered view: Integrates highlight.js + marked-highlight for syntax highlighting in rendered descriptions and comments. Uses individual language imports (JS, TS, Python, Rust, Go, CSS, HTML, JSON, YAML, Bash, SQL, Markdown) to minimize bundle size. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The CodeMirror editors use fontFamily: "inherit" (sans-serif), so fenced code blocks appeared in the same proportional font as prose. Add monospace font and 0.9em font size to .cm-md-fenced-code, matching the existing inline code (.cm-md-code) styling. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
disnet
marked this pull request as draft
February 16, 2026 06:15
…round - Hide opening (```lang) and closing (```) fence lines when cursor is outside the code block, collapsing them entirely including newlines - Use line decorations for full-width background color on code lines instead of mark decorations that only cover text content - Keep mark decoration for monospace font on code text content - When cursor enters the code block, raw markdown is shown for editing Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
js,python, etc.) in both the CodeMirror editor and the rendered markdown view for card descriptions and commentsTest plan
🤖 Generated with Claude Code