frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Lobster.js – Extended Markdown with layout blocks and footnotes

https://github.com/Hacknock/lobsterjs
7•Kyome22•2d ago
Hi HN!

I built lobster.js which is an extended Markdown parser that renders directly in the browser — no build tool, no framework, no configuration.

The entire setup is a single script tag:

  <script type="module">
    import { loadMarkdown } from "https://hacknock.github.io/lobsterjs/lobster.js";
    loadMarkdown("./content.md", document.getElementById("content"));
  </script>
It's particularly useful for GitHub Pages sites where you want Markdown-driven content without pulling in Jekyll or Hugo.

---

What makes it different from marked.js or markdown-it:

Standard parsers convert Markdown to HTML — that's it. lobster.js adds layout primitives to the Markdown syntax itself:

- :::warp id defines a named content block; [~id] places it inside a silent table cell. This is how you build multi-column layouts entirely in Markdown, without touching HTML. - :::details Title renders a native <details>/<summary> collapsible block. - :::header / :::footer define semantic page regions. - Silent tables (~ | ... |) create borderless layout grids. - Cell merging: horizontal (\|) and vertical (\---) spans. - Image sizing: ![alt](url =800x).

---

CSS-first design:

Every rendered element gets a predictable lbs-* class name (e.g. lbs-heading-1, lbs-table-silent). No default stylesheet is bundled — you bring your own CSS and have full control over appearance.

---

The showcase site is itself built with lobster.js. The sidebar is nav.md, and each page is a separate Markdown file loaded dynamically via ?page= query parameters — no JS router, no framework.

Markdown is the one format that humans and LLMs both write fluently. If you want a structured static site without a build pipeline, lobster.js lets that Markdown become a full web page — layout and all.

GitHub: https://github.com/Hacknock/lobsterjs Showcase: https://hacknock.github.io/lobsterjs-showcase/

Comments

ramon156•2d ago
This is going to be my last comment about AI, but please HN, do something about this.

I can't be arsed to read this post since the very first sentence is AI generated. If you dont give a shit about your project, why should I...

Kyome22•2d ago
I am Japanese, and this is my first time posting on Hacker News. To be honest, I used generative AI to help me write the post because I wasn't familiar with the culture or how things work here, and I'm sorry if that was annoying. Does starting with "Hi HN!" make it sound like it's AI-generated?
llagerlof•2d ago
I liked your standard. For me, there is only one thing that really bothers me in Markdown and causes me trouble. It's not possible to have line breaks inside individual cells. This is the major flaw in Markdown.
Kyome22•1d ago
Pure Markdown often falls short when you need fine-grained control. As you mentioned, the inability to freely insert line breaks within table cells is one of those limitations. With lobster.js, you can achieve this by using wrap blocks.
mlysk•1d ago
Interesting - might become handy for get-colibri.com what is the upside of :::details over html version?
Kyome22•18h ago
There are technical article posting sites that support extended Markdown syntax like ":::details," and this syntax is commonly adopted by existing Markdown parsers as well.

I personally don't want to write HTML within Markdown. It’s not very readable, and I believe it's better if users can write content without needing to know both Markdown and HTML.

While building a static website might require some technical expertise, the fact that content can be updated by anyone who can write Markdown—even those who aren't tech-savvy—is a significant advantage.

Show HN: kitty-graphics.el – Images, LaTeX and PDFs in terminal Emacs

https://github.com/cashmeredev/kitty-graphics.el
2•cashmere1337•2h ago•1 comments

Show HN: How I topped the HuggingFace open LLM leaderboard on two gaming GPUs

https://dnhkng.github.io/posts/rys/
385•dnhkng•20h ago•103 comments

Show HN: Joha – a free browser-based drawing playground with preset shape tools

https://joha-app.pages.dev/
10•smlee•3d ago•2 comments

Show HN: DD Photos – open-source photo album site generator (Go and SvelteKit)

https://github.com/dougdonohoe/ddphotos
61•dougdonohoe•20h ago•19 comments

