KBD

Keith Devens .com

Saturday, July 5, 2008 Flag waving
Would that which we have achieved have been possible if Providence had not helped us? – Adolf Hitler (in a speech at Regensburg on June 6th, 1937)
← Entry 1732Entry 1734 →

Daily link icon Friday, March 29, 2002

Entry 1733

StructuredText blogging?

Mark Pilgrim: "Are there any blogging tools that support StructuredText rules for writing blog posts?"

Mine does Smiley Or at least it will. I've looked at StructuredText a lot. First, here are some links to stuff about StructuredText (some from Mark): StructuredTextRules, An Introduction to StructuredText by Paul Everitt, the StructuredTextWiki, StructuredTextNG (next generation), Help on StructuredText, and reStructuredText.

There are about three reasons why I haven't enabled it yet on my weblog. First, it slows the page down (see StructuredTextProcessingIsTooSlow). Rendering it is relatively expensive... lots of regexes, etc. Second, I wanted to improve my parser a little more. Third, I hadn't really decided fully on my syntax... is ~this italic~ and this bold or is this italic and this bold? Finally, once I decide on a syntax and start writing weblog posts with it, I'd better not change it again or my posts will change Smiley so I wanted to be sure what I had was right.

One of main issues with StructuredText is that it has to have a high level of dwimmetry or it gets in the way. But how do you really get bold text instead of bold text when that's what you want?

I want to take a look at the StructuredTextNG project and see what they've come up with. Putting StructuredText formatting on my weblog was one of my long-term goals Smiley

However, I never really thought much about how other products do their formatting. How do they? I know Radio has some built in formatting tools which generate HTML, but when you write your blog in MoveableType, how does that work? Ok, here's how. I guess otherwise you just type in your HTML.

← Entry 1732Entry 1734 →

Comments XML gif


Feel free to post a comment below. Please see my comment policy.

Formatting Rules (No HTML):

  • **bold**, *italic*, _underlined_, --strikeout--
  • "text"="url" creates a link, and URLs are auto-highlighted
  • Blockquote: Like e-mail, begin paragraph with > (greater-than sign)
  • Lists: begin paragraph with *,-, or + (unordered), or # (ordered)
  • Code block: ?!code:language=perl|php|sql|javascript|etc.{\n}...{\n}?!/code

:
(will be your IP address if blank)
: (optional)
(Will not be shown on site)

: (optional)
:

July 2008
SunMonTueWedThuFriSat
 12345
6789101112
13141516171819
20212223242526
2728293031 



RSS feed RSS feed for Keith's Weblog
Atom feed Atom feed for Keith's Weblog
Weblog archive
Recent comments
  on 5 posts

Recent comments XML

Girls, please don't get breast implants

> And no, you will not be receiving​a picture.

:-(...

Keith: Jul 2, 6:05am

Javascript clone function

This is a clever way to clone an​object if you are using YAHOO UI.​Same tec...

Antonio: Jul 1, 12:47pm

I hate Norton Antivirus

Oh just one other thing norton is​great at keeping people out of your​compu...

kevin.sands: Jul 1, 12:50am

Terminator 3 was awful

I think the biggest reason why T3​totally blew was because Edward​Furlong g...

76.167.172.64: Jun 29, 3:06am

Generated in about 0.168s.

(Used 8 db queries)

mobile phone