在 Java Web 应用程序中使用 Markdown 需要什么?
将 Markdown 添加到 Java 项目中
- 我正在考虑使用Tapestry 5
- Spring
- Maven
- (以及其他技术)
问题:
我可以在客户端使用什么 JavaScript 库?我正在考虑使用 Cletus' 后端的 MarkDownSharp 端口。< /p>
我应该遵循什么策略将 JMD 添加到我的项目中?我的代码已经是一个 Maven 项目了。如果 JMD 可用于 Maven,我只会创建对其的依赖项,但事实并非如此。那么,我应该将它与我的代码库合并吗?
I'm thinking on adding Markdown to a Java project using:
- Tapestry 5
- Spring
- Maven
- ( Among other technologies )
Questions:
What JavaScript library can I use for the client side? I'm thinking on using Cletus' port of MarkDownSharp for the backend.
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
ShowDown、WMD(仍未开源)和 markItUp! 似乎是最著名的选项,后者可能最接近您正在寻找的选项。
嗯...什么?我不确定我是否理解了这个问题,但我会尝试。如果 JMD 在已知存储库中可用,只需添加对其的依赖项即可。如果不是,我会获取源代码并将它们作为模块添加到我的代码库中(不是投标交易,只有不到 10 个类),并时不时地同步它们。
相关问题
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.
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