Skip to content
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

docs(cn): plugins/community/question-mark translation #44

Merged
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions plugins/community/question-mark.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# @windicss/plugin-question-mark

A plugin that provides a helpful `?` dev time utility. This plugin is modified based on [tailwindcss-question-mark](https://github.com/GavinJoyce/tailwindcss-question-mark) to adapt to Windi CSS.
一个可以提供实用的开发时工具类 `?` 的插件。它是基于 [tailwindcss-question-mark](https://github.com/GavinJoyce/tailwindcss-question-mark) 修改来适配 Windi CSS 的。

**Demo**: https://play.tailwindcss.com/5a9dYkfqd4

![example](https://user-images.githubusercontent.com/2526/100670452-ca598300-3356-11eb-8743-5d4d3c7b740f.gif)

## Installation
## 安装 {#installation}

Install the plugin from npm:
使用 npm 安装:

```bash
npm install --save-dev @windicss/plugin-question-mark
```

Then add the plugin to your `tailwind.config.js` file:
然后把本插件添加到 `windi.config.js` 文件中:

```js
// windi.config.js
Expand All @@ -29,8 +29,8 @@ export default {
}
```

## Usage
## 用法 {#usage}

Simply add the `?` utility class to any element that you'd like to highlight.
`?` 工具类添加给任何你想要高亮显示的元素就可以了。

**Demo**: https://play.tailwindcss.com/5a9dYkfqd4