-
Notifications
You must be signed in to change notification settings - Fork 189
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
replace py_str
with py_cmd
literal?
#793
Comments
Seems reasonable to me. (cmd macros didn’t exist when |
Also, |
Thanks for chiming in! I understand your concerns, that it is probably best to establish a standard first, before we make breaking changes. What would you suggest as a path forward for establishing a standard for nested highlighting like this? Is this something that should maybe be a Julep? I do think the |
I think, semantically it makes more sense to use custom command literals instead of string literals for code in other languages, since I think it is important to distinguish code from plain strings. The default shell is already a different language within Julia, so I think it is reasonable to extend this concept to interop with other languages. This could also then be used by editors to customize syntax highlighting for Python code inside Julia, as already proposed in JuliaEditorSupport/julia-emacs#132. The current string syntax could still be kept around, of course, and perhaps deprecated eventually. I would be curious to hear others' opinions on this.
The text was updated successfully, but these errors were encountered: