Bug 491413 - Escape character doesn't work for backticks
Summary: Escape character doesn't work for backticks
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: markdown backend (show other bugs)
Version: 24.05.2
Platform: Flatpak Linux
: NOR minor
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-08 00:16 UTC by domojestic
Modified: 2024-08-10 10:31 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
A formatted version of a popular vim-related stackoverfllow answer (5.26 KB, text/markdown)
2024-08-09 01:39 UTC, domojestic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description domojestic 2024-08-08 00:16:17 UTC
SUMMARY
If I want to display the backtick character (`) as inline code, I'm under the assumption that I would need to write something like this: `\``. However, this simply does not work.

STEPS TO REPRODUCE
1. In a markdown file, write the string `\``
2. Open the file in Okular.

OBSERVED RESULT
The backtick next to the backslash behaves like a normal Markdown backtick, expecting a closing backtick later and breaking the way the file is intended to be rendered.

EXPECTED RESULT
The backtick is seen rendered in monospace.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.24.7
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Comment 1 Albert Astals Cid 2024-08-08 18:09:30 UTC
Please attach such a file
Comment 2 domojestic 2024-08-09 01:39:32 UTC
Created attachment 172424 [details]
A formatted version of a popular vim-related stackoverfllow answer

Here's the exact file I was editing: the content actually references backticks explicitly, so hopefully it's easy to find the spots I'm referring to!
Comment 3 Albert Astals Cid 2024-08-10 10:31:40 UTC
Are you speaking about

You can move to the precise location of any mark using the `\`` (backquote) command. Thus  `\`z` will move directly to the exact location of the 'z' mark.

?

That's not how you escape markdown it seems, at least if you go to https://umemotoctrl.github.io/mdpjs/ and paste that text, none of the 7 different renderers you can select there do what you say it should do.