How to disable email address auto linkify?

AI-generated summary

The discussion addresses how to prevent email addresses from being automatically converted into links within posts. singpolyma asks for a way to disable this behavior specifically for emails without affecting other linkification features.

chapoi clarifies that there is no direct option to disable only email auto-linking. The behavior is governed by the enable_markdown_linkify site setting, but disabling it would also stop plain URLs from becoming links globally. As an alternative, chapoi suggests using backticks or developing a custom plugin.

Two specific workarounds are provided: satonotdead recommends wrapping the address in backticks (e.g., email@example.com) to render it as code, while Bas suggests escaping the at sign with a backslash (e.g., email\@example.com).

When I enter something like email@example.com in a post it becomes a link. How can I disable this for email pattern specifically?

What about email@example.com?

There is no option to disable that behaviour directly. I think it’s controlled by the site setting enable_markdown_linkify, so you could disable this, but then it also disables auto-linking of plain URLs everywhere, not just emails…

The backtick solution is the easiest way, unless you want to build a plugin to overrule the markdown behaviour.

email@example.com :eyes:

You can escape the at sign with a backslash:
email\@example.com