Skip to content

Commit

Permalink
fix: code block formatting (#149)
Browse files Browse the repository at this point in the history
Fix code block formatting on [Building and Testing](https://spicetify.app/docs/development/spicetify-creator/building-and-testing) page.
  • Loading branch information
MLGRussianXP authored Aug 30, 2024
1 parent 25ab874 commit edce36c
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions docs/development/spicetify-creator/building-and-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,35 +12,35 @@ Open a terminal in the project's directory and run this:

<Tabs groupId="package-managers">
<TabItem value="npm" label="npm" default>

```shell
npm run build

```
</TabItem>
<TabItem value="yarn" label="Yarn">

```shell
yarn run build

```
</TabItem>
</Tabs>

Then make sure you've added your app to Spicetify's config by running this:

<Tabs groupId="app-types">
<TabItem value="extension" label="Extension" default>

```shell
spicetify config extensions my-app.js

```
</TabItem>
<TabItem value="custom-app" label="Custom App">

```shell
spicetify config custom_apps my-app

```
</TabItem>
</Tabs>

Finally, do

```
```shell
spicetify apply
```

Expand All @@ -54,29 +54,29 @@ Watching means that it'll rebuild the app every time the code changes.
Go into your project's directory and enter the following command:
<Tabs groupId="package-managers">
<TabItem value="npm" label="npm" default>

```shell
npm run watch

```
</TabItem>
<TabItem value="yarn" label="Yarn">

```shell
yarn run watch

```
</TabItem>
</Tabs>

Then, run Spotify in watch mode:

<Tabs groupId="app-types">
<TabItem value="extension" label="Extension" default>

```shell
spicetify watch -le

```
</TabItem>
<TabItem value="custom-app" label="Custom App">

```shell
spicetify watch -la

```
</TabItem>
</Tabs>

Expand All @@ -86,14 +86,14 @@ If you want to upload the build files with your repository or just see them, you

<Tabs groupId="package-managers">
<TabItem value="npm" label="npm" default>

```shell
npm run build-local

```
</TabItem>
<TabItem value="yarn" label="Yarn">

```shell
yarn run build-local

```
</TabItem>
</Tabs>

Expand Down

0 comments on commit edce36c

Please sign in to comment.