
tweak how Tana enables code formatting
Explain the problem as you see it
To format a piece of text as code, I have to enter it, leave at least one space after it (if I want to enter any text AFTER the code-formatted material), go back and highlight the text I wanted formatted, and then hit the tilde key. It would be so much easier and more convenient if I could just hit the tilde key, enter my text, hit the tilde key again, and have Tana format the text between the two tildes as code.
Why is this a problem for you?
I regularly use code formatting when taking notes from books and articles: for instance to denote my comments (so that they are readily distinguishable from my summary of an author's position) or to mark page numbers. It really slows me down to have to select such text after it is entered to get it to be formatted as code, rather than being able to signal Tana that I want the following text to be formatted as code and just keep typing.
Suggest a solution
Treat any text enclosed by tilde characters as code and automatically format it accordingly. Or create a keyboard shortcut to toggle code formatting (this can already be done for bold, italics, and underlining; why not also for code (or for that matter for highlighting)?).