【文件属性】:
文件名称:pelican-frontmark:Pelican CommonMarkFront Matter 阅读器
文件大小:16KB
文件格式:ZIP
更新时间:2021-05-30 16:07:25
Python
鹈鹕FrontMark
Pelican CommonMark/Front Matter 阅读器。
该阅读器使用 YAML frontmatter 标头对 Markdown 文件进行分析,并使用 CommonMark 规范进行格式化。
要求
Pelican FrontMark 适用于 Pelican 3.7+ 和 Python 3.3+
入门
使用 pip 安装pelican-frontmark :
pip install pelican-frontmark
并在您的pelicanconf.py (或您想使用的任何配置文件)中启用该插件:
PLUGINS = [
'...' ,
'frontmark' ,
'...' ,
]
文件格式
Frontmark将仅识别使用.md扩展名的文件。
这里有一个文章示例:
---
title : My articl
【文件预览】:
pelican-frontmark-master
----MANIFEST.in(51B)
----bumpr.rc(426B)
----.travis.yml(294B)
----tox.ini(332B)
----LICENSE(1KB)
----setup.cfg(167B)
----setup.py(5KB)
----README.md(4KB)
----.editorconfig(274B)
----tests()
--------test_reader.py(5KB)
--------conftest.py(0B)
--------data()
----.gitignore(764B)
----CHANGELOG.md(493B)
----frontmark()
--------__about__.py(88B)
--------reader.py(7KB)
--------__init__.py(186B)
--------signals.py(169B)