loading...
Cover image for Do you use gitbook, try this awnsome plugin I wrote

Do you use gitbook, try this awnsome plugin I wrote

ridaehamdani profile image Ridae HAMDANI ・1 min read

It was a time, I was looking for a Gitbook plugin to documente my commands by showing a nice terminal in my page . However I haven't found any existing plugins that satisfy my needs so, as a developer, I decided to write my own plugin and share it with the community.

Say hello to Terminull:

Gitbook plugin terminull

Terminull is a Gitbook plugin allows you to create a modern terminal for your Gitbook pages in order to documente your commands.

Features:

  • Specify the context directory
  • Add comment to the command
  • Copy command by clicking on a button
  • Show command output

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"]
}

Now you are ready to write your hello world terminal.
To create a terminal you can use Code markdown with term as language.
e.g :



```term
gitbook-plugin-terminull$ echo 'hello terminull' # This will print hello terminull
hello terminull
```


As a result you will see this beautiful terminal in your page.
Gitbook plugin terminull

You like my work ❗

If you like this plugin you are welcome to made a pull requests to add more feature

https://github.com/ridaeh/gitbook-plugin-terminull

Posted on Jun 20 by:

Discussion

markdown guide