Bug 445649 - OrgMode syntax highlighting support
Summary: OrgMode syntax highlighting support
Status: RESOLVED FIXED
Alias: None
Product: frameworks-syntax-highlighting
Classification: Frameworks and Libraries
Component: syntax (show other bugs)
Version: 5.88.0
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-17 13:46 UTC by Gary Wang
Modified: 2022-08-23 21:09 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gary Wang 2021-11-17 13:46:05 UTC
SUMMARY

Feature request for OrgMode (https://orgmode.org/) file syntax highlighting support.

STEPS TO REPRODUCE
1. Prepare a valid OrgMode file
2. Open it with Kate for example
3. See the result

OBSERVED RESULT

No syntax highlighting, the selectable language list also doesn't have Org Mode to select.

EXPECTED RESULT

Able to do syntax highlight for OrgMode files.

SOFTWARE/OS VERSIONS

syntax-highlighting tag 5.88.0 and also master branch

ADDITIONAL INFORMATION

I try to follow the manual to create a custom syntax highlighting XML file for OrgMode mode to fit my need, but I still have trouble understanding the manual, and the XML I created only covers the very basic usage of OrgMode. Hope we can get official OrgMode syntax highlighting from KDE.
Comment 1 Waqar Ahmed 2021-11-17 16:57:51 UTC
If you have created a syntax file for org mode, feel free to make a merge request with it. It doesn't have to be perfect, you can improve it with time.
Comment 2 Gary Wang 2021-11-18 05:10:55 UTC
(In reply to Waqar Ahmed from comment #1)
> If you have created a syntax file for org mode, feel free to make a merge
> request with it. It doesn't have to be perfect, you can improve it with time.

Thanks! My current syntax file is here. It still lacks some functionality, I still
cannot figure out how to make it foldable by heading level but anyway it's
here. Any help is appreciated.

https://invent.kde.org/frameworks/syntax-highlighting/-/merge_requests/272
Comment 3 Christoph Cullmann 2022-08-23 21:09:04 UTC
We merged this, let's close the bug.