-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
忽略 meta data #49
Comments
这个是不是业务中自己处理再丢给wemark就好?貌似它不属于markdown解析的工作。 |
好吧,这个确实不是基础的 markdown 标准,只是一些地方在用。 如果觉得不合适就算啦。 我想像 jekyll 或者 hugo 那样,通过元数据去渲染标题作者时间等信息。 我也考虑了一下能不能改这个插件把这些全都支持了,貌似不容易。 |
这个英文里更普遍的叫法是 front matter https://github.com/jxson/front-matter 因为这个库的使用场景应该是直接读取s3这样的对象存储中的md渲染,并不经过后端, 还可以考虑智能的用 title 字段当成文章标题,渲染常见的时间,来源,作者等字段。。。 当然选择不解析也没什么问题。关掉这个issue就好。 |
这个确实是有一部分需求的,我也遇到了,不过我自己在后台处理了一下 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
希望能忽略 markdown 前边的 metadata
类似这种:
The text was updated successfully, but these errors were encountered: