-
Notifications
You must be signed in to change notification settings - Fork 12
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
p0 需求整理 #1
Comments
面向组件before
after
|
Markdown 语法建议如下,比较好处理。 // Meta data 用 YAML,see: https://github.com/blog/1647-viewing-yaml-metadata-in-your-documents
---
config1: true
config2: 任意字符
config3:
- 1
- 2
- 3
---
'''jsx(js, javascript, node)
// code 还是用回 Markdown 的语法吧
var a = 1;
'''
## api
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
|----------------|----------------------------------|------------|---------|--------|
| dot | 不展示数字,只有一个小红点 | boolean | | false | |
md 要支持外链 js,不希望在 md 中写大段 js |
个人的想法是用命名约定,如下:
用约定的方式比修改扩展 Markdown 的语法要简单。。 |
讨论下来还是采取预处理 + entry 的方式,使用方式类似 atool-doc-pre && atool-build/dora
|
|
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
history changelogtest coverage通过接受中间件处理,允许用户根据 *.md 中的 meta 信息进行模版自定义(p2相关 react-component/react-component.github.io#11
MD写法:
The text was updated successfully, but these errors were encountered: