Skip to content
SPECIFICTION
Get listed

mdBook vs Stoplight Elements

mdBook

rust-lang.github.io

Stoplight Elements

stoplight.io

Side by side

FiguremdBookStoplight Elements
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
Web—Yes
WindowsYes—
macOSYes—
LinuxYes—
Self-hosted—Yes
Plans published11
Spec score · Documentation Generators7.8 (#12)7.4 (#25)
Code samplesThe `mdbook test` command tests Rust code samples in a book.Elements provides code samples in languages including Curl, Python, Ruby, and Java.
SecurityThe repository links to a security policy.Stoplight says it uses industry-standard technologies and services to protect data and conducts employee background checks and recurring security training.

Plans

mdBook

  • mdBookFree

mdBook pricing →

Stoplight Elements

  • Stoplight ElementsFree

Stoplight Elements pricing →

In their own words

mdBook

mdBook is a free command-line tool for creating books from Markdown, including product and API documentation, tutorials, and course materials. It builds static output files in a book directory that can be transferred to a web service. Integrated search and syntax highlighting for code blocks help readers navigate and read examples, while theme files allow formatting changes. Preprocessors can add custom syntax or modify content; backends can render output to multiple formats. The `mdbook test` command tests Rust code samples in a book. Project documentation describes using GitHub Actions or GitLab CI/CD to test and deploy books automatically. Developers can also import mdBook libraries or use its plugin mechanism to build custom tooling and output backends. It runs on Linux, macOS, and Windows, and Markdown is its source input. Building from source requires Rust and Cargo, with Rust 1.88 as the stated minimum. The project directs issues and feature requests to its GitHub issue tracker and relies on community contributions for bug fixes and added features. The free, open-source plan is licensed under MPL-2.0.

Visit rust-lang.github.io

Stoplight Elements

Stoplight Elements is a free, open-source set of embeddable web components for building interactive API documentation from OpenAPI documents. It adds customizable left navigation and a three-column layout, while an embedded console lets readers try requests and inspect responses within the documentation. Elements supports OpenAPI, including version 3.1, and JSON Schema. It provides code samples in Curl, Python, Ruby, and Java, and its Stoplight-flavored Markdown supports tabs, callouts, and embedded JSON examples. The components require no build steps and can be used with any framework or HTML project. Documentation can be hosted anywhere, including S3 or GitHub. Elements can point to an OpenAPI document or a Stoplight Workspace and can work with any OpenAPI editor. The listed plan costs nothing and includes OpenAPI 3.1 support, an interactive API console, embedding into an existing CMS, and hosting anywhere. Compared with Elements DevPortal, the product page does not list multiple API listings, mocking, Markdown articles, branch version selection, or search. Stoplight identifies SmartBear as its parent company.

Visit stoplight.io