phile/markdown-extra-extended

此包已废弃,不再维护。未建议替代包。

PhileCMS 的 Markdown Extra Extended 插件

dev-master 2018-03-24 13:35 UTC

This package is not auto-updated.

Last update: 2020-01-24 15:24:17 UTC


README

注意: 此仓库不再维护并已存档。

phileMarkdownExtraExtended

Markdown Extra Extended 插件为 PhileCMS

下载

此项目有几个步骤。因此,通过 zip 下载 安装更简单。

1.1 安装(Composer)

"minimum-stability": "dev" 添加到您的 composer.json 文件中。然后运行以下命令

php composer.phar require phile/markdown-extra-extended:dev-master

1.2 安装(下载)

  • 安装 Phile
  • 将此仓库克隆或解压缩到 plugins/phile/markdownExtraExtended

激活

安装插件后,您需要将以下行添加到您的 config.php 文件中

  • $config['plugins']['phile\\markdownExtraExtended'] = array('active' => true); 添加到 config.php

为什么使用?

查看 项目主页 了解更多详细信息。

显著差异

> (http://www.whatwg.org/) Content inside a blockquote must be quoted
> from another source, whose address, if it has one,
> may be cited in the `cite` attribute.

===
![phile image](content/images/Icon.png)
===

=== [A **happy face** is good for web developers]
![phile image](content/images/Icon.png)
===

输出

<blockquote cite="http://www.whatwg.org/">
  <p>Content inside a blockquote must be quoted<br>
  from another source, whose address, if it has one,<br>
  may be cited in the <code>cite</code> attribute.</p>
</blockquote>
<figure>
  <p><img src="content/images/Icon.png" alt="phile image"></p>
</figure>
<figure>
<figcaption><p>A <strong>happy face</strong> is good for web developers</p></figcaption>
  <p><img src="content/images/Icon.png" alt="phile image"></p>
</figure>

使用 GitHub 风格的围栏代码块

```markdown
/*
Title: Welcome
Description: This description will go in the meta description tag
Author: Joe Bloggs
Date: 2013/01/01
Robots: noindex,nofollow
*/
```

输出

<pre><code class="language-markdown">/*
Title: Welcome
Description: This description will go in the meta description tag
Author: Joe Bloggs
Date: 2013/01/01
Robots: noindex,nofollow
*/
</code></pre>