Blog geekesque... ou presque

Aller au contenu | Aller au menu | Aller à la recherche

MyBB 1.8 - Plugin GeSHi (Generic Syntax Highlight)

J'avais développé il y a fort longtemps un plugin pour intégrer GeSHi dans MyBB 1.6.

MyBB a changé de version, le plugin n'est plus compatible et souffrait de quelques bugs. Aujourd'hui, voici la nouvelle version fonctionnelle.

GeSHi

Ce système permet de faire de la coloration syntaxique de code, c'est d'ailleurs lui qui est utilisé sur le présent blog. Très simple à mettre en œuvre, il peut gérer de nombreux langages (voir la liste juste dessous) et il est assez aisé d'en ajouter d'autres.

cpp-qt, abap, xml, genero, powershell, boo, cpp, sdlbasic, mxml, gwbasic, python, apache, logtalk, thinbasic, winbatch, blitzbasic, text, rsplus, genie, coffeescript, scilab, falcon, plsql, reg, kixtart, javascript, haskell, lolcode, vbnet, gdb, rpmspec, fsharp, actionscript3, dcpu16, providex, applescript, icon, asm, mysql, oracle11, cfm, lotusscript, dot, spark, modula3, rails, avisynth, rexx, vedit, pys60, 4cs, asymptote, mpasm, pycon, glsl, intercal, freeswitch, php, modula2, dcs, progress, html4strict, c, latex, pike, pf, io, gettext, scheme, sparql, dos, stonescript, lua, nsis, cuesheet, properties, urbi, sas, visualprolog, ecmascript, 6502tasm, z80, xpp, bibtex, arm, unicon, hicest, xbasic, bash, erlang, smarty, euphoria, php-brief, oracle8, epc, j, gml, oberon2, purebasic, vim, tcl, bnf, llvm, magiksf, csharp, freebasic, cfdg, dcl, q, systemverilog, basic4gl, octave, diff, actionscript, cmake, html5, gambas, ocaml-brief, lb, ruby, vb, tsql, java, ini, awk, oobas, nagios, uscript, div, scala, newlisp, locobasic, autoconf, 68000devpac, algol68, idl, fortran, typoscript, parasail, whitespace, lotusformulas, email, klonec, pcre, robots, mirc, klonecpp, lsl2, autoit, matlab, 6502kickass, parigp, povray, zxbasic, ldif, java5, cil, hq9plus, lisp, cadlisp, css, netrexx, m68k, clojure, haxe, prolog, eiffel, mapbasic, oorexx, powerbuilder, verilog, chaiscript, caddcl, per, ocaml, ada, inno, e, postgresql, bf, proftpd, perl6, yaml, f1, lscript, qbasic, groovy, smalltalk, make, autohotkey, d, fo, pixelbender, gnuplot, teraterm, apt_sources, xorg_conf, objc, asp, upc, 6502acme, pic16, bascomavr, rebol, c_mac, perl, pli, mmix, pascal, delphi, oxygene, objeck, go, oz, visualfoxpro, cobol, whois, vhdl, jquery, c_loadrunner, sql, vala

ABP GeSHi

Installation

  • télécharger le plugin officiel dans la bibliothèque MyBB,
  • dézipper l'archive obtenue
  • uploader le contenu du répertoire UPLOAD/ à la racine de votre forum,
  • depuis l'administration de votre forum, activez le plugin

Configuration

Le plugin permet actuellement un seul type de configuration: l'affichage des numéros de lignes. Si d'autres options vous semblent nécessaires, n'hésitez pas à le signaler sur ab-plugin. settings.png

Utilisation

Le plugin utilise une syntaxe très simple:

[geshi=langage]votre code
sur une ou plusieurs lignes[/geshi]

langage doit faire partie de la liste donnée plus haut, sans quoi l'affichage indiquera une erreur et la liste des langages disponibles.

examples.png

Commentaires

1. Le mercredi 9 août 2017, 13:13 par paragraph

Simⲣly wish to say your article is as astounding. The clearnesѕ for youг
publish is simply nice and i can assume you're a
profesѕional in this subject. Well along ԝіth your permission allow me to take hold of your RSЅ feed to stay updated with apprⲟaching post.
Thank you 1,000,000 and please keеp up the rewarding work.

2. Le jeudi 10 août 2017, 00:31 par stop-rmt.com

Now, being journalists attemptedto glean something through Workforce Sky’s control media gain access to for the support day, Brailsford accused a cyclingnews.com writer, Craig Ryan, connected with “carving shit regarding [him]” also
exposed him he / she was present prohibited by listening closely to Froome as the contest leader told to box means.
That occurred from a identical instance with
all the website’s editor Daniel Benson ahead within the race.
- stop-rmt.com

3. Le jeudi 10 août 2017, 14:16 par wapblogku.com

Below, while writer experimented with glean one thing coming from Staff
Sky’s control media entry about the break time, Brailsford accused a cyclingnews.com writer,
Craig Ryan, of “carving shit around [him]”
also narrated him he / she remained barred by listening to Froome for the reason that line chief tell to tv set markets.
In which took place after a identical show with all the website’s manager Daniel
Benson ahead inside the people. - wapblogku.com

