mdbook-pikchr

Crates.iomdbook-pikchr
lib.rsmdbook-pikchr
version0.1.9
sourcesrc
created_at2022-10-13 15:35:09.487622
updated_at2024-11-06 21:24:09.155398
descriptionA mdbook preprocessor to render pikchr code blocks as images in your book
homepage
repositoryhttps://github.com/podsvirov/mdbook-pikchr/
max_upload_size
id687256
size358,494
Konstantin Podsvirov (podsvirov)

documentation

https://podsvirov.github.io/mdbook-pikchr/

README

mdBook Pikchr

A mdBook preprocessor to render Pikchr code blocks as images in your book.

Taken from the Pikchr homepage:

Pikchr (pronounced like "picture") is a PIC-like markup language for diagrams in technical documentation. Pikchr is designed to be embedded in fenced code blocks of Markdown (or in similar mechanisms in other markup languages) to provide a convenient means of showing diagrams.

This crate use builtin copy of the pikchr.c file downloaded from that website.

How it's work

Installation

Install it via cargo:

$ cargo install mdbook-pikchr

Configuration

Just type next line in your book.toml file:

[preprocessor.pikchr]

Source code

Source code available on GitHub.

Commit count: 36

cargo fmt