Closed cibolog closed 2 years ago
Not yet!
Now you can render line numbers passing lineNumbers: true
on the plugin options:
const { remarkCodeHike } = require("@code-hike/mdx");
const theme = require("shiki/themes/material-ocean.json");
//...
remarkPlugins: [[remarkCodeHike, { theme, lineNumbers: true }]],
//...
:rocket: Issue was released in v0.3.0-next.20
:rocket:
(you had one job @githubactionsbot)
Cannot find it on the website or in the provided resources - does codehike has an option to show line numbers to the left of the code snippet?