-
Notifications
You must be signed in to change notification settings - Fork 9
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
pure julia mode markdown comment highlighting #1
Comments
I'm not sure how it could be done. Let me know if you know of an Atom-package that does something similar and I can look into the code. |
Could it be similar to how Markdown uses code fences to change the highlighting grammar? You would do some kind of match on the starts with I say this just because I like to have my scripts be valid julia so I don't need to weave at computers without latex/pandoc ... but maybe this is beyond the scope of this package. A similar issue is: which argues for looking at how html code highlights css and javascript. Though I really have not idea how atom does its highlighting! Thanks for even considering it! |
Sorry for the delay in my reply. The problem is that if you change grammar of comment lines to markdown they all get highlighted as markdown headers (they start with #). Anyway I will keep this in mind if I find some free time. |
That makes sense. I have moved to using |
I'd like to revive this issue -- right now, I am writing the package of a manual using the |
It is currently not rendered as markdown, it would be great if you can contribute a PR. You just need to implement a new reader for the format and come up with a syntax for chunk options |
Is it feasible to add support for the pure Julia form so that the markdown is highlighted nicely using the
#'
syntax in a.jl
file?The text was updated successfully, but these errors were encountered: