Get started with editor-md CDN

MIT licensed

Editor.md is a lightweight and easy-to-use Markdown editor built with JS and CSS.

Tags:
  • editor.md
  • markdown
  • editor

Stable version

Copied!

How to start using editor-md CDN


<!DOCTYPE html>
<html>
<head>
    <title>Get started with editor-md CDN - cdnhub.io</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/editormd.min.css">
    <script src="https://cdn.jsdelivr.net/npm/[email protected]/editormd.min.js"></script>
</head>
<body>
    <div id="editor"></div>

    <script>
        const editor = editormd("editor", {
            width: "100%",
            height: "500px",
            syncScrolling: "single",
            saveHTMLToTextarea: true,
            toolbar: {
                image: {
                    title: "Image",
                    files: [
                        {
                            name: "example.jpg",
                            url: "https://example.com/example.jpg"
                        }
                    ]
                }
            }
        });
    </script>
</body>
</html>
Copied!
Copied!
Copied!
Copied!

All versions