Possibility of allowing users to create custom syntax highlighting
3 replies, posted
Hello,
In threads I frequent and a lot of others frequent we use Wiremod's Expression2 entity which allows you to program in a language similar to lua yet different.
It would be nice to be able to create custom highlighting for this language in the forums. Highlighting for this language has already been created in Sublime for reference.
GitHub
is the forums using highlight.js?
@Scratch looks like it is
# rewrite`s rules for wordpress pretty url
LoadModule rewrite_module modules/mod_rewrite.so
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [NC,L]
ExpiresActive On
ExpiresByType application/x-javascript "access plus 1 days"
Order Deny,Allow
Allow from All
<Location /maps/>
RewriteMap map txt:map.txt
RewriteMap lower int:tolower
RewriteCond %{REQUEST_URI} ^/([^/.]+)\.html$ [NC]
RewriteCond ${map:${lower:%1}|NOT_FOUND} !NOT_FOUND
RewriteRule .? /index.php?q=${map:${lower:%1}} [NC,L]
</Location>
Sorry, you need to Log In to post a reply to this thread.