Open tusharsadhwani opened 2 years ago
There seems to be an alternative way to highlight lines, using the selectedLines
query param:
https://github.com/carbon-app/carbon/pull/878
It looks like this:
Even if query params don't work, it should be possible to just click on the line numbers themselves to highlight them manually.
As you mentioned it is not supported in query params. Try this. I'he noted in docs.
I think passing this query param should support in carbon. But yes, hypothetically it can be done manually. Feel free to add pr with this feature.
There is the sl
query param (eg. https://carbon.now.sh/?sl=3 or https://carbon.now.sh/?sl=3,5)
@Pitasi neat, thanks!
You can select text before exporting on carbon, like so: Could this be done via the API?