Project

markup_for

0.0
No commit activity in last 3 years
No release in over 3 years
Simple gem for use a markup language in a column
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0

Runtime

~> 0.4
~> 0.6
~> 3.11
~> 2.0
~> 4.2
~> 0.7
 Project Readme

Markup for

Markup for is a simple gem for use a markup language in a column.

Usage

For example, for use textile in the column body, only you need:

markup_for :body, :textile

Now we write in the column.

@post.body = "h1. An HTML first-level heading"

Now for get the html result:

@post.body_html

Supported formats

  • :creole
  • :markup
  • :mediawiki
  • :org
  • :rdoc
  • :textile