What do I need to use Markdown in a Java webapp?
I'm thinking on adding Markdown to a Java project with using:
- Tapestry 5
- Spring
- Maven
- ( Among other technologies )
Q1. What javascript library can I use for the client side? I'm开发者_Python百科 thinking on using Cletus'
port of MarkDownSharp for the backend.Q2. What strategy should I follow to add JMD to my project? My code it's a Maven project already. If JMD were available for maven I would just create a dependency on that, but it is not. So, should I merge it with my code base?
Thanks in advance.
What javascript library can I use for the client side? I'm thinking on using Cletus' port of MarkDownSharp
ShowDown, WMD (still not open sourced) and markItUp! seem to be the most famous options, the later being maybe the closest to what you're looking for.
What strategy should I follow to add JMD to my code base (it is a Maven project already). If it were available for maven I would just create a dependency on that, but In this case, Should I merge it with my code base?
Hmm... what? I'm not sure I understood the question, but I'll try. If JMD is available in a known repository, just add a dependency on it. If it isn't I would get the sources and add them to my codebase as a module (not a bid deal, there are less than 10 classes) and sync them from time to time.
Related questions
- Is there any good Markdown Javascript library or control?
- JavaScript libraries for Markdown, Textile and others; Anchor references
精彩评论