I use TiddlyWiki5 with Node.js. That means that I've got one .tid file per tiddler on my hard disk. When I want to edit a file without a browser, I use
this plugin for vim. But sometimes I just want to print a file's content with syntax highlighting. Usually I use
bat,
pygmentize or
highlight for this but none of these seems to support TiddlyWiki syntax. bat uses the
syntect library for syntax highlighting which uses Sublime Text syntax definitions and I found a
Sublime 3 syntax file for TiddlyWiki5 *.tid files but apparently it's not of that type of Sublime syntax files that syntect understands.