4. Le jeudi 10 août 2017, 14:46 par fontpro.com

The following, what reporters attempted to glean one thing through Players Sky’s limited media access
on the relax day, Brailsford accused a cyclingnews.com author, Barry
Ryan, regarding “produce shit about [him]” after that showed him he became banished via tune in to
help Froome for the reason that line innovator talked to tv set electric outlet.
That will turned up from a comparable show while using the website’s
editor Daniel Benson past inside race. - fontpro.com

5. Le jeudi 10 août 2017, 15:14 par miasta.ru

In this article, when reporter experimented with glean a little via Group Sky’s control
media gain access to around the place day time, Brailsford accused a
cyclingnews.com article writer, Craig Ryan, regarding
“record shit approaching [him]” with reported him he or she survived stopped coming from listening for you to Froome because competition chief talked to be able to telly stores.
To occurred from a related event with all the website’s manager Daniel Benson before in the speed.
- miasta.ru

6. Le jeudi 10 août 2017, 15:23 par www.nittru.com

Now, like surgeon attemptedto glean somewhat via Staff Sky’s
control media approach within the relaxation evening, Brailsford
accused a cyclingnews.com author, Craig Ryan, of “mark shit approaching [him]” and also charged him he
/ she survived barred via paying attention in order to Froome because the battle innovator talk to help box electric outlet.

That occurred from a similar occurrence with all the website’s editor Daniel
Benson ahead inside the event. - www.nittru.com

7. Le jeudi 10 août 2017, 16:15 par vladit.ru

Here, because correspondents experimented with glean some thing coming from Side Sky’s limited media door within the remainder period, Brailsford accused a cyclingnews.com author, Craig Ryan, connected with “mark shit around [him]” in addition to differentiated him he
/ she happened prohibited coming from hearing in order to Froome since the nation leader address
to television set wall plug. Which appeared after having a related episode while using website’s publisher Daniel Benson before from the tribe.

- vladit.ru

8. Le jeudi 10 août 2017, 16:34 par separate

W᧐w, tһis piece of writing is nice, my sister is
analyzing such things, therefore I am going to inform her.

9. Le jeudi 10 août 2017, 16:53 par http://Www.Healthcarebuyinggroup.com/MemberSearch.aspx?Returnurl=http://suomibets.com/uncategorized/hairikko-peraisin-gladbach-ja-muista-skandaali-makers

Here, because writers attemptedto glean somewhat through
Workforce Sky’s limited media contact for the place day time, Brailsford accused a cyclingnews.com writer, Craig Ryan, connected with
“composing shit about [him]” next instructed him he remained don't include
by listen closely to help Froome as the nation boss spoke
for you to box stores. That reached after a related occurrence with all the website’s publisher Daniel
Benson past within the competition. - http://Www.Healthcarebuyinggroup.co...

10. Le jeudi 10 août 2017, 16:53 par Set.ua

Right here, what writers experimented with glean a bit
via Group Sky’s limited media access on the break evening, Brailsford accused a cyclingnews.com copy writer, Craig Ryan, of “record shit on [him]” along with ordered him he /
she was real left out coming from listening to help Froome because
the race boss talk in order to telly instruments. That took place from a equivalent show using
the website’s manager Daniel Benson before inside line.
- Set.ua

11. Le dimanche 13 août 2017, 04:20 par xxx

I'm іmpressed, I have to admit. Rarely dο I come across a
bⅼog that's equally educative and interesting, and ᴡithout
a doubt, you hаve һit the nail on the head.
The issue is somethіng too few folks are spеaking
intellіgently about. I'm very happy that I found this in my
search for something relating to this.

12. Le lundi 14 août 2017, 06:29 par xvideo

Τhese are genuinely enormous ideas in regardіng bloցging.
You have touched some nice things hеre. Any way keep up wгinting.

13. Le mardi 15 août 2017, 05:59 par ควย

Αfter exploring a few of the blog articles on your website, I
truly like your way of writing a blog. I added it to my bookmark site list and will be chеcking back in the near future.
Take a look аt my web site too and tell me your opinion.

14. Le mercredi 16 août 2017, 04:17 par หีสวย

Someоne essentiaⅼly аssist to make severely articⅼes I'd state.
This is the first time I frequented your web page and so far?
I surprіsed with the rеsearch you made to create this рarticular put up amazing.
Great activity!

15. Le mercredi 16 août 2017, 13:01 par Www.Pageglance.com

Right here, as journalists attemptedto glean anything coming
from Party Sky’s restriction media door on the relax period,
Brailsford accused a cyclingnews.com copy writer, Craig Ryan, involving “creating shit about [him]” and also instructed him
he was excluded by tune in in order to Froome since
the battle innovator lecture in order to television holes. That extended after having a identical show
with all the website’s editor Daniel Benson earlier in the race.
- Www.Pageglance.com

