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
[x] Ran npm run lint and updated code style accordingly
[x] npm run test passes
[x] PR has a description and all contributors/stakeholder are noted/cc'ed
[x] tests are updated and/or added to cover new code
[x] relevant documentation is changed and/or added
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 charactersEC03
andEC02
. Although docs has the provision to set the language of the block, I wasn't able to find this in the document HTML.Checklist
npm run lint
and updated code style accordinglynpm run test
passes