In search for a good Markdown editor for my blogging platform

I don't envy beginners trying to get into web development today.

I haven't been doing any frontend web development for more than a decade. Today I was trying to do a simple thing: get a JS markdown editor to work in the browser. Found this beautiful looking library called Tiptap. This example seems great! Let's try to integrate it.

What I naively expected:

<script src="some_cdn_url.js">
<div id="editor">div>

What happened:

There's a documentation page for using TipTap with "vanilla javascript". Sounds good! It starts with:

npm install @tiptap/core @tiptap/pm @tiptap/starter-kit

Wait, what? npm is a Node package manager, right? Then it goes to:

import { Editor } from '@tiptap/core'
import StarterKit from '@tiptap/starter-kit'

new Editor({
element: document.querySelector('.element'),
extensions: [StarterKit],
content: '

Hello World!

'
,
})

Hmm... I guess this is Vanilla JS, since