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

Format line when comment html tag is used #221

Open
hildebrandopsj opened this issue Oct 19, 2023 · 3 comments
Open

Format line when comment html tag is used #221

hildebrandopsj opened this issue Oct 19, 2023 · 3 comments

Comments

@hildebrandopsj
Copy link
Sponsor Collaborator

Hi Ned,

It's possible to format the line, similar to titles when we use ", but for ? I think this can be very useful when worksheet is too long.

Best regards

@Proektsoftbg
Copy link
Owner

Hi! I am sorry, but I am afraid I cannot understand. What and how to format?

@hildebrandopsj
Copy link
Sponsor Collaborator Author

Hi, my bad, i forgot to use the code in markdown to display the tag.

In the code editor, when we use " to write titles, the background color turns green and the font are bold.

image

What about if the html tag: <!-- Comment --> have some type of change in the code window? I think this can be very useful when worksheet is too long.

@Proektsoftbg
Copy link
Owner

Proektsoftbg commented Oct 20, 2023

Aha! Thank you! Now I see.

Yes, I think it will look good. Probably, just some light gray neutral background. It will be a bit more difficult because the comment can span several lines. Currently, the highlighter process the code line by line. In this case, we will have to make it search through all lines down until we find the closing tag. :)

It would be much easier if we highlight only the starting and closing part without the interior. At least in the beginning.

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