16. Le mercredi 16 août 2017, 13:12 par guiaturisticaargentina.com

Right here, since reporters experimented with glean rather
through Team Sky’s control media contact within the balance period, Brailsford accused a cyclingnews.com
copy writer, Barry Ryan, connected with “creating shit around [him]” then enlightened him he / she
remained prevented through paying attention to be
able to Froome because the contest leader spoke to tv set means.
To appeared following a related show with the website’s
manager Daniel Benson before within the competition. - guiaturisticaargentina.com

17. Le mercredi 16 août 2017, 13:41 par adserving.cpmoz.com

The following, seeing that journalists attemptedto glean rather by Crew Sky’s limited media entry around
the support evening, Brailsford accused a cyclingnews.com writer,
Craig Ryan, connected with “composing shit about [him]” also recognized
him he or she happened banished via paying attention for
you to Froome as the line leader tell in order to tv passages.
That will went from a similar event while using the website’s publisher Daniel Benson earlier within the event.
- adserving.cpmoz.com

18. Le mercredi 16 août 2017, 13:49 par http://www.Afvalscheiding.nl/

Right here, since journalists attemptedto glean something
through Staff Sky’s control media gain access to for the break day,
Brailsford accused a cyclingnews.com copy writer, Craig
Ryan, of “engraving shit around [him]” also told him he / she happened prohibited from listening closely to help Froome because race boss talked in order to tv holes.
Of which took place following a similar instance with
the website’s editor Daniel Benson earlier in the nation. -
http://www.Afvalscheiding.nl/

19. Le mercredi 16 août 2017, 13:52 par http://www.chajian110.com

The following, like reporters experimented with glean something
via Group Sky’s restriction media contact within the sleep period, Brailsford accused
a cyclingnews.com author, Craig Ryan, involving “entering
shit on [him]” with exposed him he or she happened eliminated from tune in to
help Froome because the line chief conversed to
tv set shops. Which extended after having a comparable
occurrence using the website’s editor Daniel Benson before within the competition. -
http://www.chajian110.com

20. Le mercredi 16 août 2017, 13:58 par ref.gamer.com.tw

In this article, what writer attempted to glean a thing
from Team Sky’s limited media accessibility about the relax morning, Brailsford accused a cyclingnews.com article
author, Craig Ryan, involving “recording shit around [him]” and requested him he lived don't include coming from listen closely to Froome because battle head chat to
tv passages. Which turned up following a similar instance while using website’s publisher Daniel Benson before
within the speed. - ref.gamer.com.tw

21. Le mercredi 16 août 2017, 14:01 par Akillimeyveler.Reklamagaci.com

Now, seeing that reporter attemptedto glean some thing through Party Sky’s restriction media approach
for the remainder morning, Brailsford accused a cyclingnews.com writer, Barry Ryan, connected with
“writing shit approaching [him]” with narrated him he /
she stayed eliminated via listen in for you to Froome because people boss
lecture for you to television set channels. That will happened following a related occurrence while using the website’s editor Daniel Benson before within the nation. - Akillimeyveler.Reklamagaci.com

22. Le mercredi 16 août 2017, 14:43 par http://Powdertechcorby.Co.uk/redirect.aspx?url=http://www.capturedemo.com/users/imimor

Here, since writers attemptedto glean a little by Crew Sky’s control
media accessibility about the break period, Brailsford accused a cyclingnews.com article author, Barry Ryan,
regarding “contact shit about [him]” after that distinguished him he / she was alive left out by listen closely for you to
Froome because the race leader address to be able to tv vehicles.
Which stretched after a similar event with the website’s editor
Daniel Benson before from the competition. - http://Powdertechcorby.Co.uk/redire...

23. Le mercredi 16 août 2017, 16:03 par https://portamur.ru/bitrix/rk.php?goto=http://www.spinattic.com/uforexis

In this article, what reporter attempted to glean rather through Workforce Sky’s limited
media approach on the remainder period, Brailsford accused a cyclingnews.com author,
Barry Ryan, connected with “producing shit around [him]”
also cautioned him he / she survived barred coming
from tune in in order to Froome because contest chief address to tv shops.
That will took place from similar show while using the website’s
publisher Daniel Benson before in the event. - https://portamur.ru/bitrix/rk.php?g...

24. Le mercredi 16 août 2017, 16:36 par Www.Peterblum.com

Here, being writer attempted to glean somewhat coming
from Team Sky’s restriction media contact for the balance evening, Brailsford accused a cyclingnews.com writer, Barry Ryan,
connected with “creating shit about [him]” next charged
him he was stopped via hearing for you to Froome
for the reason that battle boss talked in order to tv
wall plug. That will approached after having a similar episode
while using website’s publisher Daniel Benson before within the chase.

- Www.Peterblum.com

Ajouter un commentaire

Le code HTML est affiché comme du texte et les adresses web sont automatiquement transformées.

La discussion continue ailleurs

URL de rétrolien : https://www.g33k-zone.org/index.php?trackback/111

Fil des commentaires de ce billet