ecerulm 17 Posted May 23 Share Posted May 23 Previously I could type #, that will create a header, but pressing backspace after it will undo the "convert to header" and I will get back the # and could continue typing. I write programming code snippets often in notes and evernote tries to convert the # (which is usually a comment) into a header. Any other way to prevent it? Link to comment
ecerulm 17 Posted May 23 Author Share Posted May 23 The documentation https://help.evernote.com/hc/en-us/articles/360001758468-Use-auto-formatting#:~:text=To turn off auto-formatting,in the Auto Format section. says that autoformatting cannot be disabled in the "new Evernote for Mac", but suggest using Cmd-Z to undo the autoformatting but that does not really work, since it also get rid of the #. Link to comment
Solution ecerulm 17 Posted May 23 Author Solution Share Posted May 23 Well, after experimenting more, now this works type # type <space> that triggers autoformat to header Cmd-Z (undo) That removes the header formatting and keeps the "# " Link to comment
eric99 1,079 Posted May 23 Share Posted May 23 1 minute ago, ecerulm said: Well, after experimenting more, now this works type # type <space> that triggers autoformat to header Cmd-Z (undo) That removes the header formatting and keeps the "# " or just backspace Link to comment
ecerulm 17 Posted May 23 Author Share Posted May 23 or just backspace No, that does not work, that's why I wrote this post, look at the initial line opening this topic "Previously I could type #, that will create a header, but pressing backspace after it will undo the "convert to header" and I will get back the # and could continue typing.". But now that does not work if I type at the beginning of a new line #<space><backspace> the formatting to header is not removed (at least in new Evernote for Mac 10.88.4-mac-ddl-public) Link to comment
Mike P 2,972 Posted May 23 Share Posted May 23 1 hour ago, ecerulm said: I write programming code snippets often in notes and evernote tries to convert the # (which is usually a comment) into a header. I put all my code snipets either in a code block or as inline code. # doesn't create a heading in these Link to comment
Level 5 PinkElephant 8,785 Posted May 23 Level 5 Share Posted May 23 Code block is the best solution - that's what it is made for ! The # will not have an effect either when not followed by a Space, Tab or Enter key. AFAIK a space is not required to identify a line started with a # as a comment. Link to comment
eric99 1,079 Posted May 23 Share Posted May 23 2 hours ago, ecerulm said: or just backspace No, that does not work, that's why I wrote this post, look at the initial line opening this topic "Previously I could type #, that will create a header, but pressing backspace after it will undo the "convert to header" and I will get back the # and could continue typing.". But now that does not work if I type at the beginning of a new line #<space><backspace> the formatting to header is not removed (at least in new Evernote for Mac 10.88.4-mac-ddl-public) Sorry, this is another regression, it worked a few weeks ago 😞 1 Link to comment
Level 5 PinkElephant 8,785 Posted May 23 Level 5 Share Posted May 23 Just a thought: It may be connected to the new in note TOC feature, and the collapsible sections. I think there was some new functionality injected in the background, which probably can't be reversed any more by backspacing. 1 Link to comment
ecerulm 17 Posted May 23 Author Share Posted May 23 18 minutes ago, PinkElephant said: Code block is the best solution - that's what it is made for ! The # will not have an effect either when not followed by a Space, Tab or Enter key. AFAIK a space is not required to identify a line started with a # as a comment. I know about Code block, but it not the best solution at least for me,. I very often need to further format my code snippets, making certain lines bold and color coding sections , and stuff. So I don't want to switch to code blocks, I want to use monospaced font and formatting. For example I prefer to do this : than this: And many times I do things like this, where I use colors in very specific parts of the code to match something outside the code, so that the "purple" in the list matches the "purple" in the code, etc. Link to comment
Level 5 PinkElephant 8,785 Posted May 23 Level 5 Share Posted May 23 Use an under_score instead of a space then. Requires some training of your muscle memory. 1 Link to comment
ecerulm 17 Posted May 24 Author Share Posted May 24 3 hours ago, Dave Green said: Undo still works. (Ctl+Z or CMD+z) Yes, it's the marked solution from a few posts back: 23 hours ago, ecerulm said: Well, after experimenting more, now this works type # type <space> that triggers autoformat to header Cmd-Z (undo) That removes the header formatting and keeps the "# " Link to comment
Dave Green 261 Posted May 24 Share Posted May 24 11 hours ago, ecerulm said: Yes, it's the marked solution Oops, sorry — read thread too quickly. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now