require 'bluecloth'

module Awestruct

  module Blueclothable
    def render(context)
      rendered = ''
      begin
        doc = BlueCloth.new( context.interpolate_string( raw_page_content ) )
        rendered = doc.to_html
      rescue => e
        puts e
        puts e.backtrace
      end
      rendered
    end

    def content
      context = site.engine.create_context( self )
      render( context )
    end
  end

end

require 'bluecloth'

module Awestruct

  module Blueclothable
    def render(context)
      rendered = ''
      begin
        doc = BlueCloth.new( context.interpolate_string( raw_page_content ), :smartypants => true )
        rendered = doc.to_html
      rescue => e
        puts e
        puts e.backtrace
      end
      rendered
    end

    def content
      context = site.engine.create_context( self )
      render( context )
    end
  end

end

Use smartypants - enables en, em dashes.
Use smartypants - enables en, em dashes.
