Summernote to Markdown for Kanka

Adds bidirectional Markdown conversion to Kanka editors

作者
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