1.0.3 • Published 1 year ago

docsify-terminal-block v1.0.3

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

docsify-terminal-block 🖥️

npm.io

A docsify plugin to add pretty terminal blocks to your docs. It has Copy to Clipboard functionality too.

Screenshots

Example

Installation

Add the docsify-terminal-block plugin to your index.html after docsify. The plugin is available on jsdelivr (below), unpkg, and other CDN services that auto-publish npm packages.

<script src="https://cdn.jsdelivr.net/npm/docsify-terminal-block@1.0.2"></script>

Usage

Add the terminal tag to your markdown file to create a terminal block.

    ```terminal
    npm run start
    ```

You can add prefixes to the terminal block to change the style of the line. For example adding $ or >:

    ```terminal
    $|npm run start
    >|npm run start
    ```

You can make the line a warning, info, error, or success by adding warning, info, error, or success after the prefix:

    ```terminal
    $|warning|npm run build
    >|info|npm run start
    >|error|npm run start
    >|success|npm run start
    ```

Example

    ```terminal
    npm run start
    $|npm run start
    $|warning|npm run build
    >|info|npm run start
     |...
    >|error|npm run start
    >|success|npm run start

    warning|npm run build
    ```

Made with ❤️

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago