Closed keuby closed 2 years ago
The above content will be compiled like this
<tr>
<td>icon</td>
<td active:="" string;="" default:="" string;=""></td>
</tr>
Not sure about the reason (I think it's related to interpolation in Markdown files, but you can easily workaround this by enclosing this piece { active: string; default: string; }
in backticks, so it's treated like an inline code block.
This compiles just fine:
## Properties
| Property | Type |
| -------- | -------------------------------------- |
| icon | `{ active: string; default: string; }` |
Not sure about the reason (I think it's related to interpolation in Markdown files, but you can easily workaround this by enclosing this piece
{ active: string; default: string; }
in backticks, so it's treated like an inline code block.This compiles just fine:
## Properties | Property | Type | | -------- | -------------------------------------- | | icon | `{ active: string; default: string; }` |
But the content is automatically generated by the @microsoft/api-documenter
Confirmed. Not sure how to fix, but we wanna fix.
Can now be done by disabling markdown-it-attrs
. Ref. #664
Output:
Niice! Thanks for the confirmation 🙌 🙌 🙌 I think disabling attrs
plugin is only logical way to go around this issue.
Describe the bug
The MD content contains the following code build error
Reproduction
https://github.com/keuby/vitepress-bug-demo.git
Expected behavior
Build does not report errors
System Info