Skip to content
This repository was archived by the owner on Sep 22, 2022. It is now read-only.

Commit 0ac03ca

Browse files
koddssonkeithamus
andcommitted
Remove indent in installation instructions
Co-authored-by: Keith Cirkel <[email protected]>
1 parent 3132ac6 commit 0ac03ca

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
A modal dialog opened with a &lt;details&gt; button.
44

55
## Installation
6-
Available on [npm](https://www.npmjs.com/) as [**@github/details-dialog-element**](https://www.npmjs.com/package/@github/details-dialog-element).
7-
```
8-
$ npm install --save @github/details-dialog-element
9-
```
6+
Available on [npm](https://www.npmjs.com/) as [**@github/details-dialog-element**](https://www.npmjs.com/package/@github/details-dialog-element).
7+
```
8+
$ npm install --save @github/details-dialog-element
9+
```
1010

1111
## Usage
1212

@@ -24,8 +24,6 @@ Include with a script tag:
2424
<script type="module" src="./node_modules/@github/details-dialog-element/dist/index.js">
2525
```
2626
27-
### details-dialog
28-
2927
### Markup
3028
3129
```html

cem-plugin-readme.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ import {accessSync, readFileSync, writeFileSync} from 'fs'
22

33
function generateInstallationInstructions({packageJson: {name}}) {
44
return `## Installation
5-
Available on [npm](https://www.npmjs.com/) as [**${name}**](https://www.npmjs.com/package/${name}).
6-
\`\`\`
7-
$ npm install --save ${name}
8-
\`\`\``
5+
Available on [npm](https://www.npmjs.com/) as [**${name}**](https://www.npmjs.com/package/${name}).
6+
\`\`\`
7+
$ npm install --save ${name}
8+
\`\`\``
99
}
1010

1111
function generateBrowserSupportInstructions() {

0 commit comments

Comments
 (0)