4 ms·
To add a code block, type @ and scroll down to "Code Block <>". It's still very limited, with syntax highlighting limited to C/C++, Java, JavaSript, Python.
by timClicks 2y ago
To add a code block, type @ and scroll down to "Code Block <>". It's still very limited, with syntax highlighting limited to C/C++, Java, JavaSript, Python.
- crazygringo 2y agoIs that available only in certain paid versions of Google Workspace, or has it not rolled out to everyone? When I type @ there's no code block option. I get People, Smart Chips, and then in "Building Blocks" I get five items from "Meeting Notes" to "Project Assets". If I click the arrow to expand to the full list of building blocks, it only adds a sixth item "Launch Content Tracker" and the rest is blank space.
- judge2020 2y agoThe author of the feature is another top-level comment and said it's still being rolled out over time, so that's probably why.
- paulgb 2y agoIt's only available in certain paid versions (https://workspaceupdates.googleblog.com/2022/12/format-display-code-google-docs.html https://workspaceupdates.googleblog.com/2022/12/format-displ...) Which is too bad, it's the one thing keeping me from writing design docs in google docs.
- crazygringo 2y agoAh thank you. Too bad. Funny that they paywalled that feature, while tools like Colab are free. Generally, Google has made code-related and academia-related tools freely available. Oh well.
- tomeraberbach 2y agoCode blocks are a paid feature, but the Markdown import/export feature is not paid. It's just still rolling out