Remove line numbers in code blocks

Is there a way to remove the line numbers from code blocks?

2023-04-15_16-44-03

1 Like

yes. From Settings → edit config.edn

CTRL + F “codemirror”

 ;; Extra CodeMirror options
 :editor/extra-codemirror-options
 {:lineWrapping true
  :lineNumbers  true
  :theme "solarized"}
2 Likes

Works great!
What other themes are available?

;; Extra CodeMirror options
:editor/extra-codemirror-options
{:lineWrapping true
:lineNumbers false
:theme “solarized”}

Found the link for the themes.
Perhaps it can help other users.

https://codemirror.net/5/theme/

1 Like

Final snippet to remove line numbers from code blocks

 ;; Extra CodeMirror options
  :editor/extra-codemirror-options
  {:lineNumbers false}
1 Like