This is a comment on How to add custom HTML element to code.php, posted by WikiAdmin at 11/12/2026 06:50
View source for Re: How to add custom HTML element to code.php
If you see ##$tpl->##, it uses a template, just look out for the subfolder named ##template/## and the corresponding##.tpl## template file. Change the HTML code there. * ((source:master/src/formatter/highlight/template/code.tpl /formatter/highlight/template/code.tpl)) Or copy and rename both files and create a custom formatter which gets not overwritten with the next update, kinda %%% %%(my_code) ... %% %%% using the name of the file. How templates work you'll find in the ((/Dev/Projects/Templatest/Usage template guide)).