开发者 | Pagerange |
---|---|
更新时间 | 2019年11月5日 10:42 |
PHP版本: | 7.0 及以上 |
WordPress版本: | 5.2.1 |
版权: | MIT |
版权网址: | 版权信息 |
metaparsedown
shortcode to your post, identifying the markdown document in the url
attribute:
[metaparsedown url='https://gitlab.com/pagerange/docs/raw/master/markdown/test_markdown.md' /]
Optionally, parse and save markdown YAML front matter to the post_meta table by adding the meta
attribute.
[metaparsedown url='https://gitlab.com/pagerange/docs/raw/master/markdown/test_markdown.md' meta="true" /]
Optionally, overwrite the post's 'post_title' and 'post_excerpt' fields with YAML values by adding the overwrite
attribute.
[metaparsedown url='https://gitlab.com/pagerange/docs/raw/master/markdown/test_markdown.md' meta="true" overwrite="true" /]
You can do one of two things:
functions.php
file:Add issues at https://github.com/pagerange/metaparsedown-wordpress/issues.