How to change the language of the pre formatted text!

Please do not flag this as spam, I deleted the other post by mistake.

we’ve all probably heard of this feature - if you haven’t already used it.

But did you know you can change the language the code is in?

This is in lua
this is in python
This is in JavaScript

But the best part? It’s so easy!

Step 1:

Step 2:
Write the language of the code at the top of the three `, like so.


How would you rate my tutorial?
  • 1
  • 2
  • 3
  • 4
  • 5

0 voters


1 Like

Lemme see if it works.:

local maybe = true
local yes = “no”
yes = nil 

Doesn’t look formatted properly on iOS 15.5 on FireFox 100.1.

At this time lua is not part of the syntax highlighting system. However this isn’t the greatest of deals & it works with multiple file extensions.

local BestForums = "CookieTechForums"