Right now I can white HTML in the text area and have it show with the
respective formatting when I view my page. However, I don't want to
use HTML, I want to use some markup language. Some that I've heard of
are texitle and markdown.
Does anybody have any suggestions on which one to use?
Then, how do I serialize the markup language to HTML when the page
renders?
It would be cool if the text area had sometime of menu bar for
formatting that inserted the appropriate markup language for the user.
I just want a quick implementation of this and I don't want to use a
full CMS.
Any ideas?
embedding a wiki/wiki functionality
So far, in my scaffold, If I just write my page with the textile
syntax and save it, it will be rendered to HTML if I just run the
following command in my view:
<%= RedCloth.new(@press_release.body).to_html %>
So, that's pretty cool, now I just need a WYSIWYG type control to
write the textile for me.
Alex
Ruby version of Markdown
http://www.deveiate.org/projects/BlueCloth
http://maruku.rubyforge.org/
Ruby version of Textile
http://whytheluckystiff.net/ruby/redcloth/
Anyone have any experience (positive or negative) with any of these?
http://blog.rubygreenblue.com/project/markdown_on_rails
Also, there's Textile Editor Helper and acts_as_textiled and they can
play together:
http://notepad.onghu.com/2007/3/28/using-textile-editor-plugin-and-acts_as_textiled
Cheers,
Mohit.
9/15/2007 | 2:24 AM.
On Sep 14, 11:24 am, Mohit Sindhwani <mo_m...@onghu.com> wrote:
> I use Textile quite a bit and it works great - it's the RedCloth
> implementation. I believe that's the one also used in Radiant (though
> I'm not 100% sure).
>
> Also, there's Textile Editor Helper and acts_as_textiled and they can
> play together:http://notepad.onghu.com/2007/3/28/using-textile-editor-plugin-and-ac...
Right now I can white HTML in the text area and have it show with the
respective formatting when I view my page. However, I don't want to
use HTML, I want to use some markup language. Some that I've heard of
are texitle and markdown.
Does anybody have any suggestions on which one to use?
http://notepad.onghu.com/2007/3/28/using-textile-editor-plugin-and-acts_as_textiled
... and it does exactly what I needed.
Now I'm on to this to ajaxify it...
http://blog.rayvinly.com/articles/2007/07/10/using-textile-editor-helper-teh-in-an-ajax-environment
Jeff Barczewski wrote:
> http://inspiredhorizons.com/ <http://inspiredhorizons.com/>
> >
Is it possible with Markdown to create something like: <h2 id='team'>Our
Team</h2>
I couldn't find any info about that. I use rdiscount to parse the plain
text to html.
--
Posted via http://www.ruby-forum.com/.