Hacker News new | ask | show | jobs
by tomasreimers 1569 days ago
I'm aware this isn't their primary use case, but the biggest feature missing from GDocs that moves me to notion / etc. is the lack of built in support for codeblocks. If they had that I really feel I would move most of my doc-writing here.
2 comments

I use an add-on called Codeblocks. It lets you select a block of text and will format it as monospace w/ syntax highlighting in various themes.

Not quite as good as native support (e.g. doesn't update dynamically), but otherwise it's pretty solid.

The way I've gotten around that is to create a table that's 1 cell, add inner-padding, and format it with consolas & 12pt ft...etc. Total PITA to do each time you want to copy in code.