| Summary: | [jira] doesn't highlight bold or italic words | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-syntax-highlighting | Reporter: | moshpirit <albma> |
| Component: | syntax | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | wishlist | CC: | jonathan.poelen, lassi.vaatamoinen, nibgonz, walter.von.entferndt |
| Priority: | NOR | ||
| Version First Reported In: | 5.98.0 | ||
| Target Milestone: | --- | ||
| Platform: | Manjaro | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/frameworks/syntax-highlighting/commit/c4c3cb9842404aec1dd645cf08107dd0310ce00a | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: | Bold highlight not working at start of line | ||
|
Description
moshpirit
2021-01-07 16:26:53 UTC
Could you give more details about the problem? Markdown syntax highlighting does highlight bold and italics (for example, **bold**, __bold__, *italic*). Perhaps the problem is because the font you are using in Kate doesn't have bold and italic variants. * Check if bold and italics are highlighted in other syntax highlighters. For example, in C++ or JavaScript keywords like "if", "while" are highlighted in bold. * Indicate the version of KDE Frameworks you are using (In Kate, go to: Help -> About Kate -> Libraries) * Indicates the type of font used (go to: Settings -> Configure Kate... -> Apperance -> Fonts). Here is an example file of the Markdown highlighting: https://kate-editor.org/syntax/data/html/test.markdown.html Created attachment 152609 [details]
Bold highlight not working at start of line
Kate Version 19.12.3
KDE Frameworks 5.68.0
Qt 5.12.8 (built against 5.12.8)
The xcb windowing system
Looks like the *bold* highlighting for Jira syntax does not work for words right at the start of line. Could it be confused with a bullet point by the hilight engine?
As a comparison, _italic_ works fine.
Git commit c4c3cb9842404aec1dd645cf08107dd0310ce00a by Christoph Cullmann, on behalf of Jonathan Poelen. Committed on 05/11/2022 at 13:50. Pushed by cullmann into branch 'master'. Jira: fix Bold and Stroked Out highlight at start of line M +2 -2 autotests/html/highlight.jira.dark.html M +2 -2 autotests/html/highlight.jira.html M +2 -2 autotests/reference/highlight.jira.ref M +1 -1 data/syntax/jira.xml https://invent.kde.org/frameworks/syntax-highlighting/commit/c4c3cb9842404aec1dd645cf08107dd0310ce00a |