mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
indent data notes
This commit is contained in:
parent
d025cfee1b
commit
79e7762c72
@ -204,7 +204,7 @@ function BackendScriptApi(currentNote, apiParams) {
|
||||
this.createDataNote = async (parentNoteId, title, content = {}) => await noteService.createNewNote({
|
||||
parentNoteId,
|
||||
title,
|
||||
content: JSON.stringify(content),
|
||||
content: JSON.stringify(content, null, '\t'),
|
||||
type: 'code',
|
||||
mime: 'application/json'
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user