Closed rachelnabors closed 1 year ago
Seems as though this is all on or off by default, but I'm using hikes for both code and terminal blocks—terminals don't have line numbers, but code editors do. Is there a way to selectively only show these on some hikes and not on others?
Yes. See here
<CH.Code lineNumbers={true}> ```python one.py print("Hello, world!") print("Hello, world!") print("Hello, world!") ``` </CH.Code>
Perfect!
Seems as though this is all on or off by default, but I'm using hikes for both code and terminal blocks—terminals don't have line numbers, but code editors do. Is there a way to selectively only show these on some hikes and not on others?