project
project summary freshmeat entry development infos mailing list WebInstaller database tools ChangeLog
page plugins
ProtectedEmail PowerSearch README README.config README.plugins README.fragments ProtectedMode INTERNALS WordIndex AboutPlugins PhpInfo OrphanedPages ListOfPluginHooks RSS RecentChanges PageIndex NewestPages SearchPages MostVisitedPages MostOftenChangedPages UpdatedPages
usage hint
9OTUNE YOGURT SÜREER AYRAN OLANA KADAR SİKERİMxD
In the ExtendedWikiMarkup I found the following explanation about
PRE-formatted text:
"If you wish text to appear
-formatted then all you have to do is to prepend 4 or 5 empty lines before that text. 2 more empty lines end such a block of text again."
This works fine, but when I begin a page with 4-5 empty lines, and I save a changed text, one of the empty lines at the top falls away. So, after saving the text 1-2 times, I have to append that empty line again. That is not a lot of work, but easily overlooked. But, much to my surprise, I found that using the tags <pre>
give exactly the same effect! And I personally find it is much more easy to use those small html-tags in the text then the empty lines. Also, by combining the
tag with a class in my css-file, it was easy to handle the size of the font, which was just what I needed. Is it a good idea to put the use of the <pre>
-tags as a possibility in the ExtendedWikiMarkup ?
Best regards, Jeroen.
milky: That 4/5 empty lines pseudo-markup stayed only for a dew development versions and now has gone away in favour of
. So here this was just a documentation bug (on the sf.net site). The distributed ExtendedWikiMarkup file already contains the updated infos. Hallo milky.
I'm glad that <pre> gets the favour, it is very easy to use.
On my Wiki, I also took up some explanation on using HTML entities for special chars. For if you're interested, here is the documentation I wrote about that: ! Special HTML-characters Some special characters like < and > can be seen as formatting tags instead of plain text by the html-interpreter of your browser. Also, spaces are discarded by the browser (unless you use the <pre>
tags, but that's not always convenient).
To avoid problems with special characters, you can use so-called HTML-entities. For instance, type   for a space, % for a %, _ for an underscore '_', and * for an asterisk '*'.
For more HTML entities see HTML Entities.
Best regards, Jeroen.
I thought ewiki handled '<','>','%', '_', and '*' just fine. Do we have a bug that makes entity encoding necessary somewhere or do you just include the information for your user's convienence?
Hallo Andy.
For most cases, that is true indeed. I wrote the help for HTML entities because, in some rare cases, the special characters were used for markup where I did not want that to happen.
For instance, in programs I write (in ABAP), there exist sentences like
'<B style="color:black;background-color:#ffff66">%</B>;<B style="color:black;background-color:#ffff66">%</B>;<B style="color:black;background-color:#ffff66">%</B>;<B style="color:black;background-color:#ffff66">%</B>;<B style="color:black;background-color:#ffff66">%</B>;<B style="color:black;background-color:#ffff66">%</B>;<B style="color:black;background-color:#ffff66">%</B>;<B style="color:black;background-color:#ffff66">%</B>;<B style="color:black;background-color:#ffff66">%</B>;<B style="color:black;background-color:#ffff66">%</B>;<B style="color:black;background-color:#ffff66">%</B>;<B style="color:black;background-color:#ffff66">%</B>;<B style="color:black;background-color:#ffff66">%</B>;<B style="color:black;background-color:#ffff66">%</B>;<B style="color:black;background-color:#ffff66">%</B>;<B style="color:black;background-color:#ffff66">%</B>;<B style="color:black;background-color:#ffff66">%</B>;<B style="color:black;background-color:#ffff66">%</B>;<B style="color:black;background-color:#ffff66">%</B>;<B style="color:black;background-color:#ffff66">%</B>;<B style="color:black;background-color:#ffff66">%</B>;<B style="color:black;background-color:#ffff66">%</B>;<B style="color:black;background-color:#ffff66">%</B>;<B style="color:black;background-color:#ffff66">%</B>;<B style="color:black;background-color:#ffff66">%</B>;<B style="color:black;background-color:#ffff66">%</B>;<B style="color:black;background-color:#ffff66">%</B>;<B style="color:black;background-color:#ffff66">%</B>;<B style="color:black;background-color:#ffff66">%</B>;<B style="color:black;background-color:#ffff66">%</B>;'
and
****************************************
which I wanted to be shown exactly like that on my website.
I found that I needed HTML entities in order to achieve that.
Best regards, Jeroen
milky: For the %'s there is truly now no other way to bring them into a page (it would be difficult to provide a workaround here), but for the asterisks * and exclamation marks ! and the like, it often works to start a line with one space character to escape their special meaning (*lists and !headlines).
The next version of the rendering kernel (December) will have full support for <pre> and <code> paragraphs, so there won't be any more wikilinking inside and we'll then finally can start to include good ol` ASCII-Art into pages (I already prepared megabytes of it ;-)
Btw, Jeroen, your character list looks interesting; maybe we should feed it directly into CVS.
Jeroen: Thanks milky for the tip of the one space character, I'll try it out. The <pre> and <code> support for the future sounds interesting to me, escaping any Wiki-linking on parts of a Wiki-page is exactly what I need :-)
And thanks for the compliment about the character list :-)
Regards, Jeroen