Overview
The ActiveLine component highlights the current line.
Usage
Register the ActiveLine component:
import { RyuseiCode, ActiveLine } from '@ryusei/code'; RyuseiCode.compose( { ActiveLine } );
or import the file:
<script src="path-to-the-file/active-line.min.js"></script>
Options
Setting false
to activeLine
disables the extension.
new RyuseiCode( { activeLine: false } );