<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: astm</title><link>https://news.ycombinator.com/user?id=astm</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Fri, 17 Apr 2026 09:57:46 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=astm" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[Show HN: Mermaid Formatter – CLI and library to auto-format Mermaid diagrams]]></title><description><![CDATA[
<p>I built a zero-dependency formatter for Mermaid diagram syntax. It normalizes indentation, whitespace, and arrow spacing across all diagram types.<p>Features:
- CLI tool (mermaidfmt) with stdin/file/in-place support
- Programmatic API for integration (e.g. format Mermaid blocks in Markdown)
- Nested block indentation (alt/loop/par/subgraph track depth)
- Context-aware parsing (else only inside alt, and only inside par)
- Arrow normalization: A->>B:msg → A ->> B: msg<p>npm install -g mermaid-formatter</p>
<hr>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=46921778">https://news.ycombinator.com/item?id=46921778</a></p>
<p>Points: 1</p>
<p># Comments: 0</p>
]]></description><pubDate>Sat, 07 Feb 2026 06:25:42 +0000</pubDate><link>https://github.com/chenyanchen/mermaid-formatter</link><dc:creator>astm</dc:creator><comments>https://news.ycombinator.com/item?id=46921778</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46921778</guid></item><item><title><![CDATA[New comment by astm in "Tell HN: OpenAI removed all my ChatGPT history without telling me"]]></title><description><![CDATA[
<p>+1</p>
]]></description><pubDate>Wed, 08 Mar 2023 03:46:29 +0000</pubDate><link>https://news.ycombinator.com/item?id=35064974</link><dc:creator>astm</dc:creator><comments>https://news.ycombinator.com/item?id=35064974</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35064974</guid></item></channel></rss>