Hi @marijn;
I want to show \n
as new line. But it isn’t possible. How can I do this.
Exp:
"content": "# Queries to be run sequentially\n[\n # let's create an example database\n \"\"\"\n SELECT 1\n \"\"\"\n]"
Hi @marijn;
I want to show \n
as new line. But it isn’t possible. How can I do this.
Exp:
"content": "# Queries to be run sequentially\n[\n # let's create an example database\n \"\"\"\n SELECT 1\n \"\"\"\n]"
You could write a custom extension to do that, replacing \n
with a widget holding a <br>
or something, but the editor by default just displays the actual text in the document.
hi,
question: I am looking for a solution to differentiate between object keys and their actual values, like you have it in your screenshot. Is the above a codemirror view? Would you mind sharing that?
best,
stan
Sorry for late reply. Do you mean syntax highlight or?
I just use JSON lang.