gitbook-plugin-terminull-light

1.0.7 • Public • Published

Terminull

Terminull is a gitbook plugin allows you to create a modern terminal for your gitbook pages in order to documente your commands and it gives you a fast way to copy the command .



npm version

How to use it?

To use Terminull plugin in your Gitbook project, add the terminull plugin to the book.json file of your project, then install plugins using gitbook install.

{
    "plugins": ["terminull"]
}

Create you terminal

To create a terminal you can use one of this options:

  • Code markdown with term as language :
```term
gitbook-plugin-terminull$ echo 'hello terminull' # This will print hello terminull
hello terminull
```

e.g :

```term
echo 'hello terminull' 
```
  • Gitbook term tag

Each terminal should have a directory where command is excuted, command and output of the command.

{% term %}
{% directory %}
~/gitbook-plugin-terminull
{% command %}
echo "Hello terminull"
{% comment %}
This will print 'Hello terminull' in the screen
{% output %}
Hello terminull
{% endterm %}

You like my work ❗️

In case you were wondering how you can thanks me for my work, coffee ☕️ is the way to my heart.

Buy Me A Coffee

Contributing

Bug reports and pull requests are welcome.

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request 😄

Package Sidebar

Install

npm i gitbook-plugin-terminull-light

Weekly Downloads

0

Version

1.0.7

License

ISC

Unpacked Size

8.39 kB

Total Files

7

Last publish

Collaborators

  • jr0cket