Closed TonyBarganski closed 1 year ago
Yeah, definitely shouldn't happen. The conversion is done with markdown2. I'll look to see if this is something they're doing or macnotesapp is doing.
Hmmm...latest version of markdown2 seems to work. See code on replit
import markdown2
md = """## Booking email:
1. [tony@somewhere.com](tony\@somewhere.com)
2. [tony@somewhere.com](mailto:tony\@somewhere.com)
3. [tony@somewhere.com](href="tony\@somewhere.com")
4. [tony@somewhere.com](href="tony@somewhere.com")
5. [tony@somewhere.com]
6. [tony@somewhere.com]([ "tony@somewhere.com" ]"""
print(markdown2.markdown(md))
<h2>Booking email:</h2>
<ol>
<li><a href="tony\@somewhere.com">tony@somewhere.com</a></li>
<li><a href="mailto:tony\@somewhere.com">tony@somewhere.com</a></li>
<li><a href="href="tony\@somewhere.com"">tony@somewhere.com</a></li>
<li><a href="href="tony@somewhere.com"">tony@somewhere.com</a></li>
<li>[tony@somewhere.com]</li>
<li>[tony@somewhere.com]([ "tony@somewhere.com" ]</li>
</ol>
Apologies, my bad! I found the issue.
I was piping my todo.txt tasks through a meta-character filter function which was removing the '@' symbol.
I have text of format:
The note in Apple notes comes out as: