Skip to main content

No project description provided

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

termynal-0.7.0a0.tar.gz (9.0 kB view hashes)

Uploaded Source

Built Distribution

termynal-0.7.0a0-py3-none-any.whl (9.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page