frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Quikdown – 17 KB bidirectional Markdown parser and rich-fence editor

https://github.com/deftio/quikdown
2•deftio•9h ago
Hi HN-

This past year I've built and maintained Quikdown, a bidirectional markdown parser and companion editor in pure js, with batteries included fences for rendering rich content.

Try it live: https://deftio.github.io/quikdown/pages/edit/

The motivation was working with many different LLM frameworks and wanting to test tool calling and collaborative editing. Often I just wanted a pretty final output with rich support for diagrams, math, or other rendered content but, keep it editable. So a user (often me) could just work on the final (rendered) output while the LLM could see/seek/update/edit just using markdown under the covers. Quikdown editor supports md/split/rendered output and can run headless so you can bring your own UI. MCP support is included as well.

The Quikdown parser has zero dependencies and is based on regex and outputs HTML with built-in tags for triggering plugins for fences (like Mermaid, Vega-lite, code syntax, music and many more). A separate set of attributes allow tracking of bidirectional content so a user can edit markdown tables, code rendered in highlightjs and many other types in the rendered view. For complex rendered types (like Mermaid or STL) bidirectional support is not included but if you want to take that on there are hooks to support your own efforts.

While the parser has no dependencies , the editor lazy-loads appropriate libraries for rendering rich content. Supported fences include: Mermaid, MathJax, SVG, CSV/TSV/PSV tables, GeoJSON with live leaflet based pan-and-zoom, Sheet music (via ABC.js), Vega/Vegalite-charts, STL (via threejs), code highlighting (via highlightjs).

Also included is programmatic undo/redo - so if you are making a closed loop with another output service (LLM or some process) you can roll back content changes that were not desired.

All inline HTML is escaped by default - no eval() or other unsafe raw parsing of content is allowed and URL sanitization blocks script based urls. However if you are using the editor the plugins which render rich content are left to handle that content on their own and are hence "trusted".

Quikdown intentionally doesn't cover all of Commonmark compatibility - if you find some portion of the spec isn't covered that you need raise an issue or make a PR and I'll take a look.

A standalone "air-gapped" build is also provided so you can use quikdown locally with zero cloud support. The standalone build is about 8MB so not recommended for use in online applications.

Longer write-up: https://deftio.github.io/quikdown/pages/blog/

Show HN: TownSquare, a tiny presence layer for websites

https://townsquare.cauenapier.com/
218•cauenapier•1d ago•122 comments

Show HN: Stock analysis tool with quality scores and fundamental charting

https://intrinsiqq.com
4•FlippieFinance•1h ago•0 comments

Show HN: StartupWiki – A Free Alternative to Crunchbase

https://startupwiki.tech/
213•shpran•23h ago•65 comments

Show HN: Souso – plan your week, fill your AH/Jumbo basket (MEGATHON Amsterdam)

https://souso.app
4•ntorresdev•2h ago•2 comments

Show HN: Make PDFs look scanned (CLI or in the browser via WASM)

https://github.com/overflowy/make-look-scanned
134•overflowy•21h ago•58 comments

Show HN: Teach your kids absolute (perfect) pitch

https://github.com/paytonjjones/bsharp
3•paytonjjones•2h ago•0 comments

Show HN: Microcrad – Micrograd Reimplemented in C

https://github.com/oraziorillo/microcrad
72•oraziorillo•4d ago•27 comments

Show HN: We post-trained a model that pen tests instead of refusing

https://www.argusred.com/cli
86•dk189•1d ago•38 comments

Show HN: GraphCompose – Declarative Java engine for structured business PDFs

https://github.com/DemchaAV/GraphCompose
3•demchaav•3h ago•0 comments

Show HN: My Windows XP portfolio with working Game Boy and iPod

https://mitchivin.com/
66•mitchivin•20h ago•33 comments

Show HN: Tiny – An interpeted dynamic langauge with inline Go native functions

https://github.com/confh/Tiny
40•confis•20h ago•12 comments

Show HN: Talos – Open-source WASM interpreter for Lean

https://github.com/cajal-technologies/talos
104•mfornet•3d ago•28 comments

Show HN: Ember, a native iOS Hacker News reader I built around accessibility

https://github.com/DatanoiseTV/ember-hackernews
99•sylwester•22h ago•25 comments

Show HN: Criterion Closet as a website – pull any of 1,247 films off the shelf

https://the-criterion-closet.vercel.app
29•olievans•1d ago•7 comments

Show HN: Metiq: a real time 3D globe for 100 public datasets

https://metiq.space
145•rakeda•5d ago•42 comments

Show HN: TLA+ Process Studio

https://tlaplus-process-studio.com/?example=meeting-lifecycle
12•uptodatenews•17h ago•1 comments

Show HN: Agentic coding workflows built on Git worktrees and task evidence

https://github.com/alex-reysa/glueRun-go
9•alexreysa•15h ago•1 comments

Show HN: Gerrymandle - Daily puzzle game where you redraw electoral districts

https://gerrymandle.cc/
235•realmofthemad•3d ago•77 comments

Show HN: Domphy – plain-object UI for tool apps, AI-correctable output

10•khanhhuunguyen•2d ago•3 comments

Show HN: Chess-Inspired Roguelike

https://princechazz.com
11•cowboy_henk•8h ago•2 comments

Show HN: Domvault – self-hostable second brain with consent-based note sharing

https://github.com/dys5315/domvault
3•quietdrift_04•9h ago•0 comments

Show HN: Pyor – A desktop PR reviewer for the diffs GitHub chokes on

2•othmanosx•9h ago•0 comments

Show HN: Notedog – Git-friendly portable Markdown journal, edit from a laptop

https://notedog.run/
2•hibariya•9h ago•0 comments

Show HN: Quikdown – 17 KB bidirectional Markdown parser and rich-fence editor

https://github.com/deftio/quikdown
2•deftio•9h ago•0 comments

Show HN: Onsight: pay a local to photograph any spot in San Francisco, on demand

https://onsight.photo/san-francisco
9•pro_methe5•17h ago•3 comments

Show HN: Are You in the Weights?

https://www.intheweights.com/
462•turtlesoup•2d ago•243 comments

Show HN: An 8-bit live gamecast for baseball

https://ribbie.tv/watch
257•brownrout•3d ago•138 comments

Show HN: Pagecast – Publish Markdown/HTML Reports to Cloudflare Pages

https://github.com/Amal-David/pagecast
34•amaldavid•2d ago•8 comments

Show HN: Rocannon – Any Ansible module to MCP Tool, record sessions as playbooks

https://github.com/msradam/rocannon
2•msradam•15h ago•0 comments

Show HN: We built an 8-bit CPU as 2nd year EE students

https://github.com/c0rRupT9/STEPLA-1
107•CorRupT9•5d ago•46 comments