Skip to content

Commit

Permalink
docs: fix code blocks within detail tags
Browse files Browse the repository at this point in the history
  • Loading branch information
idleberg committed Sep 22, 2024
1 parent 5380c91 commit 0362788
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ npm install --save-dev babel-preset-atomic
```

<details>
<summary> This package also needs `@babel/core` and/or `@babel/cli`. </summary>
<summary> This package also needs <code>@babel/core</code> and/or <code>@babel/cli</code>. </summary>

If using `npm`, the bundled babel is hoisted automatically.

Expand Down Expand Up @@ -44,7 +44,7 @@ Create a `babel.config.json` file at the root of the project with the following
Use `babel.config.js` if you need more control over the config.

<details>
<summary>babel.config.js version</summary>
<summary><code>babel.config.js</code> version</summary>

```js
let presets = ["babel-preset-atomic"]
Expand Down Expand Up @@ -87,7 +87,7 @@ To permanently set this option, you can add it to your babel config (which disab
```

<details>
<summary>babel.config.js version</summary>
<summary><code>babel.config.js</code> version</summary>

```js
let presets = [
Expand Down Expand Up @@ -122,7 +122,7 @@ To change the target of `preset-env` plugin. By default this is configured for E
```

<details>
<summary>babel.config.js version</summary>
<summary><code>babel.config.js</code> version</summary>

```js
let presets = [
Expand Down Expand Up @@ -157,7 +157,7 @@ Allows to `require` a ES6 module that has exported a single thing as `default`,
```

<details>
<summary>babel.config.js version</summary>
<summary><code>babel.config.js</code> version</summary>

```js
let presets = [
Expand Down Expand Up @@ -189,7 +189,7 @@ let presets = [
```

<details>
<summary>babel.config.js version</summary>
<summary><code>babel.config.js</code> version</summary>

```js
let presets = [
Expand Down

0 comments on commit 0362788

Please sign in to comment.