首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Markdown中的可折叠表

问Markdown中的可折叠表
EN

Stack Overflow用户
提问于 2020-09-17 11:42:10
回答 1查看 2.8K关注 0票数 1

我有一张小桌子,我想藏在一个可折叠的牢房里。

代码语言:javascript
复制
<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>

可折叠格式有效。但是,它没有正确地呈现表。我的格式中缺少什么东西吗?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2020-09-17 12:12:35

它没有正确地呈现,因为您在摘要结束标记后遗漏了一个空行,因为它是这里解释的。

注意:请确保在结束标记后有一个空行,否则标记/代码块将无法正确显示。 注意:如果您有多个可折叠的部分,请确保在结束标记后有一个空行。

这是为我工作的:

代码语言:javascript
复制
<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>
票数 3
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/63937284

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档