[okular] [Bug 524442] New: Markdown anchors must be lowercase by standards
"Allen Winter" <[email protected]>
| Newsgroups | gmane.comp.kde.devel.bugs |
|---|---|
| Message-ID | <[email protected]/> |
https://bugs.kde.org/show_bug.cgi?id=524442
Bug ID: 524442
Summary: Markdown anchors must be lowercase by standards
Classification: Applications
Product: okular
Version First 26.04.3
Reported In:
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: markdown backend
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 195271
--> https://bugs.kde.org/attachment.cgi?id=195271&action=edit
markdown file for demonstrating the bug
DESCRIPTION
According to the official markdown syntax, In-Page Anchor Links must be the
lowercase versions of the headers. i.e if the header is "## Section1" then the
in-page link should look like "see [Section1](#section1)"
However, when okular runs on an .md file, the display doesn't show a working
link in that case.
it works fine if I change the in-page link to "see [Section1](#Section1)" .
i.e looks like the anchor must exactly match the header title.
STEPS TO REPRODUCE
1. create a markdown file with a lowercase in-page link that doesn't match case
with associated header
2. open that file in okular
OBSERVED RESULT
notice the in-page link is highlighted but you can't click it
EXPECTED RESULT
the in-page link is highlighted and you can click it to navigate in the
document
SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 44
KDE Plasma Version: 6.7.4
KDE Frameworks Version: 6.29.0
Qt Version: 6.11.1
Kernel Version: 7.1.8-200.fc44.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-8650U CPU @ 1.90GHz
Memory: 32 GiB of RAM (31.2 GiB usable)
Graphics Processor 1: Intel® UHD Graphics 620
Graphics Processor 2: NVIDIA GeForce MX150
ADDITIONAL INFORMATION
I'm attached a foo.md to demonstrate the problem
I noticed the problem when I installed a markdown lsp for kate and saw
complaints
additionally, markdownlint complains about the same.
--
You are receiving this mail because:
You are watching all bug changes.