Markdown editor

Add toolbar to reply area

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

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

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

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

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

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         Markdown editor
// @namespace    http://tampermonkey.net/
// @license      MIT
// @version      0.2
// @description  Add toolbar to reply area
// @author       Milan
// @match        https://lue.websight.blue/thread/*
// @icon         https://lore.delivery/static/blueshi.png
// @grant        GM_addStyle
// @grant        GM_getResourceText
// @resource     css https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.css
// @require      https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.js
// ==/UserScript==

(function() {
    'use strict';
    GM_addStyle(GM_getResourceText("css"));
    const mde = new SimpleMDE({ element: document.getElementById("reply-content") });
})();