WYSIWYG editor keeps changing my markdown

I'm using the following to add some coloring to my text but the WYSIWYG keeps changing it.

For css:

a[href='green'] {
    color: green;
    pointer-events: none;
    cursor: default;
    text-decoration: none;

Which allows my to use in markdown:
[my green text](green)

This works great, but only once.
As soon as I make an edit using the WYSIWYG editor the markdown is changed into:
[my green text](/C:/Users/Uthar/AppData/Local/Programs/Joplin/resources/app.asar/green "green")

After that it stops working. Anything I can do to stop it from changing my markdown?

Windows 10
Joplin 2.7.13 (prod, win32)

Client ID: b7ecd0bc442b437db0a8ed408008d21d
Sync Version: 3
Profile Version: 41
Keychain Supported: Yes

Revision: 5b5165d

Ok, you misuse a link that point to a local file green to display a text green ...
Why not just use the HTML tag font?
<font color="green">Some green text</font>

Seemed like a good idea, and very compact to write compared to HTML.
I guess i can always use HTML but if there is something to prevent the WYSIWYG editor to do this I prefer to use the css styling.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.