StackEdit中文版-在线Markdown编辑器。
Go to file
2022-08-17 13:23:54 +08:00
build Fixed travis build. 2019-07-08 13:56:38 +01:00
chart 支持Gitee 修复Github Oauth2授权bug 2022-05-23 11:29:54 +08:00
chrome-app update version 2022-08-17 13:22:06 +08:00
config gitee gitea 支持bugfix 2022-06-01 17:37:31 +08:00
images update image 2022-08-11 10:06:57 +08:00
server get giteeClientId random时排除第一个 避免被随机到 2022-08-05 09:16:56 +08:00
src support search file 2022-08-17 13:15:03 +08:00
static update logo 2022-08-15 08:28:49 +08:00
test/unit Added server conf endpoint. 2019-06-29 17:33:21 +01:00
.babelrc Added tests 2018-06-07 23:56:11 +00:00
.dockerignore update version 2022-08-17 13:22:06 +08:00
.editorconfig First commit 2017-07-23 19:42:08 +01:00
.eslintignore Added bump and tag scripts 2017-09-30 13:01:29 +01:00
.eslintrc.js Added server conf endpoint. 2019-06-29 17:33:21 +01:00
.gitignore Added account management modal 2019-06-16 14:49:50 +01:00
.postcssrc.js First commit 2017-07-23 19:42:08 +01:00
.stylelintrc First commit 2017-07-23 19:42:08 +01:00
.travis.yml Update .travis.yml to use node v12. 2021-03-29 17:47:25 +01:00
Dockerfile 自定义图床上传bugfix 2022-07-10 11:48:28 +08:00
gulpfile.js themes (part 2) 2018-01-14 16:27:06 +00:00
index.html update readme 2022-06-11 14:36:38 +08:00
index.js Upgraded Katex to v0.13. 2021-03-29 17:33:29 +01:00
LICENSE Create LICENSE 2017-10-03 19:47:50 +01:00
package-lock.json update version 2022-08-17 13:23:54 +08:00
package.json update version 2022-08-17 13:23:54 +08:00
README.md support search file 2022-08-17 13:15:03 +08:00

StackEdit中文版

StackEdit中文版官方地址https://stackedit.cn

如果你喜欢该项目请点一下Star您的肯定是作者最大的动力

StackEdit中文版的docker镜像地址mafgwo/stackedit

示例截图-暗色主题

示例截图-亮色主题

相比国外开源版本的区别:

  • 修复了Github授权登录问题
  • 支持了Gitee仓库2022-05-25
  • 支持了Gitea仓库2022-05-25
  • 汉化2022-06-01
  • 主文档空间从GoogleDrive切换为Gitee2022-06-04
  • 支持SM.MS图床粘贴/拖拽图片自动上传2022-07-01
  • 支持Gitea图床粘贴/拖拽图片自动上传2022-07-02
  • 支持自定义图床粘贴/拖拽图片自动上传2022-07-04
  • 支持GitHub图床粘贴/拖拽图片自动上传2022-07-31
  • 支持了右上角一键切换主题补全了深色主题的样式2022-08-07
  • 编辑与预览区域样式优化2022-08-10
  • 左边栏文件资源管理支持搜索文件2022-08-17

国外开源版本弊端:

  • 作者已经不维护了
  • Github授权登录存在问题
  • 不支持国内常用Gitee
  • 强依赖GoogleDrive而Google Drive在国内不能正常访问

部署说明

建议docker-compose方式部署其他部署方式如遇到问题欢迎提issue。

docker-compose.yml如下:

version: "3.7"
services:
  stackedit:
    image: mafgwo/stackedit:【docker中央仓库找到最新版本】
    container_name: stackedit
    environment:
      - LISTENING_PORT=8080
      - ROOT_URL=/
      - USER_BUCKET_NAME=root
      - DROPBOX_APP_KEY=【不需要支持则删掉】
      - DROPBOX_APP_KEY_FULL=【不需要支持则删掉】
      - GITHUB_CLIENT_ID=【不需要支持则删掉】
      - GITHUB_CLIENT_SECRET=【不需要支持则删掉】
      - GITEE_CLIENT_ID=【不需要支持则删掉】
      - GITEE_CLIENT_SECRET=【不需要支持则删掉】
      - GOOGLE_CLIENT_ID=【不需要支持则删掉】
      - GOOGLE_API_KEY=【不需要支持则删掉】
    ports:
      - 8080:8080/tcp
    network_mode: bridge
    restart: always

启动或停止命令

# 在 docker-compose.yml 文件目录下 启动命令 
docker-compose up -d
# 在 docker-compose.yml 文件目录下 停止命令 
docker-compose down
# 更新镜像只需要修改docker-compose.yml中镜像版本执行再停止、启动命令即可

编译与运行

编译运行的nodejs版本选择11.15.0版本

# 安装依赖
npm install

# serve with hot reload at localhost:8080
npm start

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report