slimdown
Nim module that converts Markdown text to HTML using only regular expressions. Based on jbroadway's Slimdown.
Summary
| Latest Version | Unknown |
|---|---|
| License | MIT |
| CI Status | Failing |
| Downloads | 0 |
| Last Indexed | 2026-07-21 05:24 |
Tags
Installation
nimble install slimdown
choosenim install slimdown
git clone https://github.com/ruivieira/nim-slimdown
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| slimdown | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Source
| Repository | https://github.com/ruivieira/nim-slimdown |
|---|---|
| Homepage | https://github.com/ruivieira/nim-slimdown |
| Registry Source | nimble_official |
README
nim-slimdown
About
A simple pattern-based markdown parser based on Johnny Broadway's (johnny@johnnybroadway.com) PHP Slimdown.
Building
Clone and run:
nimble build
nimble install
Usage
import slimdown
let markdown = """
# Examples
##Bold
This is a markdown *example*
"""
let html = slimdown.md(markdown)
# <h1>Examples</h1>
#
# <h2>Bold</h2>
#
# This is a markdown <em>example</em>