Wrap long code lines in Logseq inside the Src ``` code ``` block

Currently a long src block has to be scrolled:


This feature request would make it multiline representation, that fits to the screen, something like this:

Solution to change logseq custom css file (under Settings>General>Edit custom.css ) or under the folder logseq->custom.css

/* Wrap the content inside code blocks in all themes */
pre, code {
  white-space : pre-wrap !important;
}
1 Like