phile / markdown-extra-extended
此包已废弃,不再维护。未建议替代包。
PhileCMS 的 Markdown Extra Extended 插件
dev-master
2018-03-24 13:35 UTC
Requires
- php: >=5.3.0
- brainsware/php-markdown-extra-extended: dev-master
- michelf/php-markdown: >=1.3
- phile-cms/phile: >=1
- phile-cms/plugin-installer-plugin: >=1
- twig/twig: 1.15.*
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. ===  === === [A **happy face** is good for web developers]  ===
输出
<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>