mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-01 18:32:52 +02:00
misc: add command to run prettier on docs (#2102)
* misc: add command to run prettier on docs * Fix GH issue template * Fix tests * Add prettier-docs command to precommit
This commit is contained in:
parent
cfc313d7c7
commit
55e676cb25
141 changed files with 1181 additions and 968 deletions
|
@ -3,6 +3,7 @@
|
|||
You can create live code editors with a code block `live` meta string.
|
||||
|
||||
Install
|
||||
|
||||
```bash
|
||||
npm i @docusaurus/theme-live-codeblock # or yarn add @docusaurus/theme-live-codeblock
|
||||
```
|
||||
|
@ -18,7 +19,6 @@ module.exports = {
|
|||
}
|
||||
```
|
||||
|
||||
|
||||
Example:
|
||||
|
||||
```jsx live
|
||||
|
@ -42,4 +42,4 @@ Example:
|
|||
</div>
|
||||
);
|
||||
}
|
||||
```
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue