Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Native code blocks #377

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Conversation

RohanM
Copy link

@RohanM RohanM commented Aug 8, 2024

Description of Change

Adds formatting support for google docs native code blocks.

Related Issue

N/A

Motivation and Context

Google docs has a native code block (inserted with Insert -> Building blocks -> Code block or typing @code in the document body). In the document HTML, the start and end of these blocks are marked by unicode characters EC03 and
EC02. Although docs has the provision to set the language of the block, I wasn't able to find this in the document HTML.

Checklist

  • Ran npm run lint and updated code style accordingly
  • npm run test passes
  • PR has a description and all contributors/stakeholder are noted/cc'ed
  • tests are updated and/or added to cover new code
  • relevant documentation is changed and/or added

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