vuepress-plugin-editable
v1.0.11
Published
<p align="center">
Downloads
117
Readme
vuepress-plugin-editable
Let's editing vuepress generate docs so easy!
Safety Warning: Currently, to facilitate functionality, veaba-bot explicitly redirects the Github AccessToken to the url of your launch oAuth page. For the security of your Github account, please always avoid revealing the AccessToken to third parties, including veaba-bot, veaba ](https://github.com/veaba/veaba-bot),
veaba-bot
will not keep storing yourAccessToken
information. YourAccessToken
is passed toveaba-bot
via the Request headeraccess-token
set in fetch.
安全警告:目前为了方便实现功能,
veaba-bot
会显式地将 GithubAccessToken
重定向到你的发起 oAuth 页面的 url,为了你的 Github 账号安全,请始终避免泄露AccessToken
给第三方,包括 veaba-bot,veaba-bot
不会保留存储你的AccessToken
信息。你的AccessToken
是通过 fetch 里设置的 Request headeraccess-token
传递给veaba-bot
。
Why vuepress-plugin-editable
Based on vuepress + markdown ecosystem simplifies the intermediate process and can be quickly applied to the article creation and revision process.
You don't even need to open vscode, you just find a mistake while reading the documentation and correct it as you go.
This will lower the threshold for developers to participate in open source documentation maintenance.
Install
npm install -D vuepress-plugin-editable
# OR yarn add -D vuepress-plugin-editable
Usage
Double-click on the vuepress generated content.
OAuth github account and PR to repo's source file.
Features
[x] vuepress ecosystem
[x] plain text mode: HTML setting
contenteditable:true
redirect pull request.[x] complex text mode: diff origin source file content.
[x] success/error alert ui
Bug
Listed not supported yet!
- custom container
::: warning
*here be dragons*
:::
- definition code
: Definition 2
{ some code, part of Definition 2 }
Third paragraph of definition 2.
img
table
code
Emphasis
**This is bold text**
__This is bold text__
*This is italic text*
_This is italic text_
~~StrikeThrough~~
Positioning is not accurate
H1-H6 auth block position has been mask.
API
options
| name | description | default |
| ------------- | -------------------- | ---------------------- |
| appDomain | | https://bot.veaba.me
|
| getContentAPI | | /api/content/get
|
| updateAPI | | /api/content/update
|
| redirectAPI | | /api/redirect/github
|
| clientId | Github APP client id | {clientId} |
| | | |