How do I get email to show as plain text? Things I’ve tried:
- Copy as Plain Text, then pasting
- ⌘ + K, then removing the link
I’m not sure what else to try. In Craft, I can repeat the second bullet point and delete the link and I’m done.
In Apple Notes, there’s a “Remove Link” option:
However, in Bear, I can’t find it. Am I missing something?
email handles and URLs are automatically detected by Bear’s editor and displayed with the link to facilitate opening them. As far as I can remember we not received requests for removing automatic linking, may I ask why you want the links removed?
I don’t think email links should be removed altogether. Just having the option to remove them would be nice. The reason for this is I keep a list of different emails (login test accounts) for work as I can’t remember them all. I have them in a table paired up with a password and some other info related to the account. When testing my code, I will log in with these different accounts. I would like to be able to remove the link so I can quickly triple-click inside the cell with the email, hit ⌘ + C to copy and move on. Can’t do that with the link attached.
Thanks for the explanation.
I understand the use case but I don’t have a good alternative solution for you at the moment. You can triple click in the table cell corners but it’s not very handy.
If you have them in a table, you can still do what you want. Simply triple-click within the table cell but not on the text directly.
An alternative would be to use a code block (three backticks on the line before the email, and three backticks on the line after).
@trix180 testing this made me discover a bug: code blocks don’t get properly rendered within a table, although they still disable automatic link recognition. This happens also with only the leading backticks:
I would expect code blocks to be rendered properly.
Code with single backticks does work within the table.
Tables don’t allow “real” multi-lines because of their syntax. What we do to is place
<br> in the note text and treat them as new lines but the real content of the cell in your example is
| ```<br>email@example.com<br>``` | |
| | |
And can’t be considered a code block by markdown standards.
It does work to disable auto-linking tho.
Given that tables aren’t a part of CommonMark spec, why not diverge here and allow multilines? Is it a limitation of the library you’re using?
No, and in theory, we can diverge and have the block working with
and new lines, but we’ll be the only one supporting this. It’s true tables are not part of cmark but their syntax is used as it is by different engines (GitHub might be the most famous).
Good point. There is one way that some Markdown apps support multi-line content in tables: transclusion, i.e., embedding of other notes.
Here an example from Taio, but you can also do that in Obsidian, for example:
Source code looks like this:
If you ever decide to implement transclusion, that would be one solution people could use.