I want to refresh / refresh my web page ( Klingonska Akademien ) in order to keep it up to speed with what has happened with HTML and CSS for the last ten years or so. :) In my research, I still came to the conclusion that I I probably want to use Rake and Sass , so I think I could stick with Ruby as much as possible.
Saying I need an extensible Markdown analyzer. I looked at Redcarpet , but it seems that only the rendering side of the thing is extensible, not the parser (understandable with their security and speed requirements, but speed is not that important to me). Therefore, I cannot add my own markup.
Now I already have tons of Klingon texts that I want to reuse, which {...}mark the text in Klingon and <...>translate tags. I would like it to be displayed as <b lang="tlh">...</b>and <i class="transl">...</i>in the output HTML, but I also need to further process the content {...}to insert hyphenation points.
Is there a Ruby-based Markdown parser where you can add your own markup in this way?
If not, is there a parser that could easily be changed to do this? (For me, this would mean: well-written / documented code and written only in Ruby.)
zrajm source
share