Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add asciinema output #10

Open
zimbatm opened this issue Mar 1, 2019 · 1 comment
Open

add asciinema output #10

zimbatm opened this issue Mar 1, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@zimbatm
Copy link
Owner

zimbatm commented Mar 1, 2019

for long-running processes, it might be nice to record the output, and have a "player" to replay it, instead of having it inline in the document.

something like asciinema

@zimbatm zimbatm added the enhancement New feature or request label Mar 1, 2019
@phaer
Copy link

phaer commented May 10, 2023

Just in case you don't know it already, there's https://github.com/Byron/termbook/ which supports the creation of asciinema recordings from markdown code blocks.
It's a plugin for https://rust-lang.github.io/mdBook/ and uses cmark-pulldown as a parser and https://github.com/Byron/pulldown-cmark-to-cmark/tree/main to serialize the AST back into markdown.

I've stumbled upon it while playing around with related ideas in https://github.com/phaer/mdbook-nix/ .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants