DEV Community

Omer Rosenbaum
Omer Rosenbaum

Posted on

1

Why Markdown?

Here's the rationale behind our decision to base our docs' format on Markdown.

Why Markdown?

  • COMPATIBILITY! For example, if you're using Notion and Confluence to document your code, you can easily import to Swimm
  • GitHub and the IDEs know how to parse & render Markdowns
  • Markdown has become a standard and ultimately makes documentation easier

Why we moved?

  • We used to store content as .swm files in JSON format. So yes, it was easier for computers to read, but it wasn't readable as text and it didn't render in editors
  • .swm was not user friendly
  • we struggled to review changes
  • JSON's curly bracket format made editing harder than it needed to be

First things first, here is what sw.md looks like in:
Github
sw.md-github

VSCode
sw.md-vscode

Learn more about docs as code here.

Heroku

Simplify your DevOps and maximize your time.

Since 2007, Heroku has been the go-to platform for developers as it monitors uptime, performance, and infrastructure concerns, allowing you to focus on writing code.

Learn More

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay