Skip to content

Guts/termynal

 
 

Repository files navigation

Termynal

GitHub Workflow Status PyPI PyPI - Python Version Docs GitHub PyPI - Downloads GitHub last commit

A lightweight and modern animated terminal window. Built for mkdocs.

Installation

$ pip install termynal
---> 100%
Installed

Example

Usage

Use <!-- termynal --> before code block

<!-- termynal -->

```
// code
```

or console in code block

```console
// code
```

progress, prompt ---> 100%

```console
$ show progress
---> 100%
Done!
```

command, start with $

```console
$ command
```

comment, start with #

```console
# comment
```

Mkdocs integration

Declare the plugin:

...
plugins:
  - termynal
...

Optionally, pass options to the processor:

[...]
markdown_extensions:
  - termynal:
      prompt_literal_start:
        - "$ "
        - "&gt; "
[...]

This config allows you to use another prompt:

<!-- termynal -->

```
> pip install termynal
---> 100%
Installed
```

Credits

Thanks ines

Contribution

Contribution guidelines for this project

About

Python markdown terminal. Built for mkdocs

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 43.0%
  • Python 39.1%
  • CSS 10.1%
  • Makefile 7.8%