User:Philmasterplus/TemplateSandbox
< User:Philmasterplus
Jump to navigation
Jump to search
Revision as of 11:51, 25 December 2020 by Philmasterplus (talk | contribs)
Provides syntax highlighting for ASH code.
Technically, there is no true syntax highlighting for ASH. This template currently uses the syntax highlighting scheme for the D programming language, which works for most cases.
Example
{{User:Philmasterplus/TemplateSandbox|code= foreach it in $items[] { if ( have_item( it ) ) { print( it ); } } }}
{{{code}}}