---
title: mdless 2.0
date: 2023-11-23 09:19
slug: mdless-2-dot-0
categories:
- Code
tags:
- markdown
- mdless
- ruby
---

[mdless]: https://brettterpstra.com/projects/mdless/ "mdless"

![Banner image](https://brettterpstra.com/uploads/2023/11/mdless-header-rb.jpg)

I've updated `mdless` to 2.0. Well, 2.0.5 at this point. It's a complete overhaul of [the command line Markdown parser/viewer][mdless].

It's been a pretty popular project, and is being used on all kinds of OSs, but it got frustrating as the whole thing was based on regular expressions for parsing and users expected it to handle some more complex markup than it could. So for the reboot, I switched to using [RedCarpet](https://github.com/vmg/redcarpet) for parsing, then added my own terminal handling to that via a custom renderer and pre/post processing.

Table cleanup is better than ever. Footnotes can still be displayed directly after the paragraph that references them, or at the end of the display. Code highlighting (with [Pygments](https://pygments.org/ "Welcome!—Pygments")) is more accurate than ever. Ordered lists are properly numbered, regardless of the numbering in the Markdown. There are a few differences in the way things like code blocks nested in lists are displayed (they're no longer indented), but overall it's a big step up. 

If you're into Markdown and spend time in the Terminal, let `mdless` display those README files for you, rather than opening up a [dedicated viewer](https://marked2app.com) or editor with a preview. See [the project page][mdless] for more details and installation instructions.

**Update:** Just pushed a new version that allows for links to be output in reference format (`--links ref`) or as per-paragraph references (`--links para`). Inline links is the default (`--links inline`). This setting can be made permanent by editing `~/.config/mdless/config.yml`.

## mdless

Project: [mdless](https://brettterpstra.com/projects/mdless.md)

- [Apex as Terminal Markdown Renderer](https://brettterpstra.com/2026/02/18/apex-as-terminal-markdown-renderer.md): 2026-02-18
- [Strikethrough and emojis for mdless](https://brettterpstra.com/2025/01/13/strikethrough-and-emojis-for-mdless.md): 2025-01-13
- [mdless with document transclusion](https://brettterpstra.com/2023/12/06/mdless-with-document-transclusion.md): 2023-12-06
- [mdless gets all the colors](https://brettterpstra.com/2023/11/30/mdless-gets-all-the-colors.md): 2023-11-30
- [mdless updates for Thanksgiving weekend](https://brettterpstra.com/2023/11/26/mdless-updates-for-thanksgiving-weekend.md): 2023-11-26
- [mdless 2.0](https://brettterpstra.com/2023/11/23/mdless-2-dot-0.md): 2023-11-23
- [Getting started with Howzit](https://brettterpstra.com/2022/08/09/getting-started-with-howzit.md): 2022-08-09
- [Project Updates July 2022](https://brettterpstra.com/2022/07/31/project-updates-july-2022.md): 2022-07-31
- [mdless one dot oh my](https://brettterpstra.com/2019/09/13/mdless-1-dot-0.md): 2019-09-13
- [mdless: Better Markdown in Terminal](https://brettterpstra.com/2015/08/21/mdless-better-markdown-in-terminal.md): 2015-08-21

---

Brett is a writer and developer living in Minnesota, USA. You can follow him as ttscoff. This content is supported by readers like you. [More about Brett](https://brettterpstra.com/contact.md), including social links.

Copyright © 2026 Brett Terpstra. All rights reserved.
