-
-
Notifications
You must be signed in to change notification settings - Fork 64
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
Change #'
to simply #
and require ##
for julia comments
#3
Comments
Sounds like a good plan! |
Agree that |
I also think it'd be better! Writing markdown spanning multiple lines is probably much more common in these kind of files and it's good to be able to use the editor shortcut for that. |
The user-written Stata command
I prefer a similar solution where I would not have to type a character such as # to get Markdown in Julia. Perhaps like the Stata approach above but with Caveat (in case it is not obvious): I do not know Julia at all, just starting to learn as prep for Julia 1.0. |
How about including the multi-line comment field, too? It'd be even easier to include/format markdown there. #=
# heading
Some *text*...
=# Another option is to include something in the leading indicator like |
I am not a big fan of multiline comments personally, It breaks syntax highlighting in some editors, complicates the quite minimal current syntax, and makes parsing of the source file more complicated. I think going with #4 is good enough, which should make it much simpler to comment-toggle the markdown lines, if you prefer to edit them without the leading |
Multiline comments provided limited literacy before it was fashionable. I still use them when, six months hence, l need to remember a subtle something. Either way, I am appreciative of the work. Maybe now, I can provide the sort of microtutorial others will utilize. Thank you. |
Related to @aalexandersson's point above, and just for reference (I'm not convinced this would be preferable to |
As discussed in https://discourse.julialang.org/t/ann-literate-jl/10651/9, using
#'
could be annoying, and julia comments are probably not as frequent as markdown input.The text was updated successfully, but these errors were encountered: