Skip to content
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

Consider generation-time code highlighting (and diagrams) #348

Closed
daveaglick opened this issue Oct 27, 2016 · 1 comment
Closed

Consider generation-time code highlighting (and diagrams) #348

daveaglick opened this issue Oct 27, 2016 · 1 comment

Comments

@daveaglick
Copy link
Member

There's really no reason this needs to be done on the client other than it's easy to set up. A module that does code highlighting in a HTML file would be a nice alternative. Note that highlight.js can work via Node (https://highlightjs.org/download/) and that I recall seeing a .NET JavaScript/Node interpreter somewhere.

May also want to consider a similar approach for Mermaid diagrams.

@daveaglick
Copy link
Member Author

This was done a long time ago in the HighlightCode module using the now built-in JavaScript engine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant