25 Jul
This post is just a test post, with some code, some Textile torture, and some embedded images so I can test some things. Please feel free to ignore it completely, unless you just want to see how well my blog handles torture.
Here’s some HTML code:
And here’s a little PHP code:
And there is some non-highlighted code. In-line: print( "this is not highlighted" );, and the first part of the Hammurabbi Code in block form:
1.
If any one ensnare another, putting a ban upon him, but he can not prove it, then he that ensnared him shall be put to death.
2.
If any one bring an accusation against a man, and the accused go to the river and leap into the river, if he sink in the river his accuser shall take possession of his house. But if the river prove that the accused is not guilty, and he escape unhurt, then he who had brought the accusation shall be put to death, while he who leaped into the river shall take possession of the house that had belonged to his accuser.
But hey, the whole point here is to just see what works and what doesn’t. Here’s more sample Textile:
This is some red text. Yeah. Just because I can. Actually, you probably don’t care, but it’s cool that I can highlight text using colors or styles.
This is a block quote. It’s in english. It’s more boring than Dean’s.
We should really have a list or two:
We can have multi-level lists:
This might look like one. But it probably isn’t, really. What on earth do I mean by that? Well, basically, you can embed HTML code, so as long as you don’t mind doing that, you can put your own paragraph breaks in wherever you like.
Of course, it looks a lot better if you put them in logical places, and it really screws things up if you forget to close them.
We can have mixed lists:
On the topic of inserting plain html, how about we insert an old-fashioned hypertext link? Thankfully, Textile’s clever enough not to muck about with the quote marks in the tags!
| this | is | a | header |
|---|---|---|---|
| this is | a | row | |
| this | is | another | row |
A stolen image:
With a link back, so it’s ok
(ooh, look,
my smilies work) ![[groupwoot]](http://huddledmasses.org/wordpress/wp-content/plugins/smilingmasses/groupwoot.gif)
. That’s so fun
...
someday I’m going to package all of those up into a plugin for distribution
.
Some more text of dubious character. Here is a noisome string of CAPITAL letters. Here is something we want to emphasize.
That was a linebreak. And something to indicate strength. Of course I could still use my own HTML tags if I felt like it.
This is some code, "isn't it". Check out those quote marks! Now for some preformatted text:
$text = str_replace("<p>%::%</p>","",$text);
$text = str_replace("%::%</p>","",$text);
$text = str_replace("%::%","",$text);
Well, that’s enough of that.