# How to create your own markup language?

**URL:** <https://www.ruby-forum.com/t/how-to-create-your-own-markup-language/57278>\
**Category:** Rails\
**Created:** [April 8, 2006, 11:39pm UTC](https://www.ruby-forum.com/t/how-to-create-your-own-markup-language/57278 "2006-04-08T23:39:05Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![SSSSSbastien\_Grosje](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/7feea3/32.png) [@SSSSSbastien\_Grosje](https://www.ruby-forum.com/u/SSSSSbastien_Grosje)\
**Post date:** [April 8, 2006, 11:39pm UTC](https://www.ruby-forum.com/t/how-to-create-your-own-markup-language/57278/1 "2006-04-08T23:39:05Z")

</div>

I’m actually looking to create my own markup language, after a look to  
the greats markdown and textilize markup languages they seem to be more  
complexes that what I need, so not feating with my application.

Any help is welcome 😉

–  
Grosjean Sébastien

---

<div class="post-metadata">

**Author:** ![SSSSSbastien\_Grosje](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/7feea3/32.png) [@SSSSSbastien\_Grosje](https://www.ruby-forum.com/u/SSSSSbastien_Grosje)\
**Post date:** [April 8, 2006, 11:54pm UTC](https://www.ruby-forum.com/t/how-to-create-your-own-markup-language/57278/2 "2006-04-08T23:54:29Z")

</div>

Creating your own markup language is a worthy endeavor, but I wonder  
if it may be better to use textilize and simply limit the recognized  
vernacular  
to just the options that suit you. If you take a look at the  
documentation  
to Textile,  
you’ll see that you can turn all kinds of rulesets on and off.

What are your needs? Just that people can bold. italicize, and maybe  
make  
lists and headings?  
Pretty easy to do, and a great way to ensure that a future developer on  
your  
project is familiar  
with the markup methods…

D. Taylor S.,  
Reality Technician

---

<div class="post-metadata">

**Author:** ![SSSSSbastien\_Grosje](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/7feea3/32.png) [@SSSSSbastien\_Grosje](https://www.ruby-forum.com/u/SSSSSbastien_Grosje)\
**Post date:** [April 9, 2006, 1:10am UTC](https://www.ruby-forum.com/t/how-to-create-your-own-markup-language/57278/3 "2006-04-09T01:10:18Z")

</div>

2006/4/8, D. Taylor S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> Pretty easy to do, and a great way to ensure that a future developer on  
> your project is familiar  
> with the markup methods…

isn’t this question Off-Topic ?

> > Grosjean SÃ©bastien  
> > removed\_email\_address@domain.invalid  
> > [http://lists.rubyonrails.org/mailman/listinfo/rails](http://lists.rubyonrails.org/mailman/listinfo/rails)

–

---

<div class="post-metadata">

**Author:** ![SSSSSbastien\_Grosje](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/7feea3/32.png) [@SSSSSbastien\_Grosje](https://www.ruby-forum.com/u/SSSSSbastien_Grosje)\
**Post date:** [April 9, 2006, 3:17am UTC](https://www.ruby-forum.com/t/how-to-create-your-own-markup-language/57278/4 "2006-04-09T03:17:16Z")

</div>

Well, yes. But surely we can allow this sort of thing. A rails  
developer should be able to ask for help on all their web-dev problems  
in one place, imo.  
-N

---

<div class="post-metadata">

**Author:** ![SSSSSbastien\_Grosje](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/7feea3/32.png) [@SSSSSbastien\_Grosje](https://www.ruby-forum.com/u/SSSSSbastien_Grosje)\
**Post date:** [April 9, 2006, 12:42pm UTC](https://www.ruby-forum.com/t/how-to-create-your-own-markup-language/57278/5 "2006-04-09T12:42:44Z")

</div>

\<njmacinnes@…\> writes:

> 

I agree on both points, this first comment will really help me and make  
me  
discovering new possibilities. But in an other side I’m really curious  
to know  
how to create my own markup, that’s meanly based on curiosity now, but I  
guess  
this push almost all of us here.

---

<div class="post-metadata">

**Author:** ![SSSSSbastien\_Grosje](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/7feea3/32.png) [@SSSSSbastien\_Grosje](https://www.ruby-forum.com/u/SSSSSbastien_Grosje)\
**Post date:** [April 9, 2006, 7:19pm UTC](https://www.ruby-forum.com/t/how-to-create-your-own-markup-language/57278/6 "2006-04-09T19:19:23Z")

</div>

Albertito \<atetinho@…\> writes:

> 2006/4/9, SÃ©bastien Grosjean \<seb …\>:  
> \<njmacinnes …\> writes:\>\> Well, yes. But surely we can allow this sort  
> of thing. A rails\> developer should be able to ask for help on all their  
> web-dev  
> problems\> in one place, imo.
> 
> > -N\>
> 
> Yes, I’m totally agree but it’s better to separate the different subjects,  
> isn`t?. Because I read lots of mails everyday and I’d like to know which  
> I’m  
> interested and which I’m not.bye!

So in fact do anybody have the answer to this famous question :

How to create your own markup language ?

I do realize for my own that redcloth will not offer what I’m looking  
for (at  
least I don’t think so) so I’m gona need to build my own markup language  
and  
will like to know if some good classes, helpers, … already exsits for  
it.

---

<div class="post-metadata">

**Author:** ![SSSSSbastien\_Grosje](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/7feea3/32.png) [@SSSSSbastien\_Grosje](https://www.ruby-forum.com/u/SSSSSbastien_Grosje)\
**Post date:** [April 9, 2006, 7:37pm UTC](https://www.ruby-forum.com/t/how-to-create-your-own-markup-language/57278/7 "2006-04-09T19:37:46Z")

</div>

2006/4/9, SÃ©bastien Grosjean [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> problems\> in one place, imo.
> 
> How to create your own markup language ?

:-DD

I do realize for my own that redcloth will not offer what I’m looking  
for

> (at  
> least I don’t think so) so I’m gona need to build my own markup language  
> and  
> will like to know if some good classes, helpers, … already exsits for  
> it.

I think you could use the Scite library (it’s a DLL). of course, if  
you’re  
going to build your own markup language I suppose you should know the  
formal  
grammar theory which it’s learnt in Compiladores (TALF) or you know a  
lot of  
regular expressions.

good luck!

* * *

> Rails mailing list  
> removed\_email\_address@domain.invalid  
> [http://lists.rubyonrails.org/mailman/listinfo/rails](http://lists.rubyonrails.org/mailman/listinfo/rails)

## –

Alberto Villanueva Del Val  
Blog Personal: [http://www.ifelsedeveloper.blogia.com](http://www.ifelsedeveloper.blogia.com)  
Pï¿½gina Personal: [http://atetinho.googlepages.com/home](http://atetinho.googlepages.com/home)

---

<div class="post-metadata">

**Author:** ![SSSSSbastien\_Grosje](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/7feea3/32.png) [@SSSSSbastien\_Grosje](https://www.ruby-forum.com/u/SSSSSbastien_Grosje)\
**Post date:** [April 9, 2006, 12:51pm UTC](https://www.ruby-forum.com/t/how-to-create-your-own-markup-language/57278/8 "2006-04-09T12:51:57Z")

</div>

2006/4/9, SÃ©bastien Grosjean [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> \<njmacinnes@…\> writes:
> 
> > Well, yes. But surely we can allow this sort of thing. A rails  
> > developer should be able to ask for help on all their web-dev problems  
> > in one place, imo.  
> > -N

Yes, I’m totally agree but it’s better to separate the different  
subjects,  
isn`t?. Because I read lots of mails everyday and I’d like to know which  
I’m  
interested and which I’m not.

bye!

* * *

> Rails mailing list  
> removed\_email\_address@domain.invalid  
> [http://lists.rubyonrails.org/mailman/listinfo/rails](http://lists.rubyonrails.org/mailman/listinfo/rails)

## –

Alberto Villanueva Del Val  
Blog Personal: [http://www.ifelsedeveloper.blogia.com](http://www.ifelsedeveloper.blogia.com)  
Pï¿½gina Personal: [http://atetinho.googlepages.com/home](http://atetinho.googlepages.com/home)
