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

bin+lib mdbook-merjong

A preprocessor for mdbook to add merjong support

2 releases

Uses new Rust 2024

new 0.1.1 Apr 13, 2025
0.1.0 Apr 12, 2025

#645 in Text processing

46 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
~421K SLoC