syntaxhighlighter-ng Testpage
Published by DeltaLima on Wednesday, June 21, 2023 - 02:01:10
syntaxhighlighter-ng in action
php
[code=php]
<?php $foo = "bar"; function lol() { if ( $foo == "rofl" ) { echo "<3 for php"; } } ?>
bash
[code=bash]
#!/bin/bash echo "bash scripts are great!" if [ "$1" == "something" ] then echo flatpress fi
apacheconf
[code=apacheconf]
ErrorDocument 404 /blog/index.php?page=error-404 ErrorDocument 500 "500 - something went wrong :(" <Directory /var/www> Options -Indexes AllowOverride All Order allow,deny Allow from all </Directory> <Directorymatch "^/.*/.git/"> Order 'deny,allow' Deny from all </Directorymatch>
diff
[code=diff]
+++ a/foo --- b/foo Apple - Banana + Cucumba Dragonfuit
logfile
[code=log]
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [ 0.000000] Linux version 6.1.11-meson64 (root@29682b33de96) (aarch64-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 8.3.0, GNU ld (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 2.32.0.20190321) #23.02.2 SMP PREEMPT Sat Feb 18 00:07:55 UTC 2023 [ 0.000000] Machine model: NEXBOX A95X (S905X) [ 0.000000] efi: UEFI not found. [ 0.000000] [Firmware Bug]: Kernel image misaligned at boot, please fix your bootloader! [ 0.000000] Reserved memory: created CMA memory pool at 0x000000006a800000, size 256 MiB [ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool [ 0.000000] NUMA: No NUMA configuration found [ 0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x000000007fe5afff] [ 0.000000] NUMA: NODE_DATA [mem 0x7fa3a000-0x7fa3bfff] [ 0.000000] Zone ranges:
code block without syntax highlightning
[code]
HAI 1.2 CAN HAS STDIO? PLZ OPEN FILE "LOLCATS.TXT"? AWSUM THX VISIBLE FILE O NOES INVISIBLE "ERROR!" KTHXBYE