vnote/src/data/core/vnotex.json

389 lines
16 KiB
JSON

{
"//comment" : "This is the default configuration file of VNoteX. User should modify the one in user configuration folder instead of this.",
"metadata" : {
"//comment": "When releasing new version, please go through the following configs to check if override is needed.",
"//Comment": "markdown_editor#override_viewer_resource",
"version" : "3.8.1"
},
"core" : {
"theme" : "pure",
"locale" : "",
"shortcuts" : {
"FullScreen" : "F11",
"StayOnTop" : "F10",
"ExpandContentArea" : "Ctrl+G, E",
"Settings" : "Ctrl+Alt+P",
"NewNote" : "Ctrl+Alt+N",
"CloseTab" : "Ctrl+G, X",
"CloseOtherTabs" : "",
"CloseTabsToTheRight" : "",
"NavigationDock" : "Ctrl+G, A",
"OutlineDock" : "Ctrl+G, U",
"SearchDock" : "",
"SnippetDock" : "Ctrl+G, S",
"LocationListDock" : "Ctrl+G, C",
"HistoryDock" : "",
"TagDock" : "",
"Search" : "Ctrl+Alt+F",
"NavigationMode" : "Ctrl+G, W",
"LocateNode" : "Ctrl+G, D",
"VerticalSplit" : "Ctrl+G, \\",
"HorizontalSplit" : "Ctrl+G, -",
"MaximizeSplit" : "Ctrl+G, Shift+\\",
"DistributeSplits" : "Ctrl+G, =",
"RemoveSplitAndWorkspace" : "Ctrl+G, R",
"NewWorkspace" : "",
"Export" : "Ctrl+G, T",
"Quit" : "Ctrl+Q",
"FlashPage" : "Ctrl+Alt+L",
"QuickAccess" : "Ctrl+Alt+I",
"ActivateTab1" : "Ctrl+G, 1",
"ActivateTab2" : "Ctrl+G, 2",
"ActivateTab3" : "Ctrl+G, 3",
"ActivateTab4" : "Ctrl+G, 4",
"ActivateTab5" : "Ctrl+G, 5",
"ActivateTab6" : "Ctrl+G, 6",
"ActivateTab7" : "Ctrl+G, 7",
"ActivateTab8" : "Ctrl+G, 8",
"ActivateTab9" : "Ctrl+G, 9",
"AlternateTab" : "Ctrl+G, 0",
"ActivateNextTab" : "Ctrl+G, N",
"ActivatePreviousTab" : "Ctrl+G, P",
"FocusContentArea" : "Ctrl+G, Y",
"OpenWithDefaultProgram" : "F9",
"OneSplitLeft" : "Ctrl+G, H",
"OneSplitDown" : "Ctrl+G, J",
"OneSplitUp" : "Ctrl+G, K",
"OneSplitRight" : "Ctrl+G, L",
"MoveOneSplitLeft" : "Ctrl+G, Shift+H",
"MoveOneSplitDown" : "Ctrl+G, Shift+J",
"MoveOneSplitUp" : "Ctrl+G, Shift+K",
"MoveOneSplitRight" : "Ctrl+G, Shift+L",
"OpenLastClosedFile" : "Ctrl+Shift+T"
},
"toolbar_icon_size" : 16,
"docks_tabbar_icon_size" : 20,
"note_management" : {
"external_node" : {
"//comment" : "Wildcard patterns of files and folders to exclude as external files",
"exclude_patterns" : [
".gitignore",
".git"
]
}
},
"recover_last_session_on_start" : true,
"check_for_updates_on_start" : true,
"//comment" : "Max count of the history items for each notebook and session config",
"history_max_count" : 100,
"per_notebook_history" : true
},
"editor" : {
"core": {
"toolbar_icon_size" : 16,
"//comment" : "none/autosave/backupfile",
"auto_save_policy" : "autosave",
"backup_file_extension" : "vswp",
"//comment" : "Where to put the backup file, related to the content file",
"backup_file_directory" : ".",
"shortcuts" : {
"Save" : "Ctrl+S",
"EditRead" : "Ctrl+T",
"Discard" : "Ctrl+G, Q",
"TypeHeading1" : "Ctrl+1",
"TypeHeading2" : "Ctrl+2",
"TypeHeading3" : "Ctrl+3",
"TypeHeading4" : "Ctrl+4",
"TypeHeading5" : "Ctrl+5",
"TypeHeading6" : "Ctrl+6",
"TypeHeadingNone" : "Ctrl+7",
"TypeBold" : "Ctrl+B",
"TypeItalic" : "Ctrl+I",
"TypeStrikethrough" : "",
"TypeUnorderedList" : "Ctrl+8",
"TypeOrderedList" : "Ctrl+9",
"TypeTodoList" : "",
"TypeCheckedTodoList" : "",
"TypeCode" : "Ctrl+;",
"TypeCodeBlock" : "Ctrl+'",
"TypeMath" : "Ctrl+.",
"TypeMathBlock" : "Ctrl+G, .",
"TypeQuote" : "",
"TypeLink" : "",
"TypeImage" : "",
"TypeTable" : "Ctrl+/",
"TypeMark" : "Ctrl+G, M",
"Outline" : "Ctrl+G, O",
"RichPaste" : "Ctrl+Shift+V",
"FindAndReplace" : "Ctrl+F",
"FindNext" : "F3",
"FindPrevious" : "Shift+F3",
"ApplySnippet" : "Ctrl+G, I",
"Tag" : "Ctrl+G, B"
},
"spell_check_auto_detect_language" : false,
"spell_check_default_dictionary" : "en_US",
"//comment" : "platform/file/lf/crlf/cr",
"line_ending" : "lf"
},
"text_editor" : {
"theme" : "",
"//comment" : "none/absolute/relative",
"line_number" : "absolute",
"text_folding" : true,
"//comment" : "normal/vi",
"input_mode" : "normal",
"//comment" : "never/always/bottom",
"center_cursor" : "never",
"//comment" : "none/word/anywhere/word_anywhere",
"wrap_mode": "word_anywhere",
"expand_tab": true,
"tab_stop_width": 4,
"//comment" : "Positive to zoom in and negative to zoom out",
"zoom_delta": 0,
"spell_check": false
},
"markdown_editor" : {
"override_viewer_resource" : true,
"viewer_resource" : {
"template" : "web/markdown-viewer-template.html",
"resources" : [
{
"name" : "global_styles",
"enabled" : true,
"styles" : [
"web/css/globalstyles.css"
]
},
{
"name" : "built_in",
"enabled" : true,
"scripts" : [
"web/js/qwebchannel.js",
"web/js/eventemitter.js",
"web/js/utils.js",
"web/js/nodelinemapper.js",
"web/js/lrucache.js",
"web/js/graphcache.js",
"web/js/graphpreviewer.js",
"web/js/vnotex.js",
"web/js/vxworker.js",
"web/js/graphrenderer.js",
"web/js/svg-to-image.js",
"web/js/computed-style-to-inline-style.js",
"web/js/imageviewer.js",
"web/js/easyaccess.js",
"web/js/crosscopy.js"
],
"styles" : [
"web/css/imageviewer.css"
]
},
{
"name" : "markdown_viewer",
"enabled" : true,
"scripts" : [
"web/js/markdownviewer.js"
]
},
{
"name" : "markdown_it",
"enabled" : true,
"scripts" : [
"web/js/markdown-it/markdown-it.min.js",
"web/js/markdown-it/markdown-it-container.min.js",
"web/js/markdown-it/markdown-it-emoji.min.js",
"web/js/markdown-it/markdown-it-footnote.min.js",
"web/js/markdown-it/markdown-it-front-matter.js",
"web/js/markdown-it/markdown-it-imsize.min.js",
"web/js/markdown-it/markdown-it-sub.min.js",
"web/js/markdown-it/markdown-it-sup.min.js",
"web/js/markdown-it/markdown-it-task-lists.js",
"web/js/markdown-it/markdown-it-texmath.js",
"web/js/markdown-it/markdown-it-inject-linenumbers.js",
"web/js/markdown-it/markdownItAnchor.umd.js",
"web/js/markdown-it/markdownItTocDoneRight.umd.js",
"web/js/markdown-it/markdown-it-implicit-figure.js",
"web/js/markdownit.js"
],
"styles" : [
"web/css/markdownit.css"
]
},
{
"name" : "prism",
"enabled" : true,
"scripts" : [
"web/js/prism/clipboard.min.js",
"web/js/prism.js"
]
},
{
"name" : "mermaid",
"enabled" : true,
"scripts" : [
"web/js/mermaid.js"
]
},
{
"name" : "flowchart.js",
"enabled" : true,
"scripts" : [
"web/js/flowchart.js/raphael.min.js",
"web/js/flowchart.js/flowchart.min.js",
"web/js/flowchartjs.js"
]
},
{
"name" : "wavedrom",
"enabled" : true,
"scripts" : [
"web/js/wavedrom.js"
]
},
{
"name" : "mathjax",
"enabled" : true,
"scripts" : [
"web/js/mathjax.js"
]
},
{
"name" : "plantuml",
"enabled" : true,
"scripts" : [
"web/js/plantuml.js"
]
},
{
"name" : "graphviz",
"enabled" : true,
"scripts" : [
"web/js/graphviz.js"
]
},
{
"name" : "turndown",
"enabled" : true,
"scripts" : [
"web/js/turndown/turndown.js",
"web/js/turndown/turndown-plugin-gfm.js",
"web/js/turndown.js"
]
},
{
"name" : "mark.js",
"enabled" : true,
"scripts" : [
"web/js/mark.js/mark.min.js",
"web/js/markjs.js"
]
}
]
},
"export_resource" : {
"template" : "web/markdown-export-template.html",
"resources" : [
{
"name" : "global_styles",
"enabled" : true,
"styles" : [
"web/css/exportglobalstyles.css"
]
},
{
"name" : "outline",
"enabled" : true,
"styles" : [
"web/css/outline.css"
],
"scripts" : [
"web/js/outline.js"
]
}
]
},
"//comment" : "Whether use javascript or external program to render PlantUML",
"web_plantuml" : true,
"//commnet" : "Local PlantUML JAR file to render PlantUML",
"plantuml_jar" : "",
"//commnet" : "Command to render PlantUML via stdin and stdout (overrides plantuml_jar)",
"//commnet" : "- %1: the format to render in",
"plantuml_command" : "",
"//comment" : "Whether use javascript or external program to render Graphviz",
"web_graphviz" : true,
"//commnet" : "Local Graphviz executable file to render Graphviz",
"graphviz_exe" : "",
"//comment" : "Whether prepend a dot at front in relative link like images",
"prepend_dot_in_relative_link" : false,
"//comment" : "Whether ask for user confirmation before clearing obsolete images",
"confirm_before_clear_obsolete_images" : true,
"//comment" : "Whether insert the file name as title on new file",
"insert_file_name_as_title" : true,
"//comment" : "none/read/edit",
"section_number" : "none",
"//comment" : "Base level to start section numbering",
"section_number_base_level" : 2,
"//comment" : "Style of the section number in edit mode",
"//comment" : "digdotdigdot/digdotdig",
"section_number_style" : "digdotdigdot",
"//comment" : "Whether enable image width constraint",
"constrain_image_width" : true,
"image_align_center" : true,
"//comment" : "Whether enable in-place preview width constraint",
"constrain_inplace_preview_width" : false,
"//comment" : "Zoom factor in read mode",
"zoom_factor_in_read_mode" : 1,
"//comment" : "Whether fetch images to local in Parse To Markdown And Paste",
"fetch_images_in_parse_and_paste" : true,
"//comment" : "Whether protect from Cross-Site Scripting attack",
"protect_from_xss" : false,
"//comment" : "Whether allow HTML tags in source",
"html_tag" : true,
"//comment" : "Whether auto break a line with '\\n'",
"auto_break" : true,
"//comment" : "Whether convert URL-like text to links",
"linkify" : true,
"//comment" : "Whether add indentation to the first line of paragraph",
"indent_first_line" : false,
"//comment" : "Whether enable smart table (formatting)",
"smart_table" : true,
"//comment" : "Time interval (milliseconds) to do smart table formatting",
"smart_table_interval" : 1000,
"spell_check" : false,
"editor_overridden_font_family" : "",
"//comment" : "Sources to enable inplace preview, separated by ;",
"//comment" : "imagelink/codeblock/math",
"inplace_preview_sources" : "imagelink;codeblock;math"
},
"image_host" : {
"hosts" : [
],
"default_image_host" : "",
"clear_obsolete_image" : false
},
"vi" : {
"control_c_to_copy" : false
}
},
"widget" : {
"//comment" : "Level of the heading in outline that should expand to automatically (1-6)",
"outline_auto_expanded_level" : 6,
"//comment" : "Add section number in the outline viewer",
"outline_section_number_enabled" : false,
"//comment" : "Default find options in FindAndReplace",
"find_and_replace_options" : 16,
"//comment" : "View order of the node explorer",
"node_explorer_view_order" : 0,
"node_explorer_external_files_visible" : true,
"node_explorer_auto_import_external_files_enabled" : true,
"//comment" : "Whether close the file before opening it with external program",
"node_explorer_close_before_open_with_enabled" : true,
"search_panel_advanced_settings_visible" : true,
"//comment" : "Docks to ignore when expanding content area of main window",
"main_window_keep_docks_expanding_content_area": ["OutlineDock.vnotex"],
"snippet_panel_builtin_snippets_visible" : true,
"tag_explorer_two_columns_enabled" : true
}
}