mdbook-repl

Crates.iomdbook-repl
lib.rsmdbook-repl
version0.2.6
sourcesrc
created_at2024-02-18 11:46:53.360553
updated_at2024-09-24 02:34:49.353047
descriptionA rust based mdbook preprocessor that allows you to execute code in your mdbook without any server. Python, Typescript, Javascript etc.
homepage
repositoryhttps://github.com/MR-Addict/mdbook-repl
max_upload_size
id1144012
size67,047
Cael (MR-Addict)

documentation

https://mr-addict.github.io/mdbook-repl

README

Mdbook REPL

This is a mdbook real time playground for some programming languages which you can directly execute them in the browser without any server. It's fast and easy to use.

This is mostly inspired by mdbook rust playground, but it's only limited to rust and it's using https://play.rust-lang.org as its backend compiler server. So I want to make a playground for other languages based on webassembly.

Below is an example of a python code block that can be executed directly in the browser:

# Python codeblock

print("Hello, world!")

All the code is editable and runnable. You can change the code and run it again. The execution is really fast.

Attention 💥

This playground is still in development and not many languages are supported yet. If you have any ideas or suggestions, please let me know.

Commit count: 49

cargo fmt