-
Notifications
You must be signed in to change notification settings - Fork 10
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
Syntax highlighted code source #87
Comments
Very cool! It can't go in this package, though, because this needs to stay extremely lightweight. It's the foundation for JuliaInterpreter, which is then a foundation for both the debuggers and for Revise. But an add-on package would make sense, or perhaps contributing that under a |
Closing this simply because of the need to keep this package very lightweight, otherwise it's quite cool. |
With weak deps I feel better about turning this into a PR based on weakdeps. Let's see if I can get around to that 🙂 |
Update: now that JuliaSyntaxHighlighting is about to be part of 1.11 (and I plan on making a compat release to General), it seems like the obvious lightweight way to do this. As a weakdep, it will automatically be loaded in the REPL in 1.11+ ( |
Hey, this seemed nifty so I made a variant macro
@code_src
that prints a syntax-highlighted@code_string
using OhMyREPL.I have no idea if optional dependencies are easy, or if this of interest, but just in case here's what I have:
The text was updated successfully, but these errors were encountered: