Bug 452238 - Asciidoc highlighting of sub-documents
Summary: Asciidoc highlighting of sub-documents
Status: RESOLVED FIXED
Alias: None
Product: frameworks-syntax-highlighting
Classification: Frameworks and Libraries
Component: syntax (other bugs)
Version First Reported In: unspecified
Platform: Ubuntu Linux
: NOR minor
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-03 20:35 UTC by Marcelo Escobal
Modified: 2023-07-17 21:14 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcelo Escobal 2022-04-03 20:35:07 UTC
SUMMARY
I have a master document that includes "sub-documents". The syntax highlighting only works if the document begins with "Level" 1:

= Titile of the document

but my "sub-documents" begin with level 2

== Chapetr

and the syntax hightlighting does not work.

STEPS TO REPRODUCE
1.  Create asciidoc master document that includes a sub-document
2.  Create subdocument that begins with title level > 1
3. Edit the subdocument in kate

OBSERVED RESULT

Headings aren't highlighted

EXPECTED RESULT

Headings should be highlighted regardless of the level at the beginning of the document

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION