Active Line

Overview

The ActiveLine component highlights the current line.

Usage

Register the ActiveLine component:

import { RyuseiCode, ActiveLine } from '@ryusei/code';
RyuseiCode.compose( { ActiveLine } );
JavaScript

or import the file:

<script src="path-to-the-file/active-line.min.js"></script>
HTML

Options

Setting false to activeLine disables the extension.

new RyuseiCode( { activeLine: false } );
JavaScript