Jonathan Gnagy's Blog

Rails for everyone!

First Blog Entry

This is my first entry in my Ruby on Rails weblog. This uses some very neat features that were sorely lacking in pretty much all the blog software I could find. Some of these are:

  • Textile support (using RedCloth) for wiki-style syntax
  • Coderay syntax highlighting
  • Full support for tags
  • Full-text search of all entries
  • Live preview of entry addition via AJAX
  • All pages are, as far I can tell, fully compliant with XHTML 1.0 Strict

That said, I think this is going to be exciting!

Here’s an example of the syntax highlighting, displaying the code that makes syntax highlighting work, no less:

1
2
3
4
# Markup parsing (both coderay and textile)
def unmarkup(text)
  return parse_coderay(textilize(text))
end

Let me know what you think!

Comments:
Add a comment:
Please leave following field blank:
SubmitSubmit    HelpHelp