4 ms·
Would be really nice to have code md syntax in Google docs. The simple formatting is not such a game changer
by mderazon 5y ago
Would be really nice to have code md syntax in Google docs. The simple formatting is not such a game changer
- jerriep 5y agoIt only seems to convert the markdown syntax to normal Docs formatting. Since Docs does not natively support the concept of a "code block", it would make sense that this is not supported.
- iamevn 5y agoWhen I was at Google, we used an addon to do that. I think it might be this one? Not sure since there was a separate addon repo with internal and specific whitelisted addons. https://workspace.google.com/marketplace/app/code_blocks/100740430168 https://workspace.google.com/marketplace/app/code_blocks/100... https://github.com/alexwforsythe/code-blocks https://github.com/alexwforsythe/code-blocks
- kappattack 5y agoThis is what I used in college. It works great, but its much slower and more tedious to use compared to markdown code blocks. At one point I switched from using google docs to using the export to pdf feature on a static site generator because I was writing documents with a ton of code blocks and inline code formatting. It saved me a ton of time highlighting code and clicking about in the side panel. I know there are LaTeX addons that let you do things like $$\frac{1}{2}$$ and then render the entire document. Makes me wonder what it would take to do something similar for code.
- slashvar2701 5y agoWhen I need formated code in docs or slides, I use the copy/paste with style capability of browsers. It works from rendered content but also from IDE.
- easrng 5y agoI usually make heading 6 styled as code since you can't add non-heading styles.