email thread about tabs in lionwiki 07-08-2014d2100

2014-08-29

email thread about tabs in lionwiki 07-08-2014d2100

https://mail.google.com/mail/u/0/?ui=2&shva=1#search/lionwiki/146f62a6ef72f0bd

me

I really like LionWiki!! I loved how easy it was to get setup, the fact that it uses all text files for the pages, the fact that imported text files were automatically indexed, and the fact that page titles with numbers and "-" were allowed.

Great job!

I do have one question though. Is there anyway that I could get the plain text in a text file to render exactly the way it appears in the text file. The only thing I want modified when rendered on the webpage is that I want brackets around a word to change it to a link. I don't want multiple new lines and tabs to be lost, which is the behavior I see now.

Best,
Kurt


Adam Zivner

Hi Kurt, take a look at http://lionwiki.0o.cz/index.php?page=Syntax+reference.en#Suppressing_wiki_syntax - there are two ways to suppress wiki syntax.

But if you do this, brackets will not change into links.

If you know a little bit of programming you could just modify the index.php to remove all the formatting code (except for code handling links).


me

The second option sounds great! Could you tell me what code to change? Or maybe that is asking too much. . Maybe I'll sit down and try to figure it out myself sometime.


Adam Zivner

Parsing is done mostly inside this if:

if(!$action || $preview) { // page parsing



Also some plugins make some parsing as well ...



me

Thanks for a pointer on the right direction!