dohliam / asciidoc-kate

AsciiDoc/AsciiDoctor syntax highlighting plugin for Kate editor/KatePart
7 stars 2 forks source link

Formatting sub-documents #3

Closed mescobal closed 2 years ago

mescobal commented 2 years ago

Hi: 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.

I know the thread is old but... just in case

dohliam commented 2 years ago

Hi @mescobal thanks for the feedback! In case you are not already aware, recent versions of Kate and Kwrite now have built-in (and much nicer) support for AsciiDoc highlighting, so there's no need to install this highlighter separately anymore.

However, I just tried using the "sub-document" format you were talking about and you are right that the in-built highlighter does not seem to pick it up. I would suggest filing this as a bug with the Kate project.

In the meantime, you have reminded me that I should add a note to the Readme about the support for AsciiDoc in Kate now! :smile:

mescobal commented 2 years ago

The Linux community is amazing!!!! The speed of the response is incredible!!!!! Thanks a lot!!!!

Marcelo

El domingo, 3 de abril de 2022 17:10:59 -03 Liam Doherty escribió:

Hi @mescobal thanks for the feedback! In case you are not already aware, recent versions of Kate and Kwrite now have built-in (and much nicer) support for AsciiDoc highlighting, so there's no need to install this highlighter separately anymore.

However, I just tried using the "sub-document" format you were talking about and you are right that the in-built highlighter does not seem to pick it up. I would suggest filing this as a bug with the Kate project.

In the meantime, you have reminded me that I should add a note to the Readme about the support for AsciiDoc in Kate now! 😄

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.