An open API service indexing awesome lists of open source software.

https://github.com/mhuebert/bylight

Highlight code using special links in nearby text
https://github.com/mhuebert/bylight

documentation

Last synced: 3 months ago
JSON representation

Highlight code using special links in nearby text

Awesome Lists containing this project

README

          

# Bylight

[![npm version](https://img.shields.io/npm/v/bylight.svg)](https://www.npmjs.com/package/bylight)
[![Test Status](https://github.com/mhuebert/bylight/workflows/Run%20Tests/badge.svg)](https://github.com/mhuebert/bylight/actions)

Bylight allows you to highlight code using special links in nearby text, making technical concepts more tangible when explaining code. See the [documentation and examples](https://mhuebert.github.io/bylight/).

![Example of Bylight in action](example.png)

## Features

- Highlight code snippets using special `bylight:` links
- Support for multiple highlighting patterns
- Regex pattern matching
- Directional highlighting (target specific code blocks)
- Customizable color scheme
- Easy integration with various JavaScript environments