Beauty of Mathematical Curiousity

Once there was a girl who thought math was pretty, and wanted to program her own games. This is her story.

Unfortunatly for her, one of her setbacks was impatience.

In this story, I lay the groundwork for a brighter tomorrow. I have prepared a basic home for my thoughts, and filled it with bright, cheery colors which hopefully don't look too awful. I have neglected spell checking, but everything looks okay. If I've misspelled something please correct me. I don't approve of careless spelling errors any more than lazy capitalization and punctuation.

I'm playing with controlling my blog display.

some code - the 'p' tag contains a style attribute specifying a monospace font-family.
So far so good. Specifically I used:

< p style="font-family:monospace;" > and < p style="text-indent: 1em;" >

I'm fairly happy with my code block above - I'm hoping to move the style to a class in the template for the blog, so that I can reuse it easily. I'll get to that in a bit. I'm less certain how, but I'd very much like an easy way to display html without faking it out by putting spaces between the '<' and tag name, not to mention embedding code (monospaced fonts at least) in paragraphs like this one. With time I suppose. I'm trying hard to write very very propper html, which in this case includes:



Since I'm posting using Opera, which doesn't (currently, at least) show some of the links (like preview), I'll just be posting stuff like this, and editing or deleting it as needed.


To summarize:


Okay, I looked it up: to make html-appearing tags (so I can post html "code") I can use & lt ; to create < (see <p> ?)
Sadly, this requires irritatingly careful typing, or a quick program or script to convert it. It isn't too painful to think of writing my blogs in another editor, because this window is way too small, and I can barely see the "Publish Post" button. It's a start.

Here's a faster solution: convert html for display in html page.
A quick reference for myself:


Inline code code code is here!
<span style="font-family: monospace;">code code code</span>

Labels: , ,

0 comments.
Leave one.
Comments

Post a Comment