You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/README.md
+37-16Lines changed: 37 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -477,17 +477,22 @@ Load this plugin near the end of the `head` tag.
477
477
478
478
!> **Important:** This will not work at the end of the body like most plugins, since the plugin's global variable needs be available when the app is configured.
- Optional - defaults to the first argument if not set.
503
-
- `title`
504
-
- Optional - defaults to `'Edit on Github`.
505
-
- Set to override the message.
506
-
- Example:
507
-
```javascript
508
-
EditOnGithubPlugin.create(
509
-
repo,
510
-
null,
511
-
'Improve this page'
512
-
);
513
-
```
514
506
515
507
Full example:
516
508
@@ -533,6 +525,35 @@ window.$docsify = {
533
525
534
526
?> Note that plugins are generally not defined on app config inside the `plugins` field, but it applies here at least. Docsify handles it [here](https://github.com/docsifyjs/docsify/blob/develop/src/plugins/front-matter/index.js).
0 commit comments