XenForo
Administrative
- Thread starter
- Admin
- #1
Hi, i am trying to include a custom language (LUA) in BBcode. I found this post by @Chris D but i guess i am missing something.
- I've downloaded prism-lua.min.js - this
- Template "prism_macros" modified to include the js file as bellow.
Code:
-...
Read more
ادامه مطلب...
- I've downloaded prism-lua.min.js - this
- Template "prism_macros" modified to include the js file as bellow.
Code:
Code:
<xf:macro name="setup">
<xf:css src="bb_code.less" />
<xf:js prod="xf/code_block-compiled.js" dev="vendor/prism/prism.min.js, xf/code_block.js" />
<xf:js src="/wwwroot/js/xf/prism-lua.min.js" />
</xf:macro>
Read more
ادامه مطلب...