Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Commit 3c83112

Browse files
authored
Merge pull request #1250 from TriliumNext/feat_typescript-codenote
feat(options_init): add typescript as default set codeNotesMimeTypes value
2 parents 4e876ed + 9da1f55 commit 3c83112

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/services/options_init.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ const defaultOptions: DefaultOption[] = [
9898
{ name: "codeLineWrapEnabled", value: "true", isSynced: false },
9999
{
100100
name: "codeNotesMimeTypes",
101-
value: '["text/x-csrc","text/x-c++src","text/x-csharp","text/css","text/x-go","text/x-groovy","text/x-haskell","text/html","message/http","text/x-java","application/javascript;env=frontend","application/javascript;env=backend","application/json","text/x-kotlin","text/x-markdown","text/x-perl","text/x-php","text/x-python","text/x-ruby",null,"text/x-sql","text/x-sqlite;schema=trilium","text/x-swift","text/xml","text/x-yaml","text/x-sh"]',
101+
value: '["text/x-csrc","text/x-c++src","text/x-csharp","text/css","text/x-go","text/x-groovy","text/x-haskell","text/html","message/http","text/x-java","application/javascript;env=frontend","application/javascript;env=backend","application/json","text/x-kotlin","text/x-markdown","text/x-perl","text/x-php","text/x-python","text/x-ruby",null,"text/x-sql","text/x-sqlite;schema=trilium","text/x-swift","text/xml","text/x-yaml","text/x-sh","application/typescript"]',
102102
isSynced: true
103103
},
104104
{ name: "leftPaneWidth", value: "25", isSynced: false },

0 commit comments

Comments
 (0)