Skip to content

Added better support for transforming markdown code blocks#56

Merged
a-bonus merged 2 commits intoa-bonus:mainfrom
davidthor:improvement/md-code-block
Feb 13, 2026
Merged

Added better support for transforming markdown code blocks#56
a-bonus merged 2 commits intoa-bonus:mainfrom
davidthor:improvement/md-code-block

Conversation

@davidthor
Copy link
Copy Markdown
Contributor

I did some research and unfortunately there is no support in the google docs API for the native code block feature with language-specific syntax highlighting, but this approach still makes a block-like experience with a 1x1 table and squared off background color. Here's a screenshot from my latest import:

Screenshot 2026-02-13 at 12 59 39 PM

Previously, full code blocks were handled the same as inline code - green text on a dark background that only spanned as far as each text line spanned. It was more like a lot of individual inline code instead of one big code block.

@a-bonus a-bonus merged commit 11f9dde into a-bonus:main Feb 13, 2026
4 checks passed
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.

2 participants