-
Notifications
You must be signed in to change notification settings - Fork 473
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
Pug (ex-Jade) is not highlighted #135
Comments
Hi @BroFox86 , thanks for reporting:) It looks like the suffix |
It turns out that @BroFox86 , if you feel this support is necessary, highlight.js might be a better place for a feature request. |
We (the team @forwardemail) are maintaining a fork of a package and can accept PR's at https://github.com/forwardemail/highlight-pug. See discussion at ztmd/highlight-pug#1. Usage:
const highlightPug = require('@forwardemail/highlight-pug');
// <https://github.com/ztmd/highlight-pug/issues/1>
hljs.registerLanguage('pug', highlightPug); |
Example usage with highlighting in-action is at http://forwardemail.net/en/blog/docs/send-emails-with-node-js-javascript#:~:text=And%20the%20contents%20of%20the |
Pug (ex-Jade) is not highlighted on preview page
The text was updated successfully, but these errors were encountered: