feat: add emmet.md
cheatsheet.
This commit is contained in:
2404
docs/emmet.md
Normal file
2404
docs/emmet.md
Normal file
File diff suppressed because it is too large
Load Diff
10
docs/npm.md
10
docs/npm.md
@ -138,6 +138,16 @@ npm unpublish <package-name>@<version>
|
||||
|
||||
注意:如果您取消发布整个包,则必须在 24 小时后才能发布该包的任何新版本。
|
||||
|
||||
### 发布包 npmjs.org
|
||||
|
||||
```bash
|
||||
npm publish
|
||||
# 第一次需要指定公开参数
|
||||
npm publish --access public
|
||||
```
|
||||
|
||||
发布公开包,到 npmjs.org
|
||||
|
||||
配置
|
||||
---
|
||||
|
||||
|
@ -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-->
|
||||
|
||||
|
||||
|
@ -1258,6 +1258,7 @@ class MyComponent extends React.Component<Props, {}> {
|
||||
```
|
||||
|
||||
### 泛型组件
|
||||
<!--rehype:wrap-class=col-span-2-->
|
||||
|
||||
```tsx
|
||||
// 一个泛型组件
|
||||
|
Reference in New Issue
Block a user