英文:
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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论