tack 0.1.0-alpha

A minimal syntax highlighter that outputs HTML
Documentation

tack

A minimal syntax highlighter that outputs HTML.

Note: this library is still alpha and subject to breaking API changes.

Example:

body {
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

Output:

<span class="tag">body</span> {
        <span class="property">display</span>: <span class="string">flex</span>;
        <span class="property">min-height</span>: <span class="numeric">100%</span>;
}

Supported languages:

  • CSS