GithubHelp home page GithubHelp logo

halo-sigs / plugin-stackedit Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 4.0 1.5 MB

为 Halo 2.0 集成 StackEdit 编辑器

Home Page: https://halo.run/store/apps/app-hDXMG

License: GNU General Public License v3.0

JavaScript 8.39% Vue 42.71% TypeScript 38.06% Java 10.85%
editor halo markdown markdown-editor halo-plugin stackedit

plugin-stackedit's Introduction

plugin-stackedit

集成 StackEdit 到 Halo。

需要注意的是,StackEdit 并不支持在项目内直接集成,所以此插件是参考了 stackedit.js 以 iframe 的方式集成。

开发环境

git clone [email protected]:halo-sigs/plugin-stackedit.git

# 或者当你 fork 之后

git clone [email protected]:{your_github_id}/plugin-stackedit.git
cd path/to/plugin-stackedit
# macOS / Linux
./gradlew pnpmInstall

# Windows
./gradlew.bat pnpmInstall
# macOS / Linux
./gradlew build

# Windows
./gradlew.bat build

修改 Halo 配置文件:

halo:
  plugin:
    runtime-mode: development
    classes-directories:
      - "build/classes"
      - "build/resources"
    lib-directories:
      - "libs"
    fixedPluginPath:
      - "/path/to/plugin-stackedit"

使用方式

  1. Releases 下载最新的 JAR 文件。
  2. 在 Halo 后台的插件管理上传 JAR 文件进行安装。
  3. 启动插件之后,即可在新建文章时选择此编辑器。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.