highlighter

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package highlighter provides a very basic solution for highlighting of BDD and gomate code. It makes use of regular expression, and prepend/append color escape codes for shell output in typical Unix-based environments.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Definition

func Definition(def string) string

Definition will syntax highlight step definitions by using colors for the shell.

func Feature

func Feature(def string) string

Feature will syntax highlight gherkin code by using colors for the shell.

Types

This section is empty.

Jump to

Keyboard shortcuts

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