[Github-comments] [geany] Markdown markup for fixed font does not work on start of a line (#867)

Ben Wiederhake notifications at xxxxx
Wed Jan 13 14:35:55 UTC 2016


The following one-liner does exactly what it looks like:

    This is a `hello-world` example.

And so do these two lines, as the linebreak isn't too special in plain Markdown:

    This is a
    `hello-world` example.

However, geany/scintilla/ctags/whatever doesn't recognize the backtick correctly if it happens to be at the start of a line, and wasn't at the start of the line before(?).

Steps to reproduce:

- Open Geany, open a new tab
- Write ``This is a `hello-world` example.`` in a line
- Put the cursor right after the word `a`
- Hit enter. The new line should start with a space, then a backtick
- Press "delete" on your keyboard

Actual behavior: The `hello-world` is no longer shown in the correct color (blue-ish in my case), but as normal text (black in my case; I should still have default syntax colors).

Expected behavior: The `hello-world` should still be in the correct collor, as it is still a valid markup for inline-code.

Note that something fishy is going on, because if you add a newline before the paragraph, then it apparently get's re-parsed correctly, fixing the display.

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/867
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160113/0e95704b/attachment.html>


More information about the Github-comments mailing list