SeptemberHX / joplin-plugin-rich-render

Trying to borrow existing plugins of other codemirror-based editor to Joplin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Joplin Plugin Rich Render

This plugin tries to implement obsidian plugins that I want to use in Joplin.

Current implemented plugins are listed below.

Habbit Tracker

obsidian plugin: https://github.com/duoani/obsidian-habit-tracker

Habbit Tracker

Building the plugin

The plugin is built using Webpack, which creates the compiled code in /dist. A JPL archive will also be created at the root, which can use to distribute the plugin.

To build the plugin, simply run npm run dist.

The project is setup to use TypeScript, although you can change the configuration to use plain JavaScript.

Updating the plugin framework

To update the plugin framework, run npm run update.

In general this command tries to do the right thing - in particular it's going to merge the changes in package.json and .gitignore instead of overwriting. It will also leave "/src" as well as README.md untouched.

The file that may cause problem is "webpack.config.js" because it's going to be overwritten. For that reason, if you want to change it, consider creating a separate JavaScript file and include it in webpack.config.js. That way, when you update, you only have to restore the line that include your file.

About

Trying to borrow existing plugins of other codemirror-based editor to Joplin


Languages

Language:TypeScript 79.0%Language:JavaScript 17.9%Language:CSS 3.1%