You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.
I know it's a basic question but I can't figure out how to use the highlight plugin?
Where am I supposed to declare it and do I need to install something else?
Can you provide an example? Thank you!
The text was updated successfully, but these errors were encountered:
@musixite probably way too late for this but I just came up against this same problem. Following the text in the readme, importing only a highlight js css file makes it work for me.
yarn add hightlight.js
// somewhere in javascript (I added to my app initialization file):
import 'highlight.js/styles/github-dark-dimmed.css'
then in my component file, I am simply using the Markdown component and highlighter is styled:
I know it's a basic question but I can't figure out how to use the highlight plugin?
Where am I supposed to declare it and do I need to install something else?
Can you provide an example? Thank you!
The text was updated successfully, but these errors were encountered: