markup

package
v0.0.0-...-54df73f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 30, 2021 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package markup provides functions to handle Distance chat markup format.

Index

Constants

This section is empty.

Variables

View Source
var ColorModifier = hex

ColorModifier is a dynamic function to modify text colors.

Functions

func Darken

func Darken(saturateDelta, valueDelta float64) func(string) string

Darken sets into ColorModifier to darken the color by the given alpha.

func ToHTML

func ToHTML(markup string) string

ToHTML converts the given Distance markup string to HTML.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL