kazzkiq / CodeFlask

A micro code-editor for awesome web pages.
https://kazzkiq.github.io/CodeFlask/
MIT License
1.07k stars 120 forks source link

Add Feature : updateLineNumbers(bool) #132

Open calumk opened 2 years ago

calumk commented 2 years ago

Hello Great project,

Any chance you could add the following feature, to be able to toggle the state of the lineNumbers, rather than only on load

eg:

updateLineNumbers(true) // Show line numbers
updateLineNumbers(false) // hide line numbers

or as helpers:

showLineNumbers()
hideLineNumbers()

Cheers