在 ColdFusion 中使用 Markdown 有哪些选项?

发布于 2024-07-27 01:08:44 字数 725 浏览 5 评论 0原文

我看到许多不同的用例,我可以在我编写的个人和专业应用程序中使用 Markdown。 但从我迄今为止的研究来看,我还没有找到在 ColdFusion 中使用它的许多选项。 如果其他人已经有一个我可以使用和贡献的项目,我当然希望避免通过尝试自己实现来重新发明轮子,这既是因为时间,也不是重复的努力。

我的偏好是使用本机 Coldfusion 中的实现,因为如果有必要,这将是最容易调整的,但我对其他语言的替代方案持开放态度,只要它足够容易实现和维护。 我查看了 WMD 编辑器,但它看起来并不是完整的解决方案。 它可以用于输出标记,但我想存储它,然后根据需要将其转换为 html 以进行显示。

有谁知道还有其他选择吗?

更新:我确实知道 CFX_markdown 但我不确定它是否足够成熟。 如果有人有这方面的经验,我很想听听。

更新2:我已经为此问题添加了赏金。 并不是说到目前为止给出的答案不是一个好答案或者不是最好的答案,但我想看看是否有其他人有关于 CF 的 Markdown 的任何其他信息,以便我们知道所有选项。

更新3:所以提供赏金并没有真正起作用。 我将继续并让它自动接受唯一的答案,以防万一我们有任何迟到的答案。 感谢所有做出贡献的人。

I am seeing many many different use cases where I could use Markdown in apps that I write, both personal and professional. But from my research so far, I haven't been able to find many options for working with it in ColdFusion. I would certainly like to keep from reinventing the wheel by trying to implement it myself if someone else already has a project that I can use and contribute to, both because of time and not to duplicate efforts.

My preference would be to use an implementation in native coldfusion because that would be the easiest to tweak if it was necessary, but I am open to alternatives in other languages, as long as it is easy enough to implement and maintain. I have looked at the WMD editor, but it doesn't look like it is the whole solution. It would work for outputing the markup, but I would want to store that and then convert it to html as necessary for display.

Does anyone know of any other options?

Update: I do know of the CFX_markdown but I am not sure it is mature enough. If anyone out there has experience with it I would love to hear about it.

Update 2: I have added a bounty to this question. Not to say that the answer that has been given so far isn't a good one or isn't the best one, but I am wanting to see if anyone else has any other information about markdown with CF so we know all of the options.

Update 3: So offering the bounty didn't really work. I will go ahead and let it auto accept the only answer just in case we have any late answers. Thanks to everyone who has contributed.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

罪#恶を代价 2024-08-03 01:08:44

Markdown Wiki 引用了名为 MarkdownJ. 我不知道它有多成熟,而且我知道您更喜欢本机 ColdFusion 实现,但如果您运行 ColdfusionMX,那么 Java 模块可能是一个很好的折衷方案。

The Markdown Wiki refers to a Java implementation called MarkdownJ. I've no idea how mature it is, and I know you'd prefer a native ColdFusion implementation, but if you're running ColdfusionMX then a Java module might be a good compromise.

紫南 2024-08-03 01:08:44

我们已经创建了一个在 ColdFusion 中执行此操作的插件:

http://coldbox.org/forgebox/view/降价

We have a plugin created that does this in ColdFusion already:

http://coldbox.org/forgebox/view/Markdown

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文