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

colored documentation syntax as comment #241

Open
aeschli opened this issue Feb 24, 2021 · 1 comment
Open

colored documentation syntax as comment #241

aeschli opened this issue Feb 24, 2021 · 1 comment

Comments

@aeschli
Copy link

aeschli commented Feb 24, 2021

Moved from microsoft/vscode#117388

Cloned this repo - https://github.com/JuliaLang/julia
Opened https://github.com/JuliaLang/julia/blob/3230aef393d23a75d6ad5793ca4ca2f8feb62f65/base/array.jl#L5
Looks like there is a documentation syntax with """ and I am wondering whether this should be coloured as comments

image

@pfitzseb
Copy link
Collaborator

pfitzseb commented Mar 1, 2021

Hm, not sure, tbh. I think both options make sense, although tokenizing these as strings would allow markdown highlighting (which we had in the past, but disabled because it tends to leak out of the string and mess up highlighting in the rest of the file).

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

No branches or pull requests

2 participants