frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Writemark, a dependency free web component for inline Markdown editing

3•_boffin_•1h ago
I like writing Markdown, but do not like writing it inside a plain textarea.

I wanted something I could use anywhere by dropping in a single web component:

```

<writemark-editor name="body"></writemark-editor>

```

That became Writemark.

It renders Markdown while you write, but Markdown remains the value you read, store, and submit. It also has source, split, and preview modes, along with slash commands, tables, task lists, code blocks, native form support, and an API for adding your own controls. There are no runtime dependencies and no required framework or built in toolbar.

It is fully vibecoded. The process was very iterative. I knocked something out, tried using it, found bugs, fixed them, and repeated that cycle until I had something I liked writing in and that performed reasonably well.

It did not begin as an experiment about AI generated software -- just did not want to use textareas anymore. I like Markdown, and I wanted one component that I could use anywhere without bringing along an entire editor framework.

It is still very young. The parser is handwritten, the component is essentially one large JavaScript file, and I am certain there are edge cases waiting to be found. If you find one, I am happy to fix it.

I have tried to give it a decent safety net. It currently has 951 Playwright checks across Chromium, Firefox, and WebKit, along with hostile input cases, sanitizer fuzzing, and differential tests against CommonMark.

I built this because I wanted it for myself, but I think it turned into something kind of cool. I hope some of you enjoy it. I would love hearing what you think, especially if you try it and manage to break something.

- Github: https://github.com/Brostoffed/writemark

- NPM: https://www.npmjs.com/package/writemark-editor

Israel's $50M Experiment to Change U.S. Public Opinion

https://www.wsj.com/politics/israels-50-million-experiment-to-change-u-s-public-opinion-253b3b70
1•abdelhousni•17s ago•0 comments

AMD publishes machine-readable ISA so frontier models can write its GPU kernels

https://www.theregister.com/ai-and-ml/2026/07/24/amd-vibe-codes-its-way-past-the-cuda-moat-with-r...
1•logickkk1•2m ago•0 comments

Tech titans' playbook to defy Aussie social media ban

https://www.afr.com/technology/big-tech-tricks-undermining-social-media-ban-wells-20260331-p5zk5e
1•asdefghyk•2m ago•0 comments

Becoming a Research Engineer at a Big LLM Lab

https://www.maxmynter.com/pages/blog/jobhunt
2•felixdoerp•4m ago•0 comments

Why our exoplanet map looks like a cone? [video]

https://www.youtube.com/watch?v=ZF_Q4C_Yhz8
1•hakkikonu•4m ago•0 comments

Daraxonrasib or Chemotherapy in Previously Treated Metastatic Pancreatic Cancer

https://www.nejm.org/doi/full/10.1056/NEJMoa2605555?query=WB
1•maxall4•5m ago•0 comments

'AI Mania Is Eviscerating Global Decision-Making'

https://daringfireball.net/linked/2026/07/25/ai-mania-nikhil-suresh
2•robenkleene•5m ago•1 comments

AIs Favourite Number

https://sackfield.substack.com/p/ais-favourite-number
1•sackfield•6m ago•0 comments

ExploitGym – Can AI Agents Turn Security Vulnerabilities into Real Attacks?

https://www.cybergym.io/exploitgym/
1•882542F3884314B•6m ago•0 comments

The Great Rate Reset

https://www.axios.com/2026/07/23/rates-treasury-yields-borrowing
2•toomuchtodo•9m ago•0 comments

JIT Go Brrr: The Path to a Supported JIT Compiler for CPython

https://peps.python.org/pep-0836/
1•programLyrique•10m ago•0 comments

Color Generator

https://kigen.design/color
2•arnon•14m ago•0 comments

Toolgz – cut LLM tool-definition tokens ~80% without hurting accuracy

https://github.com/dperussina/toolgz
1•dperussina•18m ago•0 comments

What's horned, fluffy, and ethically dubious? Yak clones

https://www.cnn.com/2026/07/25/china/tibet-yak-clones-conservation-intl-hnk-dst
1•naves•20m ago•0 comments

Claude Opus 5: The System Card

https://thezvi.substack.com/p/claude-opus-5-the-system-card
1•paulpauper•21m ago•0 comments

Book Review: Breakdown in Pakistan

https://www.astralcodexten.com/p/breakdown-in-pakistan
1•paulpauper•22m ago•0 comments

Celeris

https://celeris.ai/
1•sim04ful•23m ago•0 comments

Who does Anubis actually stop?

https://fzakaria.com/2026/07/09/who-does-anubis-actually-stop
1•type0•24m ago•0 comments

Sandbox-CLI is now in public beta

https://sandbox-cli.vercel.app
1•aghadge•25m ago•0 comments

Multicast TV Distribution on My Home Network

https://www.apalrd.net/posts/2026/isp_mcast/
2•mrngm•28m ago•0 comments

TV Won't Connect to Open Wi-Fi Without Permission or Have a 4G Modem

https://worldofmatthew.com/blog/tv-open-wifi/
1•worldofmatthew•31m ago•0 comments

AI pricing is understood now but the token is still just a cost

https://www.solvimon.com/blog/ai-pricing-is-understood-now-2026
1•arnon•34m ago•0 comments

Show HN: ActionRail, Runtime value/action grounding framework for AI agents

https://github.com/ToolJet/ActionRail/
1•oss-dev•35m ago•0 comments

Berlin cancels CSD Pride parade after police incident

https://www.dw.com/en/berlin-csd-pride-cancelled-incident/a-78116146
2•Tomte•36m ago•0 comments

Enola – MCP Architectural Snapshot Server and Knowledge Graph

https://github.com/enola-labs/enola
1•Inversechi•37m ago•0 comments

Fly.io CEO Kurt Mackey is stepping down

https://fly.io/blog/kurt-scott-money-sprites/
8•subarctic•40m ago•1 comments

The new rules of context engineering for Claude 5 generation models

https://claude.com/blog/the-new-rules-of-context-engineering-for-claude-5-generation-models
3•mellosouls•41m ago•0 comments

ALP: Adaptive lossless floating-point compression

https://github.com/cwida/ALP
2•fanf2•41m ago•0 comments

How OpenAI Lost Control of an AI Model–and What Needs to Change

https://time.com/article/2026/07/24/openai-hugging-face-attack/
2•reasonableklout•44m ago•0 comments

Inflect-v2: 3.9M and 9.3M parameter open-weight TTS models

https://huggingface.co/posts/Nymbo/780726828379501
3•Nymbo•45m ago•1 comments