21
submitted 3 weeks ago by hongminhee@lemmy.ml to c/rust@programming.dev
you are viewing a single comment's thread
view the rest of the comments
[-] hongminhee@lemmy.ml 4 points 2 weeks ago

Thanks for the feedback! The style choices are intentional and all valid CommonMark:

  • Heading styles: Setext (===/---) for H1/H2 makes major sections visually prominent in plain text, while ATX (###) is used for deeper levels. This hybrid approach optimizes readability in the raw source.

  • Four tildes: Tildes are valid CommonMark delimiters, just less common. They're chosen because code often contains backticks (shell commands, string literals), so tildes avoid visual clutter.

The core philosophy is that Markdown should be readable as plain text, not just after rendering. These choices prioritize scanning structure in a text editor. That said, it's definitely an opinionated style—not for everyone!

[-] flying_sheep@lemmy.ml 3 points 2 weeks ago

I like the heading styles! The tildes are unusual but the reasoning is sound!

[-] FizzyOrange@programming.dev -1 points 2 weeks ago

code often contains backticks

I've never seen code contain three backticks though.

I guess your heading logic kind of makes sense but tbh I still hate it.

this post was submitted on 11 Jan 2026
21 points (92.0% liked)

Rust

7716 readers
47 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 2 years ago
MODERATORS