Skip to content

Commit 9eee50c

Browse files
committed
bring back the syntax highlighting
1 parent db28f49 commit 9eee50c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ For instance, whereas the CLI prepends `'update-readme-'` to the plugin names,
3131
`'module'` can be any valid string to pass to `require()` including local files
3232
that are project specific.
3333

34-
```
34+
```js
3535
require('update-readme')({
3636
readme: 'README.md',
3737
plugins: [
@@ -63,7 +63,7 @@ section into the README.
6363

6464
Plugins should export a single function call with the following type signature:
6565

66-
```
66+
```js
6767
/**
6868
* An update-readme plugin
6969
* @param {string[]} sections - the sections of the README file
@@ -79,7 +79,7 @@ Plugins should export a single function call with the following type signature:
7979

8080
This is an example of a plugin that just updates the copyright year in the License section.
8181

82-
```
82+
```js
8383
export default function CopyrightYear (sections, { year }) {
8484
year = year || (new Date()).getFullYear()
8585
for (let n in sections) {

0 commit comments

Comments
 (0)