如何使CKEditor Markdown扩展输出GitHub风格的Markdown?

huangapple go评论54阅读模式
英文:

How do I make the CKEditor Markdown extension output GitHub Flavored Markdown?

问题

我正在使用我从CKEditor 5的在线构建器创建的版本。我已经包含了Markdown扩展,并且它可以正常工作 - 它会输出Markdown。但是当我添加表格时,它会将其输出为HTML。我应该如何设置它以使用GFM(如此处所示:链接)?

英文:

I am using CKEditor 5 build I made from their Online Builder. I have included the Markdown extension and it works - it outputs Markdown. But when I add a table, it outputs it as HTML. How do I set it to use GFM (as shown here)?

答案1

得分: 0

我发现问题所在:我没有将第一行表格设置为表头。当我这样做时,编辑器现在只输出Markdown。

英文:

I've found out what the problem was: I didn't set the first table row as table header. When I did that, the editor now outputs only markdown.

huangapple
  • 本文由 发表于 2023年7月11日 02:20:11
  • 转载请务必保留本文链接:https://go.coder-hub.com/76656342.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定