Comments (4)
这个是不是业务中自己处理再丢给wemark就好?貌似它不属于markdown解析的工作。
from wemark.
好吧,这个确实不是基础的 markdown 标准,只是一些地方在用。
如果觉得不合适就算啦。
我想像 jekyll 或者 hugo 那样,通过元数据去渲染标题作者时间等信息。
然后正文用您这个插件渲染。
我也考虑了一下能不能改这个插件把这些全都支持了,貌似不容易。
from wemark.
这个英文里更普遍的叫法是 front matter
https://github.com/jxson/front-matter
因为这个库的使用场景应该是直接读取s3这样的对象存储中的md渲染,并不经过后端,
所以引用个库解析一下,或者加个配置开关也是不错的。
还可以考虑智能的用 title 字段当成文章标题,渲染常见的时间,来源,作者等字段。。。
当然选择不解析也没什么问题。关掉这个issue就好。
from wemark.
这个确实是有一部分需求的,我也遇到了,不过我自己在后台处理了一下
from wemark.
Related Issues (20)
- 能否支持数学公式?
- Taro 3.0 按文档配置不生效 HOT 2
- 不支持嵌套 HOT 2
- Java代码重复
- 建议:添加配置选项设置单个回车是换行
- 图片无法预览 HOT 1
- 加粗标签 加粗不完整
- npm构建形式使用此库 HOT 3
- 在 taro 2.0 该如何使用? HOT 4
- 非本地数据<br>标签换行BUG HOT 3
- 在Taro的typescript环境中使用,按照配置后,wemark没有显示出来 HOT 3
- #!/system/markdown↵![]
- 如何给文字添加背景颜色和文字颜色,table和font好像都不支持? HOT 1
- taro 2.2.9 ? HOT 1
- 微信小程序原生开发,从接口读取的字符串不能做解析 HOT 1
- 还是没有解决,微信小程序原生开发,请问从服务端读取的字符串怎么正确解析? HOT 1
- table while 循环造成丢失table 后一行的 node HOT 1
- 图片如何设置宽度呢? HOT 2
- 请问uni可以使用吗 HOT 2
- 求教:如何实现软换行? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wemark.