我试图在HAML中的:markdown过滤器中呈现一个表。我已经检查了语法,并尝试了提供的两种语法。
:markdown
### This is [markdown](https://devhints.io/markdown) yay!
------
| Column 1 Heading | Column 2 Heading |
| ---------------- | ---------------- |
| Some content | Other content |
------
Column 1 Heading | Column 2 Heading
--- | ---
Some content | Other content结果是这样的。第一行和横向规则只是确认内容实际上正在被翻译成Markdown--除了我真正关心的东西,表。

我做错了什么?为什么这不管用?
发布于 2022-11-30 22:07:15
这里有几个关键问题是
因此,看来HAML并没有真正赋予您这种能力,除非您想麻烦到创建您自己的自定义过滤器。
https://stackoverflow.com/questions/74623941
复制相似问题