# Javascript textilize method?

**URL:** <https://www.ruby-forum.com/t/javascript-textilize-method/111179>\
**Category:** Rails\
**Created:** [August 3, 2007, 3:59pm UTC](https://www.ruby-forum.com/t/javascript-textilize-method/111179 "2007-08-03T15:59:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![franee](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/b5a626/32.png) [@franee](https://www.ruby-forum.com/u/franee)\
**Post date:** [August 3, 2007, 3:59pm UTC](https://www.ruby-forum.com/t/javascript-textilize-method/111179/1 "2007-08-03T15:59:27Z")

</div>

Hi,

I just want to ask if there is a javascript library or implementation  
similar to rails textilize method.

What i want to do is have a lightning fast preview from an editor which  
i want to observe and not have to send a request with ajax to do a  
preview.

Is this feasible at all?

Thanks!

---

<div class="post-metadata">

**Author:** ![franee](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/b5a626/32.png) [@franee](https://www.ruby-forum.com/u/franee)\
**Post date:** [August 3, 2007, 4:26pm UTC](https://www.ruby-forum.com/t/javascript-textilize-method/111179/2 "2007-08-03T16:26:20Z")

</div>

On 03 Aug 2007, at 15:59, Francis S. wrote:

> I just want to ask if there is a javascript library or implementation  
> similar to rails textilize method.
> 
> What i want to do is have a lightning fast preview from an editor  
> which  
> i want to observe and not have to send a request with ajax to do a  
> preview.
> 
> Is this feasible at all?

[http://static.serversidewiki.com/javascripts/textile.js](http://static.serversidewiki.com/javascripts/textile.js)

But it’s not what it should be to be honest. It didn’t do it for me,  
and a quick ajax request (as long as you put some delay so it doesn’t  
hit the server on each keystroke it won’t be too much of a problem)  
will return the real generated HTML.

Best regards

Peter De Berdt

---

<div class="post-metadata">

**Author:** ![franee](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/b5a626/32.png) [@franee](https://www.ruby-forum.com/u/franee)\
**Post date:** [August 3, 2007, 5:12pm UTC](https://www.ruby-forum.com/t/javascript-textilize-method/111179/3 "2007-08-03T17:12:07Z")

</div>

> 

> and a quick ajax request (as long as you put some delay so it doesn’t  
> hit the server on each keystroke it won’t be too much of a problem)  
> will return the real generated HTML.
> 
> Best regards
> 
> Peter De Berdt

Thanks man! will check it out.
