Closed adam-moss closed 1 year ago
Hey @adam-moss thanks for raising this. Could you clarify the ask?
To provide an interactive representation of the REPL on the terminal, repo rather than just static content, if js is enabled.
Actually there is a relatively new mkdocs plugin that can do this https://github.com/daxartio/termynal
Cool in that case I'll close the ticket. Feel free to raise an idea https://github.com/ministryofjustice/mkdocs-tech-docs-template/discussions/categories/ideas as a suggestion for mkdocs plugins that can be helpful :-)
I've reponed the issue and converted to discussion :-)
tech-docs quite often have code snippets embedded. It can be useful to render this as an animated terminal.
termynal is a nice lightweight component that can provide this whilst failing gracefully for anyone with javascript disabled.
An example of it embedded within material-for-mkdocs is viewable throughout the typer-cli docs.