Crate ziyy

Crate ziyy 

Source
Expand description

§Ziyy - Simple terminal styling.

Ziyy is a markup language that allows you to style your terminal using HTML-like syntax.

For information on using Ziyy, see the Ziyy website.

§Usage

§Command line

ziyy -c "<b>Lorem
    <d> dolor sit
        <b>amet consectetur
            <d>adipiscing elit</d>
            quisque
        </b>faucibus ex sapien."

§As a Library

use ziyy::style;

let styled = style("<b>Lorem
    <d> dolor sit
        <b>amet consectetur
            <d>adipiscing elit</d>
            quisque
        </b>faucibus ex sapien.");

Structs§

Error
Represents an error with additional context such as its type, message, and location.

Enums§

ErrorType
Represents the various types of errors that can occur.

Functions§

style
Styles the given text using ziyy.
try_style
Styles the given text using ziyy.

Type Aliases§

Result
A type alias for results that return an Error on failure.