8000 GitHub - ellenlee/code-blocks: Syntax highlighting for Google Docs · GitHub
[go: up one dir, main page]

Skip to content
  • About

    Syntax highlighting for Google Docs

    Resources

    Stars

    1 star

    Watchers

    1 watching

    Forks

     
     

    Latest commit

     

    History

    108 Commits

    Folders and files

    Repository files navigation

    Code Blocks

    Code Blocks is a syntax highlighter add-on for Google Docs.

    A quick note on requesting new languages:

    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.

    Contributing

    Setup

    $ npm install
    

    Webstorm

    Settings:

    • Languages & Frameworks > JavaScript
      1. JavaScript language version: ECMAScript 5.1
      2. Libraries
        1. Click Download...
        2. Select TypeScript community stubs
        3. Select google-apps-script-DefinitelyTyped
        4. Click Download and Install

    Building

    $ npm run build
    

    Pushing Changes

    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

    Resources

    About

    Syntax highlighting for Google Docs

    Resources

    Stars

    1 star

    Watchers

    1 watching

    Forks

    Releases

    Packages

    Contributors

    Languages

    0