-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove console warnings of deprecated dependencies #79
Labels
enhancement
New feature or request
Comments
I tried switching to fuBlog/common/src/markdown-converter-common.ts Lines 119 to 121 in 1c23e7b
import { markedHighlight } from "marked-highlight";
…
marked.use(
markedHighlight({
highlight: function (code, lang) {
return highlightjs.highlightAuto(code).value;
},
}),
); after this line
But I always get this error:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
highlight is deprecated:
marked(): highlight and langPrefix parameters are deprecated since version 5.0.0, should not be used and will be removed in the future. Instead use https://www.npmjs.com/package/marked-highlight.
The text was updated successfully, but these errors were encountered: