#mdbook #mdbook-plugins #merjong #mdbook-merjong

bin+lib mdbook-merjong

A preprocessor for mdbook to add merjong support

2 releases

Uses new Rust 2024

0.1.1 Apr 13, 2025
0.1.0 Apr 12, 2025

#615 in Text processing

Download history 195/week @ 2025-04-09 39/week @ 2025-04-16 16/week @ 2025-05-07

67 downloads per month

MIT license

140KB
264 lines

mdbook-merjong

mdbook-merjong is an mdBook preprocessor that adds support for rendering Mahjong tiles from MPSZ notation using Merjong.

Example

Write a code block like this:

```merjong
19m19p19s1234567z-q
```

And it will be rendered as:

simple-merjong-img

Installation

Install mdbook-merjong with Cargo:

cargo install mdbook-merjong

Usage

Let the preprocessor configure your book:

mdbook-merjong install path/to/your/book

Dependencies

~15–27MB
~419K SLoC