mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-02 13:46:46 +00:00
chore(nc-gui): lint
This commit is contained in:
@@ -9,7 +9,7 @@ export const CodeBlock = Node.create<any, { markdown: MarkdownNodeSpec }>({
|
||||
return {
|
||||
markdown: {
|
||||
serialize(state, node) {
|
||||
state.write('```' + (node.attrs.language || '') + '\n')
|
||||
state.write(`\`\`\`${node.attrs.language || ''}\n`)
|
||||
state.text(node.textContent, false)
|
||||
state.ensureNewLine()
|
||||
state.write('```')
|
||||
|
||||
Reference in New Issue
Block a user