Code Blocks is a syntax highlighter add-on for Google Docs.
Code Blocks is powered by highlight.js and can only provide syntax highlighting for languages that it supports. If you would like Code Blocks to add support for a language that is implemented by highlight.js, feel free to submit a request via the issue tracker. Otherwise, please refer to their page on requesting new languages, found here.
$ npm install
Settings:
Languages & Frameworks
>JavaScript
JavaScript language version
:ECMAScript 5.1
Libraries
- Click
Download...
- Select
TypeScript community stubs
- Select
google-apps-script-DefinitelyTyped
- Click
Download and Install
- Click
$ npm run build
NOTE: The following command only works for the project maintainer, because it requires the user to be authenticated via Google Drive.
Command | Description |
---|---|
npm run push:gas | just GAS files |
npm run push:js | just sidebar.js |
npm run push:static | just HTML & CSS |
npm run push | everything |