# Showing the source code

**URL:** <https://www.ruby-forum.com/t/showing-the-source-code/134121>\
**Category:** Rails\
**Created:** [April 8, 2008, 2:42am UTC](https://www.ruby-forum.com/t/showing-the-source-code/134121 "2008-04-08T02:42:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dorelal](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/3da27b/32.png) [@dorelal](https://www.ruby-forum.com/u/dorelal)\
**Post date:** [April 8, 2008, 2:42am UTC](https://www.ruby-forum.com/t/showing-the-source-code/134121/1 "2008-04-08T02:42:58Z")

</div>

I am developing an application where a user can input the source code.  
It could be php code, xml , java or ruby code.

Is there a blog or resource which I can use to display the pasted source  
code in an easy to use manner.

Basically I want feature which is provided at

[http://pastie.caboo.se/](http://pastie.caboo.se/)  
[http://slickorslack.com/](http://slickorslack.com/)

Any suggestions.

---

<div class="post-metadata">

**Author:** ![dorelal](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/3da27b/32.png) [@dorelal](https://www.ruby-forum.com/u/dorelal)\
**Post date:** [April 9, 2008, 3:55pm UTC](https://www.ruby-forum.com/t/showing-the-source-code/134121/2 "2008-04-09T15:55:19Z")

</div>

Use a text\_area to capture the code and then render it out within

```

```

.

---

<div class="post-metadata">

**Author:** ![dorelal](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/3da27b/32.png) [@dorelal](https://www.ruby-forum.com/u/dorelal)\
**Post date:** [April 9, 2008, 4:19pm UTC](https://www.ruby-forum.com/t/showing-the-source-code/134121/3 "2008-04-09T16:19:32Z")

</div>

radiograph + ultraviolet
