-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Using marked higlight
option from CLI?
#110
Comments
There's no |
@chjj Unless there's a different answer than "you need to write some code", this should just be closed. |
I was thinking about what if you could provide options in a javascript file, that way you could write some code but still use the cli. You could do something like: options.jsvar highlight = require("highlight.js");
module.exports = {
highlight: function(){
return ...
}
}; cli
|
Is it possible to generate highlighted fenced code blocks using the
--gfm
option and have it parse syntax highlighting?I noticed
man marked
mentioning nothing about--highlight
option. I did installhighlight.js
usingnpm
so maybe it is possible somehow?The text was updated successfully, but these errors were encountered: