Syntax...ToolKit(3pm)

πŸ’– NAME πŸ’–

Syntax::Highlight::Engine::Kate::Convert::ToolKit β€” the little helper-routines bestie that mostly exists to convert Kate's native highlight definitions into the ones Syntax::Highlight::Engine::Kate uses πŸ¦‹


✨ SYNOPSIS ✨

use Syntax::Highlight::Engine::Kate::Convert::ToolKit;

$hlfile = "/some/path/some-lang.xml";
$toolkit = new Syntax::Highlight::Engine::Kate::Convert::ToolKit();
# $toolkit->outcmd = sub { ... };  # optionally redefine bare output
$outfile = $toolkit->register($hlfile);
$toolkit->pmGenerate($outfile);

🌸 DESCRIPTION 🌸

okay so, ToolKit is out here carrying helper routines, and the main character of those routines is conversion β€” it takes Kate's native highlight definitions and turns them into the ones used by Syntax::Highlight::Engine::Kate. it's giving glow-up, fr fr πŸ’…

and because nobody wants to hand-roll that every time, the whole conversion process is conveniently wrapped up into the provided hl-kate-convert script πŸŽ€

⚠️ heads up bestie: this module needs XML::Dumper and XML::TokeParser, and those are not listed as dependencies of Syntax::Highlight::Engine::Kate. so don't come for me when they're missing 😭 go install them yourself, iykyk.

and that's the whole vibe πŸ’œ this page came to you from perl v5.40.1, dated 2026-02-22, and yeah β€” slay, periodt πŸ‘‘

πŸ“¦ where this page comes from