[dokuwiki] Re: Line break plugin (formerly hacking to recognise line breaks) also (single line breaks)
- From: "sports tg" <sportstg@xxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Fri, 26 May 2006 17:46:50 +0100
Chris,
I use the following hack to get rid of underscores in file names (though
they still show in folder names),
file: /inc/parser/xhtml.php
function: _simpleTitle() (~ line #890)
change the last line of the function from
return $name;
to
return str_replace("_"," ", $name);
Would it be possible to achieve this with a plug-in rather than with this
hack? I would be up for giving it a go myself with a few pointers perhaps
:-)
Thanks a lot,
Tom.
On 26/05/06, Chris Smith <chris@xxxxxxxxxxxxx> wrote:
Hi,
I have just released a more spophisticated version of the plugin.
- it can work on a page by page or wiki wide basis, configurable through
admin menu
- whether or not to recognise single line breaks in quotes is
configurable through the admin menu
- ~~NOLINEBREAK~~ and ~~LINEBREAK~~ directives have been added to turn
on/off recognition for the remainder of the page. These directives can
be mixed on the same page. The last directive encountered will be active.
Any more ideas, or can I put this plugin to bed now. What started has a
half hour quickie has already gone on too long ;-)
Chris
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- Follow-Ups:
- References:
- [dokuwiki] Hacking to recognise line break?
- From: sports tg
- [dokuwiki] Re: Hacking to recognise line break?
- From: Daniel Mitchell
- [dokuwiki] Re: Hacking to recognise line break?
- From: sports tg
- [dokuwiki] Re: Hacking to recognise line break?
- From: Chris Smith
- [dokuwiki] Re: Hacking to recognise line break?
- From: sports tg
- [dokuwiki] Re: Hacking to recognise line break?
- From: sports tg
- [dokuwiki] Re: Hacking to recognise line break?
- From: Chris Smith
- [dokuwiki] Re: Hacking to recognise line break?
- From: Terence J. Grant
- [dokuwiki] Re: Hacking to recognise line break?
- From: Chris Smith
- [dokuwiki] Re: Line break plugin (formerly hacking to recognise line breaks) also (single line breaks)
- From: Chris Smith
Other related posts:
- » [dokuwiki] Re: Line break plugin (formerly hacking to recognise line breaks) also (single line breaks)
- » [dokuwiki] Re: Line break plugin (formerly hacking to recognise line breaks) also (single line breaks)
- » [dokuwiki] Re: Line break plugin (formerly hacking to recognise line breaks) also (single line breaks)
- » [dokuwiki] Re: Line break plugin (formerly hacking to recognise line breaks) also (single line breaks)
- » [dokuwiki] Re: Line break plugin (formerly hacking to recognise line breaks) also (single line breaks)
- » [dokuwiki] Re: Line break plugin (formerly hacking to recognise line breaks) also (single line breaks)
- » [dokuwiki] Re: Line break plugin (formerly hacking to recognise line breaks) also (single line breaks)
- » [dokuwiki] Re: Line break plugin (formerly hacking to recognise line breaks) also (single line breaks)
- » [dokuwiki] Re: Line break plugin (formerly hacking to recognise line breaks) also (single line breaks)
- » [dokuwiki] Re: Line break plugin (formerly hacking to recognise line breaks) also (single line breaks)
- » [dokuwiki] Re: Line break plugin (formerly hacking to recognise line breaks) also (single line breaks)
Hi,
I have just released a more spophisticated version of the plugin.
- it can work on a page by page or wiki wide basis, configurable through admin menu - whether or not to recognise single line breaks in quotes is configurable through the admin menu - ~~NOLINEBREAK~~ and ~~LINEBREAK~~ directives have been added to turn on/off recognition for the remainder of the page. These directives can be mixed on the same page. The last directive encountered will be active.
Any more ideas, or can I put this plugin to bed now. What started has a half hour quickie has already gone on too long ;-)
Chris -- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist
- [dokuwiki] Hacking to recognise line break?
- From: sports tg
- [dokuwiki] Re: Hacking to recognise line break?
- From: Daniel Mitchell
- [dokuwiki] Re: Hacking to recognise line break?
- From: sports tg
- [dokuwiki] Re: Hacking to recognise line break?
- From: Chris Smith
- [dokuwiki] Re: Hacking to recognise line break?
- From: sports tg
- [dokuwiki] Re: Hacking to recognise line break?
- From: sports tg
- [dokuwiki] Re: Hacking to recognise line break?
- From: Chris Smith
- [dokuwiki] Re: Hacking to recognise line break?
- From: Terence J. Grant
- [dokuwiki] Re: Hacking to recognise line break?
- From: Chris Smith
- [dokuwiki] Re: Line break plugin (formerly hacking to recognise line breaks) also (single line breaks)
- From: Chris Smith