Skip to content

fix: code block formatting #149

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

Merged
merged 1 commit into from
Aug 30, 2024
Merged
Changes from all 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
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