Could I keep the empty line at the end on code block?

{
  "title": "Hello"
}

image

If this is Markdown code fences, I think the answer is … no. For some historic reason I don’t remember, we trim trailing newlines before we pass it on to the highlighter. You could maybe trick it by inserting some invisible whitespace after the newline?

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.