Additional language for [code=...] bbcode

XF 2 Tip Additional language for [code=...] bbcode

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
8,743
Points
698

Reputation:

ENXF NET submitted a new resource:

Additional language for [code=...] bbcode - Add additional language support on your forum

Since xenForo 2.0.1 release you can add additional language support on your forum. There was no way to do so before due to this bug.

This method of adding additional language was proposed by @Chris D.

In this example, I will be adding LaTeX support.

1. Downloading PrismJS components
xenForo uses PrismJS library for highlighting code in
Code:
 blocks. Not all languages are included in PrismJS that goes with xenForo by default. So you will have to add additional languages...
Read more about this resource...
 
Top