Hi @horinitro ,
Thank you for reaching me 👍 The plugin is based on PHP code using the extended version of markdown called “markdown extra“. So you can add html ID, classnames and attributes like this :
[Yahoo](https://www.yahoo.com){#foo .bar .baz target=_blank rel=nofollow}
That will be rendered as an example like:
<a href="https://www.yahoo.com" id="foo" class="bar baz" target="_blank" rel="nofollow" >Yahoo</a>
Now the point is that the rendering engine based on PHP is plugged via an add-on to the markdown extra syntax, but the editor engine on the admin screen based on JavaScript is still using standard markdown.
So using the “_blank” keyword with an underscore character “_” within the brackets “{}” inside the editor following the classic model will still trigger the italic text until the next break line 🤪 :
https://mega.nz/file/V0djVIYR#Ttcisvj3qgG-jnLgchONC9D2jQjKGCvnEyqKVeTyviY
As a workaround I would suggest using a custom frame name without the underscore like
{target=blank} or {target=newtab} which is still valid for HTML. If you are a developer just use any keyword except the ID / anchors that are used inside your page and that should be fine 😉
Regards
Hi @peter202202
Thank you.
The method you taught me solved the problem.