Commit 6b2a1069 authored by Christoph Cullmann's avatar Christoph Cullmann

add some page listing all supported syntax highlightings

parent 38f600fa
......@@ -3,7 +3,7 @@ title: Syntax Highlightings
author: Christoph Cullmann
date: 2019-08-24T12:12:12+00:00
---
Kate's highlighting powered by [KSyntaxHighlighting](https://api.kde.org/frameworks/syntax-highlighting/html/) supports the follow languages:
Kate's highlighting powered by [KSyntaxHighlighting](https://api.kde.org/frameworks/syntax-highlighting/html/) supports the follow 311 languages:
* [.desktop](/syntax/data/syntax/desktop.xml)
* [4DOS BatchToMemory](/syntax/data/syntax/4dos.xml)
......
......@@ -99,6 +99,7 @@ while ($minorVersion <= $currentVersion) {
# we create some overview page, too, as markdown to brag about the amount of stuff we know .P
my $syntax_md = "../../content/syntax.md";
my $count = scalar %nameToFile;
open (my $syntax_page, ">$syntax_md");
print $syntax_page
"---\n".
......@@ -106,7 +107,7 @@ print $syntax_page
"author: Christoph Cullmann\n".
"date: 2019-08-24T12:12:12+00:00\n".
"---\n".
"Kate's highlighting powered by [KSyntaxHighlighting](https://api.kde.org/frameworks/syntax-highlighting/html/) supports the follow languages:\n\n";
"Kate's highlighting powered by [KSyntaxHighlighting](https://api.kde.org/frameworks/syntax-highlighting/html/) supports the follow $count languages:\n\n";
foreach my $name (sort keys %nameToFile) {
my $file = $nameToFile{$name};
my $version = $metaInfo{$file}{version};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment