【发布时间】:2014-08-06 03:47:18
【问题描述】:
如何在 Github Gist 中使用 Markdown 语法在表格中插入带有突出显示的代码内容。这是我想要得到的最终结果:
问题详情:
这是创建具有简单内容的表格的基本 Markdown 语法:
PHPStructuredData | Plugin | Microdata | RDFa Lite 1.1
--- | --- | --- | ---
php code here | php code here | html code here | html code here
结果将是:
问题是当您需要在表格中插入带有突出显示的代码内容时:
PHPStructuredData | Plugin | Microdata | RDFa Lite 1.1
--- | --- | --- | ---
```php
<?php
$sd->property('url')->display();
?>
``` | php code here | html code here | html code here
不想要的结果是:
【问题讨论】:
-
你能粘贴一些你试过的代码吗?
-
@LukePeterson 感谢反馈,代码已添加。