Fri Jul 13, 2018 11:25 am
I made several improvements to the textile syntax highlighting and now have a few questions, mostly on how to share it.
1. To whom do I mail the patch/new version or how do I get git access?
2. The header lists a few values:
author="Alexander Kabakov (email@example.com)"
Is it correct to set them to these values?
version="4" // next iteration of file
kateversion="18.04.2" // tested Kate version
author="Alexander Kabakov (firstname.lastname@example.org), Arkadiusz Guzinski (email@example.com)" // just adding myself
3. Textile is designed to create HTML, which can also be embeded within it. So it would make sense to hightlight HTML-Elements. I tried to do that with things like
4. Since I'm using textile with jekyll, textile files usually contain a yaml "Front Matter" header, which I have implemented via
This, however is not standard textile and while I don't expect it to cause any problems for pure textile files the question remains: does it belong in textile's syntax highlighting, or should i make a derived syntax highlighting file "textile_with_yaml.xml" for this case? If so, what's the best way to get it loaded automaticly?
Here is a quick summary of my changes:
links: multiple links per line, link alias
image: dont hightlight text if sentence ends with '!' ; dirty support for !imagestuff!:url syntax
put period behind sectionheaders (is required - may not have been when original rules were written)
comments block (###.)
some inline formating
basic table support
yaml front matter
Fri Jul 13, 2018 6:19 pm
Have you tried contacting Alexander about all of this? He being the author would probably be the best one to answer most of these.
airdrik, proud to be a member of KDE forums since 2008-Dec.