madma
New Member
Posts: 2
inherit
213838
0
Sept 27, 2014 10:02:53 GMT -8
madma
2
September 2014
madma
|
Post by madma on Sept 15, 2014 4:27:15 GMT -8
Hello guys, So i have a problem, I want to add a possibility to my forum to add a lua script ([*lua][*/lua]) in post with syntax highlighting. To give You an idea of what exactly Im speakin', I gonna show u an example on another forum - I even created a board on this forum and they told me that they are simply using Google Code Prettify and some CSS stolen from Bootstrap. Here an example in the first post on this forum: Windbot ForumsI would like to know if there's a possibilty to do the same on Proboards and if its possible, then how? Thank You very much guys!
|
|
madma
New Member
Posts: 2
inherit
213838
0
Sept 27, 2014 10:02:53 GMT -8
madma
2
September 2014
madma
|
Post by madma on Sept 15, 2014 12:20:15 GMT -8
bump, anyone?
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,024
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Sept 17, 2014 20:48:32 GMT -8
The plugin in this post might be what you are looking for madma. It uses the standard [code] tag with the title attribute set to the language or MIME type to be highlighted example: - [code title="lua"]...[/code]
- [code title="text/x-lua"]...[/code]
The plugin is still in its early stages so that title attribute will have to be added by hand since no editor button exists yet
|
|