我有一张 Markdown 表格,我想将它隐藏在一个可折叠的单元格中。
<details><summary>Open to view Data Dictionary</summary>
|Feature|Format|Type|Description|
|---|---|---|---|
|**Id**|*integer*|Nominal|Identifier for each property.|
|**PID**|*integer*|Nominal|Parcel identification number - can be used with city web site for parcel review.|
|**MS SubClass**|*integer*|Nominal|Identifies the type of dwelling involved in the sale. Type is coded, please refer to full data documentation|
|**MS Zoning**|*string*|Nominal|Identifies the general zoning classification of the sale.|
</details>
可折叠格式有效。但是,它没有正确呈现表格。我的格式中是否缺少某些内容?
它不能正常呈现,因为你缺少你总结关闭标签后,空行,因为它是解释在这里
注意:确保结束标记后有一个空行,否则降价/代码块将无法正确显示。
注意:如果您有多个可折叠部分,请确保在结束标记后有一个空行。
这对我有用:
<details><summary>Open to view Data Dictionary</summary>
|Feature|Format|Type|Description|
|---|---|---|---|
|**Id**|*integer*|Nominal|Identifier for each property.|
|**PID**|*integer*|Nominal|Parcel identification number - can be usedwith city web site for parcel review.|
|**MS SubClass**|*integer*|Nominal|Identifies the type of dwellinginvolved in the sale. Type is coded, please refer to full datadocumentation|
|**MS Zoning**|*string*|Nominal|Identifies the general zoningclassification of the sale.|
</details>
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句