Not logged in. · Lost password · Register
Forum: General Help and Support Development RSS
Homade language URL with REGEXP
Plugin or not plugin ?
Avatar
totoleharicot #1
Member since Jun 2018 · 2 posts
Group memberships: Members
Show profile · Link to this post
Subject: Homade language URL with REGEXP
Hello everybody,

I'd like to enhance my Dokuwiki by adding a syntax highlighting for a homemade language.
The wiki I'm using is actually filled with automatically generated pages. It is some kind of javadoc for my own language.
In order to do this, I first created a new php file in the folder $DOKU_ROOT/vendor/easybook/geshi/geshi so I got the syntax highlighting ok with GeSHi but I'm stumbling upon the URLs. Apparently, it's not possible for GeSHi to do so, so I've thought about a plugin. I'd like to search into <code> tags for some regular expression, and if this regular expression matches, i'd like to render it as a link to an existing page of my wiki.

Do you have any idea on how I should proceed ?

Thank you in advance ! :-)
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-12-08, 04:15:33 (UTC +01:00)