Skip to content
news.ycombinator.com·

✍️Writemark: Dependency-Free Markdown Editor Hits GitHub

No Dependencies Needed for Inline Markdown Editing

TL;DR

Introducing Writemark, a dependency-free web component for inline Markdown editing. It's fully self-contained and supports various modes and features without requiring any external libraries or frameworks.

Writemark is a new web component that allows developers to embed an inline Markdown editor in their projects with zero dependencies. This means you can drop `<writemark-editor name="body"></writemark-editor>` into your HTML, and it just works. For teams looking for flexibility without the overhead of external libraries or frameworks, this could be a game-changer. Writemark supports multiple modes like source, split, and preview, along with features such as slash commands, tables, task lists, and native form support. It's fully vibecoded, meaning it doesn't rely on any runtime dependencies, making it incredibly lightweight and easy to integrate.

Key Points

1

Writemark can be used anywhere by dropping in `<writemark-editor name="body"></writemark-editor>`; no runtime dependencies needed

2

The component has 951 Playwright checks across Chromium, Firefox, and WebKit for robust testing

3

Supports source, split, preview modes along with slash commands, tables, task lists, code blocks, native form support, and an API for custom controls

4

Fully self-contained JavaScript file with handwritten parser; no required framework or built-in toolbar

5

GitHub repository: https://github.com/Brostoffed/writemark; NPM package available at https://www.npmjs.com/package/writemark-editor

Why It Matters

If you're building a web app and need an inline Markdown editor, Writemark offers a lightweight solution with no dependencies. It supports various modes and features like tables and task lists, making it ideal for projects requiring flexibility without the overhead of external libraries.

markdownweb-componentdependency-freeinline-editor

Frequently Asked Questions

Why does this matter?

If you're building a web app and need an inline Markdown editor, Writemark offers a lightweight solution with no dependencies. It supports various modes and features like tables and task lists, making it ideal for projects requiring flexibility without the overhead of external libraries.

What happened?

Introducing Writemark, a dependency-free web component for inline Markdown editing. It's fully self-contained and supports various modes and features without requiring any external libraries or frameworks.

Comments

Subscribe to join the conversation...

Be the first to comment

Enjoyed this article?

Get it daily. 7am. Free. Reads in 5 minutes.