Closed pomber closed 1 year ago
@pomber Why not have a globally supported comment annotation?
For example
// focus
inputOne = int(input())
inputTwo = int(input())
does not work with python, instead I'm required to detect and change the comment character to #
. Supporting //
or maybe some custom character across all languages would make it easier to separate out the codehike notations from the actual code when not relying completely on the metastring syntax.
Released in v0.10.0-next.0
:rocket:
Thanks for using Code Hike! Become a sponsor and help us keep innovating.
We only support
//
syntax for comment annotations. Maybe we could use vscode-textmate directly to find any comment content for any supported lang.