3

I am looking for a Ruby markup parser (or helper) to convert a custom markup language to HTML. Something like Decoda does in the PHP world (see $code->addMarkup() function). Is there a good tool in the Ruby world?

2 Answers 2

2

Happy to be educated otherwise, but I'm afraid I don't think such a thing exists - someone would have had to have needed a parser (or parser-generator, perhaps) for multiple unspecified future markup languages. Probably not a need that's been experienced very often. Or ever.

However, if your language is fairly regular, I don't see that it's going to be too much more of a task to build your own parser using tools that are available.

Some places you might start:

Sign up to request clarification or add additional context in comments.

Comments

0

redcloth for textile http://redcloth.org/

bluecloth for markdown http://deveiate.org/projects/BlueCloth

personally, i like textile.

2 Comments

As I wrote ... I am more looking for helpers parsing my own custom markup.
sorry to mislead, that is not what i got out of the first paragraph on the Deocda page.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.