feat: add emmet.md cheatsheet.

This commit is contained in:
jaywcjlove
2022-10-07 00:48:40 +08:00
parent c19283b71f
commit 45a20dd749
7 changed files with 2438 additions and 13 deletions

2404
docs/emmet.md Normal file

File diff suppressed because it is too large Load Diff

View File

@ -138,6 +138,16 @@ npm unpublish <package-name>@<version>
注意:如果您取消发布整个包,则必须在 24 小时后才能发布该包的任何新版本。
### 发布包 npmjs.org
```bash
npm publish
# 第一次需要指定公开参数
npm publish --access public
```
发布公开包,到 npmjs.org
配置
---

View File

@ -208,6 +208,7 @@ const school = <div>学校</div>;
`<yel>` | <yel>黄色</yel>
`<pur>` | <pur>紫色</pur>
`<code>` 或 <code>\`\`</code> | <code>绿</code>`色`
`<del>``~~删除~~` | <del>~~红色~~</del>
<!--rehype:className=shortcuts-->

View File

@ -1258,6 +1258,7 @@ class MyComponent extends React.Component<Props, {}> {
```
### 泛型组件
<!--rehype:wrap-class=col-span-2-->
```tsx
// 一个泛型组件