Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Offline
#26 2008-02-19 23:49:28
- marios
- Archived Plugin Author
- Registered: 2005-03-12
- Posts: 1,253
Re: [wiki] Textbook redesign 2
Just taking a short look, there’s two things that come in handy in Dokuwiki:
- Saves stuff/data as plain text files ( That is good I think, as it makes it easier for other tools to use the data )
- Syntax Hihglighting ( Here it uses the Geshi Syntax Hilighter, not ideal, but better then nothing )
I could probably write the necessary extension at some point, so as to have the proper syntax hilighting for txp tags ( Which would be nice to have )
regards, marios
Last edited by marios (2008-02-19 23:49:50)
⌃ ⇧ < ⎋ ⌃ ⇧ >
Offline
Re: [wiki] Textbook redesign 2
Steve (iblastoff) did a txp syntax file for EditArea. Don’t know if that might be a useful start-point for Geshi.
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#28 2008-02-20 09:07:12
- marios
- Archived Plugin Author
- Registered: 2005-03-12
- Posts: 1,253
Re: [wiki] Textbook redesign 2
thebombsite wrote:
Steve (iblastoff) did a txp syntax file for EditArea. Don’t know if that might be a useful start-point for Geshi.
It’s a different approach. I’m trying to do the same now, extending a mootools class for a differnt purpose.
It could be usefull to go around Geshi, which is sort of heavy.
By the way, I m getting the Internal Server Error again on Textbook ( What I wanted to do, is to add the offset attribute to the linklist entry of the taglisting which became available on version 4.0.6, but no honey again there )
regards, marios
Last edited by marios (2008-02-20 09:09:39)
⌃ ⇧ < ⎋ ⌃ ⇧ >
Offline
Re: [wiki] Textbook redesign 2
See this is why I want off MediaWiki. This has been happening since we got moved to a new box and no one can figure out why. It normally just fixes itself but I’m going to go do my dance of the million table repairs.
Shoving is the answer – pusher robot
Offline
#30 2008-02-22 01:29:54
- marios
- Archived Plugin Author
- Registered: 2005-03-12
- Posts: 1,253
Re: [wiki] Textbook redesign 2
Meet TeXari Light.

(mootools-based)
I’ve also emulated the line-numbers with Javascript and CSS.( TextMate Style)
( The colors need some more tweaking )
⌃ ⇧ < ⎋ ⌃ ⇧ >
Offline
#31 2008-02-22 05:05:55
- marios
- Archived Plugin Author
- Registered: 2005-03-12
- Posts: 1,253
Re: [wiki] Textbook redesign 2
Another Example:

Last edited by marios (2008-02-22 05:07:36)
⌃ ⇧ < ⎋ ⌃ ⇧ >
Offline
#32 2008-02-22 05:49:58
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [wiki] Textbook redesign 2
Pretty, though I’d find working on black very hard on my eyes after a while.
Offline
#33 2008-02-22 16:46:48
- marios
- Archived Plugin Author
- Registered: 2005-03-12
- Posts: 1,253
Re: [wiki] Textbook redesign 2
Mary wrote:
Pretty, though I’d find working on black very hard on my eyes after a while.
Mary, absolutely no problem. Prefer another Theme ? I change it on the Fly, with just a couple of stylerules.
Tell me your Taste, and I’ll whip up another Theme for you.
regards, marios
Last edited by marios (2008-02-22 16:47:21)
⌃ ⇧ < ⎋ ⌃ ⇧ >
Offline
#34 2008-02-23 02:34:56
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [wiki] Textbook redesign 2
Thanks for the offer, but there’d be no point: I don’t even have a Mac, let alone TextMate. :)
Offline
#35 2008-02-23 07:28:26
- marios
- Archived Plugin Author
- Registered: 2005-03-12
- Posts: 1,253
Re: [wiki] Textbook redesign 2
Mary wrote:
Thanks for the offer, but there’d be no point: I don’t even have a Mac, let alone TextMate. :)
Mary: What you are looking at, isn’t TextMate. What you are looking at is a screenshot of an entity encoded HTML pre code block, that has been syntax hilighted using Javascript and CSS. It looks like TextMate, … but it isn’t.
( The Idea was, that we could use this to go around the Geshi Syntax hilighter in DocuWicki. )
My next Idea is, to also have Folding start and stop markers ( Using a Toggler )
Now , lets say we also implement a code style switcher ( on the wiki ), you could just click on it, and look at the txp code examples in what ever style/theme you prefer.
regards, marios
Last edited by marios (2008-02-23 07:36:35)
⌃ ⇧ < ⎋ ⌃ ⇧ >
Offline
#36 2008-02-23 08:54:02
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [wiki] Textbook redesign 2
I see.
In that instance, I definitely prefer a white background, though it doesn’t have to be stark white (#fff). (Then you’d have to swap to darker versions of some colors, of course.)
Offline