4 ms·
Not sure why that seems like a challenge, but it's trivial since 2001. Use a codeblock.
by Blahah 3y ago
Not sure why that seems like a challenge, but it's trivial since 2001. Use a codeblock.
- ithkuil 3y ago++ triggers AI autocomplete; a whole wall of text of autocomplete. So the question was likely: how to write the word "C++" in your prose (as opposed to writing some C++ code)
- steventey 3y agoGreat question – all you need to do is hit CMD+Z or Esc when the generation starts and it automatically aborts it and gives you your "++" back! Here's the code for it: https://github.com/steven-tey/novel/blob/main/ui/editor/index.tsx#L178-L199 https://github.com/steven-tey/novel/blob/main/ui/editor/inde... I've debated between "++" vs "+++", but settled for ++ since it's lesser keystrokes (at the risk of conflicting with more common words/phrases) haha