Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ca5fccc

Browse files
Update README.md
1 parent 4ea4d11 commit ca5fccc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -554,6 +554,8 @@ Function call:
554554
EditOnGithubPlugin.create(docBase)
555555
```
556556
557+
Here we just use one argument and ignore rest.
558+
557559
Arguments:
558560
559561
- `docBase`
@@ -608,8 +610,8 @@ Arguments:
608610
- `docEditBase`
609611
- Optional - defaults to the first argument if not set.
610612
- `title`
611-
- Optional - defaults to `'Edit on Github`.
612-
- Set to override the message.
613+
- Optional - defaults to `'Edit on github` (unfortunately lowercase).
614+
- Set to override the message. e.g. `'Improve this page'` or `'Edit on GitHub'` or `'📝 Edit this page'`.
613615
- Example:
614616
```javascript
615617
EditOnGithubPlugin.create(

0 commit comments

Comments
 (0)