Show HN: Modulus – Cross-repository knowledge orchestration for coding agents

https://modulus.so
10•dasubhajit•15h ago•4 comments

Show HN: Ash, an Agent Sandbox for Mac

https://ashell.dev
9•amsha•18h ago•8 comments

Show HN: I Was Here – Draw on street view, others can find your drawings

https://washere.live
61•mrktsm__•1d ago•44 comments

Show HN: CryptoFlora – Visualize SHA256 to a flower using Rose curves

https://crypto-flora.tonytonyjan.net/
2•tonytonyjan•6h ago•1 comments

Show HN: Claude Code Token Elo

https://www.clauderank.com
7•ymaws•1d ago•5 comments

Show HN: The Mog Programming Language

https://moglang.org
162•belisarius222•1d ago•76 comments

Show HN: 2D RPG base game client recreated in modern HTML5 game engine with AI

https://github.com/ErkoKnoll/helbreath-base-game
5•erkok•13h ago•3 comments

Show HN: Remotely use my guitar tuner

https://realtuner.online/
251•smith-kyle•4d ago•59 comments

Show HN: A modern React onboarding tour library

https://github.com/btahir/react-tourlight
11•bilater•17h ago•2 comments

Show HN: A playable version of the Claude Code Terraform destroy incident

https://www.youbrokeprod.com
22•cdnsteve•19h ago•9 comments

Show HN: Readhn – AI-Native Hacker News MCP Server (Discover, Trust, Understand)

https://github.com/xodn348/readhn
2•xodn348•9h ago•2 comments

Show HN: DenchClaw – Local CRM on Top of OpenClaw

https://github.com/DenchHQ/DenchClaw
140•kumar_abhirup•1d ago•124 comments

Show HN: VS Code Agent Kanban: Task Management for the AI-Assisted Developer

https://www.appsoftware.com/blog/introducing-vs-code-agent-kanban-task-management-for-the-ai-assi...
95•gbro3n•1d ago•50 comments

Show HN: A retention mechanic for learning that isn't Duolingo manipulation?

https://www.dailylabs.co/
6•aidanadd•1d ago•4 comments

Show HN: Satellite imagery object detection using text prompts

https://www.useful-ai-tools.com/tools/satellite-analysis-demo/
7•eyasu6464•2d ago•3 comments

Show HN: Skir – like Protocol Buffer but better

https://skir.build/
111•gepheum•2d ago•65 comments

Show HN: What's my JND? – a colour guessing game

https://www.keithcirkel.co.uk/whats-my-jnd/?r=ARUjKP__-ve-
42•Keithamus•1d ago•41 comments

Show HN: I built a real-time OSINT dashboard pulling 15 live global feeds

https://github.com/BigBodyCobain/Shadowbroker
305•vancecookcobxin•2d ago•122 comments

Show HN: Draxl, agent-native source code with stable AST node IDs

https://github.com/draxl-org/draxl
4•rndhouse•12h ago•0 comments

Show HN: Hopalong Attractor. An old classic with a new perspective in 3D

https://github.com/ratwolfzero/hopalong_python
24•ratwolf•4d ago•2 comments

Show HN: KaraMagic – automatic karaoke video maker

https://karamagic.com/
2•godot•14h ago•0 comments

Show HN: I built a site where strangers leave kind voice notes for each other

https://kindvoicenotes.com
57•thepaulthomson•2d ago•38 comments

Show HN: Don't share code. Share the prompt

https://openprompthub.com/#
2•jacomoRodriguez•15h ago•1 comments

SHOW HN: A usage circuit breaker for Cloudflare Workers

17•ethan_zhao•20h ago•7 comments

Show HN: Eyot, A programming language where the GPU is just another thread

https://cowleyforniastudios.com/2026/03/08/announcing-eyot/
78•steeleduncan•2d ago•18 comments

Show HN: Agentic Data Analysis with Claude Code

https://rubenflamshepherd.com/articles/2026-03-09-agentic-data-analysis-with-claude-code
5•rubenflamshep•17h ago•0 comments