-
-
Notifications
You must be signed in to change notification settings - Fork 19
support writing React in markdown file #143
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
Conversation
.babelrc.js
Outdated
babelrc.compact = true; | ||
} | ||
|
||
module.exports = babelrc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove this file.
docs/书写组件.md
Outdated
|
||
## 书写组件 | ||
|
||
[create-react-doc](https://github.com/MuYunyun/create-react-doc) 内置了 [mdx](https://github.com/mdx-js/mdx), 你可以在 .md 文件中书写 React 组件, 因此你可以选择 create-react-doc 来快速搭建组件站点开发环境。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
因此你可以选择 create-react-doc 来快速搭建组件站点
// generate file cache only it isn't in .gitignore | ||
if (!ifInGitIgnore(mdfilePath)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Todo: 确认多文件夹影响。
书写 React 组件
。书写数学公式
。