Summernote to Markdown for Kanka

Adds bidirectional Markdown conversion to Kanka editors

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
Salvatos
今日安裝
0
安裝總數
3
評價
0 0 0
版本
1
建立日期
2024-08-04
更新日期
2024-08-04
尺寸
2.3 KB
授權條款
MIT
腳本執行於

This script adds a text field under Summernote editors in Kanka that shows the content of the editor converted to Markdown in real time. You can edit that Markdown and see the changes reflected in Summernote in real time as well. This is compatible with both visual mode and code (HTML) view.

This functionality is provided by Showdown.js and you can find formatting preferences on the wiki to set to your liking in your local copy of the script.

Important: V1 has not been thoroughly tested with crazy layouts and options, so I recommend fooling around with it a bit before committing too much. But as long as Summernote is in visual mode, you can use Ctrl+Z if something goes wrong, even if the changes were made in the Markdown field.


If my scripts are making your life easier, please consider tipping via Ko-fi (no account needed):

Support me on Ko-fi.com