docs: fix code block titles (#5733)

* docs: fix code block titles

* remove console

* fix build error
This commit is contained in:
Shahed Nasser authored and GitHub committed 2023-11-27 16:08:10 +00:00
1 parent de8f748674
commit 547b16ead5
110 files changed
+483 -456

No files matched your search

@@ -47,7 +47,7 @@ Before publishing your plugin, make sure you've set the following fields in your
<TabItem value="without-admin" label="Without Admin Customizations" default>
Make sure you add the `publish` script to your `scripts` field:
```json title=package.json
```json title="package.json"
"scripts": {
// other scripts...
"build": "cross-env npm run clean && tsc -p tsconfig.json",
@@ -64,7 +64,7 @@ Before publishing your plugin, make sure you've set the following fields in your
Then, add the following `prepare` and `build` scripts to your `scripts`
```json title=package.json
```json title="package.json"
"scripts": {
// other scripts...
"build:server": "cross-env npm run clean && tsc -p tsconfig.json",
@@ -92,7 +92,7 @@ So, you can ignore files and directories like `src` from the final published NPM
To do that, create the file `.npmignore` with the following content:
```bash title=.npmignore
```bash title=".npmignore"
/lib
node_modules
.DS_store