Underscores in code lines split the viewer
Closed this issue · 5 comments
Running an up to date (as of today) version of both Joplin and the plugin.
If I enter code on a single line e.g. app = Flask(__name__)
The underscore characters split the code line, as per this photo. Not sure whether this is intended or not, but it's hecka distracting, makes the code a lot harder to read.
Here's the source:
<span class="cm-comment cm-variable-2 cm-jn-inline-code cm-jn-monospace">`app = Flask(</span>
<span class="cm-comment cm-variable-2 cm-jn-inline-code cm-jn-monospace cm-overlay cm-rm-strong-token">__</span>
<span class="cm-comment cm-variable-2 cm-jn-inline-code cm-jn-monospace">name</span>
<span class="cm-comment cm-variable-2 cm-jn-inline-code cm-jn-monospace cm-overlay cm-rm-strong-token">__</span>
<span class="cm-comment cm-variable-2 cm-jn-inline-code cm-jn-monospace">)`</span>
for the time being unchecking Tools -> Options -> Rich Markdown -> Add additional CSS classes for enhanced customization
gets rid of this.
Not sure whether this is intended or not
Definitely not intentional! Just a quirk of the way highlighting stuff in the editor works. This might need to be fixed in the main app. I'll play around with it to see if there's anything I can do.
Just a quirk of the way highlighting stuff in the editor works. This might need to be fixed in the main app.
Just to repeat, if I switch your CSS stylings off, it goes away.
Just to repeat, if I switch your CSS stylings off, it goes away.
Okay thanks, I saw that in your last message. I'm glad to know you have a temporary work around.