A lightweight and modern animated terminal window
Project Links
Meta
Author: Danil Akhtarov
Requires Python: >=3.9
Classifiers
Termynal
A lightweight and modern animated terminal window. Built for mkdocs and zensical.
Installation

Usage
Use <!-- termynal --> before code block
<!-- termynal -->
```
$ python script.py
```
Mkdocs integration
Declare the plugin:
...
plugins:
- termynal
...
Optionally, pass options to the processor:
[...]
plugins:
- termynal:
prompt_literal_start:
- "$"
- ">"
[...]
If you do not want to copy termynal.css and termynal.js as static files,
you can embed them directly in generated HTML:
[...]
plugins:
- termynal:
include_assets: true
[...]
This config allows you to use another prompt:
<!-- termynal -->
```
> pip install termynal
---> 100%
Installed
```
Zensical integration
zensical does not support arbitrary MkDocs plugins yet, but it supports Python Markdown extensions.
Use termynal as a markdown extension and enable inline assets:
[project.markdown_extensions.termynal]
include_assets = true
title = "bash"
buttons = "macos"
prompt_literal_start = ["$"]
You can override default assets with your own files:
[project.markdown_extensions.termynal]
include_assets = true
assets_override_css = "docs/stylesheets/termynal.css"
assets_override_js = "docs/javascripts/termynal.js"
For Zensical-style asset management, keep include_assets = false and register
assets explicitly:
[project]
extra_css = ["stylesheets/termynal.css"]
extra_javascript = ["javascripts/termynal.js"]
[project.markdown_extensions.termynal]
include_assets = false
Credits
Thanks ines
Contribution
0.14.0
Mar 16, 2026
0.13.1
Sep 01, 2025
0.13.0
Jan 14, 2025
0.12.3
Jan 13, 2025
0.12.2
Nov 09, 2024
0.12.1
Feb 18, 2024
0.12.0
Feb 16, 2024
0.11.1
Oct 01, 2023
0.11.0
Aug 21, 2023
0.10.2
Aug 20, 2023
0.10.1
Aug 16, 2023
0.10.0
Aug 02, 2023
0.9.0
Aug 01, 2023
0.8.0
Aug 01, 2023
0.7.0
Jul 31, 2023
0.7.0a1
Jul 31, 2023
0.7.0a0
Jul 31, 2023
0.6.0
Jul 30, 2023
0.5.0
Jul 22, 2023
0.4.0
Jul 06, 2023
0.3.1
Jun 21, 2023
0.3.0
May 09, 2023
0.2.1
Jan 13, 2023
0.2.0
Nov 17, 2020
0.1.0
Nov 14, 2020