Re: contributor archive searches
- Posted by Jeremy Cowgar Jul 05, 2008
- 1086 views
Kat,
The formats the code in a sensible way. Paragraphs are any number of lines back to back. If you want to start a new paragraph, leave a blank line between two lines. You can also force a line break if you want by using \\ at the end of it. This is done because many people have different ideas of how a message should be formatted, for instance, if the forum just took how the user entered it, you could have messages formatted like this:
Hello World, how
are you doing?
I hope you
can read
this OK. I
hit enter
way too often
and this paragraph
is way too narrow
for everyone
with a
modern monitor.
Now, if you are putting in, say commands and you want to keep your exact formatting, you can use the {{{ ... }}} formatting, for instance:
$ exu /opt/euphoria/lines.ex lines nb-lines nb-nc-lines chars 14 9 5 291 common.e 6 5 5 95 config.e 148 125 124 3370 format.e 10 7 6 136 forum.ex 232 185 162 4655 forumdb.e 410 331 302 8547 total
So, that is for preformatted blocks of text. It may take a bit of getting use to but it's pretty nice once you get the hang of it. I will soon be adding a preview button which will help out.
Jeremy