Blog

  1. Refresh the browser when you save a file

    Most of the pages on a Nesta site are written in a text editor, using Markdown or Textile. You don’t get to see what your words look like on a web page you save the file to disk and reload your browser. Wouldn’t it be nice if your browser automatically reloaded pages as you saved them? When designing a theme, what if changes to HTML and CSS were reloaded immediately?

    Continue reading

  2. Nesta 0.9.13 released

    Version 0.9.13 has been released. New features include support for Erb templates (in the views folder only, not for pages) and a nesta edit command that makes it easier to edit your site. Etag support is enabled in new projects.There have also been a few internal API tweaks to support the plugins that are starting to spring up. Two view helper methods (url_for and base_url) have been removed.

    Continue reading

    Published on

  3. Nesta 0.9.11 released

    Version 0.9.11 has been released. Nesta now uses Ryan Tomayko’s Tilt library to manage the rendering of Markdown and Textile files inside your content/pages folder. That means you can choose which Markdown processor is used to render your content. The default processor is now RDiscount (in previous versions it was Maruku).

    Continue reading

    Published on

  4. Using a different Markdown processor

    There are a handful of Markdown processing libraries available for Ruby, each with different advantages and features. Since version 0.9.11, Nesta uses Ryan Tomayko’s Tilt library to work out which processor to use when rendering a file within your content folder, which will try and pick a suitable processor for you. This recipe shows you how to change it.

    Continue reading