ncbi / DtdAnalyzer

Other
34 stars 11 forks source link

Decide on a Markdown processor #8

Closed Klortho closed 12 years ago

Klortho commented 12 years ago

For the structured annotations, we want to allow people to write in Markdown format. Here are some possibilities for a markdown processor:

See Wikipedia's List of Markdown implementations to have mind blown.

Klortho commented 12 years ago

pandoc is the clear winner here. It is a beautiful piece of software. It installed effortlessly on my Windows and Ubuntu boxes, but might be a hassle for our Centos boxes at work -- I don't see a package for them.

As for interfacing to Java -- I think just using the Runtime to execute as a shell process will have to do.

I don't see an easy way to overload/extend the linking mechanism, to allow us to have pandoc do the work of turning "<split>" into a link to the split page, so I think we'll have to come up with a syntax for that that's layered on top of Markdown. I'm thinking of using backticks: <split>. I don't think it would be an issue for @attributes, %param-ents, or &gen-ents.