Skip to content

njleonzhang/docsify-edit-on-github

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docsify-edit-on-github

A plugin for docsify to generate a edit on github button on every pages. click the button to open corresponding md editing page on github.

<script src="//unpkg.com/docsify-edit-on-github/index.js"></script>
<script>
  window.$docsify = {
    // your config
    // ...
    plugins: [
      EditOnGithubPlugin.create(docBase, docEditBase, title)
    ]
  }
</script>
  • docBase: the document folder of your github project (e.g.: https://github.com/docsifyjs/docsify/blob/master/docs/)
  • docEditBase: edit link of your github pages, by default, this is set automatically according to docBase
  • title: the text of the button, default value: Edit on github

Code example

Result example

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •