clcalc icon indicating copy to clipboard operation
clcalc copied to clipboard

Allow for inline comments that are ignored by the calculator

Open meglio opened this issue 1 year ago • 3 comments
trafficstars

When creating an explanatory step-by-step calculation that I then want to share with someone, I would like to enter comments and have them greyed out and ignored.

meglio avatar Jan 26 '24 20:01 meglio

You can use # character to create a comment, here is an example.

Is this what you were looking for?

ovk avatar Jan 30 '24 00:01 ovk

Yes, exactly, thanks. It's worth adding to the quickstart guide - it is especially useful for sharing. Also, a different color highlight for comments would be useful.

Also, deleting blocks would be helpful.

meglio avatar Feb 05 '24 08:02 meglio

Good point about documentation. And thanks for suggestion for deleting blocks.

As for highlighting comments, there are few issues I want to fix with syntax highlighting in general, and those would cover comments as well.

ovk avatar Feb 06 '24 02:02 ovk