mirror of
https://github.com/Ionaru/easy-markdown-editor
synced 2025-07-30 21:34:28 -06:00
55 lines
1.8 KiB
HTML
55 lines
1.8 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Document</title>
|
|
<link rel="stylesheet" href="../dist/browser/easymde.css" />
|
|
<script
|
|
src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/js/fontawesome.min.js"
|
|
integrity="sha512-PoFg70xtc+rAkD9xsjaZwIMkhkgbl1TkoaRrgucfsct7SVy9KvTj5LtECit+ZjQ3ts+7xWzgfHOGzdolfWEgrw=="
|
|
crossorigin="anonymous"
|
|
referrerpolicy="no-referrer"
|
|
></script>
|
|
<script
|
|
src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/js/solid.min.js"
|
|
integrity="sha512-wabaor0DW08KSK5TQlRIyYOpDrAfJxl5J0FRzH0dNNhGJbeUpHaNj7up3Kr2Bwz/abLvVcJvDrJL+RLFcyGIkg=="
|
|
crossorigin="anonymous"
|
|
referrerpolicy="no-referrer"
|
|
></script>
|
|
|
|
<style>
|
|
body {
|
|
/* background-color: grey; */
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<textarea id="my-text-area">
|
|
# EasyMDE
|
|
Easy Markdown editing, with inline styling! Format **visually** and *beautifully* using the toolbar, shortcuts or pure Markdown. This editor features powerful functionality combined with incredible easy-of-use.
|
|
|
|
## Features
|
|
* Spell checking
|
|
* Autosaving
|
|
* Auto-continue lists
|
|
* Multiple preview modes
|
|
* Theming support
|
|
* Full customization
|
|
* An extensive API
|
|
* So much more!
|
|
</textarea
|
|
>
|
|
<script type="module">
|
|
import { EasyMDE } from "../dist/browser/easymde.min.js";
|
|
window.x = new EasyMDE({
|
|
element: document.getElementById("my-text-area"),
|
|
toolbar: true,
|
|
statusbar: true,
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|