update
This commit is contained in:
parent
2a56343d56
commit
62f0313af1
@ -1,5 +1,6 @@
|
||||
|
||||
imap kl <Esc>
|
||||
"imap kl <Esc>
|
||||
"
|
||||
imap jk <Esc>la
|
||||
imap kj <Esc>i
|
||||
|
||||
|
6
.obsidian/appearance.json
vendored
6
.obsidian/appearance.json
vendored
@ -1,7 +1,7 @@
|
||||
{
|
||||
"theme": "system",
|
||||
"cssTheme": "Minimal",
|
||||
"baseFontSize": 20,
|
||||
"baseFontSize": 25.5,
|
||||
"enabledCssSnippets": [
|
||||
"pdf_darkmode",
|
||||
"query_header_title",
|
||||
@ -11,14 +11,14 @@
|
||||
"supercharged-links-gen",
|
||||
"tabs_on_multiple_rown",
|
||||
"popup_preview_size",
|
||||
"breadcrumbs",
|
||||
"checkboxes",
|
||||
"compact_tabs",
|
||||
"custom_callouts",
|
||||
"darkmode",
|
||||
"dataview",
|
||||
"general_interface",
|
||||
"embeds"
|
||||
"embeds",
|
||||
"breadcrumbs"
|
||||
],
|
||||
"interfaceFontFamily": "CMU Bright,CMU Sans Serif,FiraCode Nerd Font",
|
||||
"textFontFamily": "CMU Sans Serif,FiraCode Nerd Font,CMU Serif",
|
||||
|
38
.obsidian/community-plugins.json
vendored
38
.obsidian/community-plugins.json
vendored
@ -1,5 +1,4 @@
|
||||
[
|
||||
"breadcrumbs",
|
||||
"calendar",
|
||||
"obsidian-completr",
|
||||
"obsidian-contextual-typography",
|
||||
@ -7,21 +6,13 @@
|
||||
"dataview",
|
||||
"obsidian-excalidraw-plugin",
|
||||
"obsidian-latex",
|
||||
"mrj-jump-to-link",
|
||||
"obsidian-kanban",
|
||||
"obsidian-languagetool-plugin",
|
||||
"obsidian-latex-suite",
|
||||
"obsidian-markmind",
|
||||
"obsidian-meta-bind-plugin",
|
||||
"metaedit",
|
||||
"obsidian-mind-map",
|
||||
"obsidian-minimal-settings",
|
||||
"note-aliases",
|
||||
"obsidian-better-internal-link-inserter",
|
||||
"obsidian-functionplot",
|
||||
"obsidian-outliner",
|
||||
"pane-relief",
|
||||
"persistent-graph",
|
||||
"qmd-as-md-obsidian",
|
||||
"quickadd",
|
||||
"obsidian-quickshare",
|
||||
@ -35,27 +26,20 @@
|
||||
"text-snippets-obsidian",
|
||||
"txt-as-md-obsidian",
|
||||
"various-complements",
|
||||
"zotlit",
|
||||
"obsidian-style-settings",
|
||||
"obsidian-hider",
|
||||
"quick-preview",
|
||||
"obsidian42-brat",
|
||||
"obsidian-vault-statistics-plugin",
|
||||
"obsidian-plugin-toc",
|
||||
"obsidian-pandoc-reference-list",
|
||||
"obsidian-footnotes",
|
||||
"better-fn",
|
||||
"math-in-callout",
|
||||
"cloze",
|
||||
"obsidian-hypothesis-plugin",
|
||||
"unicode-search",
|
||||
"omnisearch",
|
||||
"desk",
|
||||
"supercharged-links-obsidian",
|
||||
"obsidian-icon-shortcodes",
|
||||
"graph-analysis",
|
||||
"lovely-mindmap",
|
||||
"obsidian-ocr",
|
||||
"obsidian-functionplot",
|
||||
"math-in-callout",
|
||||
"restore-tab-key",
|
||||
"obsidian-list-callouts",
|
||||
"obsidian-vimrc-support",
|
||||
"surfing"
|
||||
"obsidian42-brat",
|
||||
"breadcrumbs",
|
||||
"zotlit",
|
||||
"number-headings-obsidian",
|
||||
"obsidian-hider",
|
||||
"obsidian-markmind",
|
||||
"obsidian-card-view-mode"
|
||||
]
|
2
.obsidian/graph.json
vendored
2
.obsidian/graph.json
vendored
@ -130,6 +130,6 @@
|
||||
"repelStrength": 6.47786458333333,
|
||||
"linkStrength": 1,
|
||||
"linkDistance": 30,
|
||||
"scale": 0.19572145488867765,
|
||||
"scale": 0.42909546648037916,
|
||||
"close": true
|
||||
}
|
112
.obsidian/hotkeys.json
vendored
112
.obsidian/hotkeys.json
vendored
@ -218,15 +218,6 @@
|
||||
"key": "="
|
||||
}
|
||||
],
|
||||
"obsidian-spaced-repetition:srs-note-review-open-note": [
|
||||
{
|
||||
"modifiers": [
|
||||
"Mod",
|
||||
"Shift"
|
||||
],
|
||||
"key": "R"
|
||||
}
|
||||
],
|
||||
"sliding-panes-obsidian:toggle-sliding-panes": [
|
||||
{
|
||||
"modifiers": [
|
||||
@ -668,14 +659,6 @@
|
||||
"key": "S"
|
||||
}
|
||||
],
|
||||
"obsidian-shellcommands:shell-command-53b5ai5phh": [
|
||||
{
|
||||
"modifiers": [
|
||||
"Ctrl"
|
||||
],
|
||||
"key": "E"
|
||||
}
|
||||
],
|
||||
"obsidian-better-internal-link-inserter:use-selected-word-as-alias": [
|
||||
{
|
||||
"modifiers": [
|
||||
@ -787,15 +770,6 @@
|
||||
"key": "S"
|
||||
}
|
||||
],
|
||||
"obsidian-excalidraw-plugin:convert-to-excalidraw": [
|
||||
{
|
||||
"modifiers": [
|
||||
"Ctrl",
|
||||
"Shift"
|
||||
],
|
||||
"key": "E"
|
||||
}
|
||||
],
|
||||
"obsidian-excalidraw-plugin:toggle-lock": [],
|
||||
"zotlit:zotero-annot-view": [
|
||||
{
|
||||
@ -823,22 +797,6 @@
|
||||
"key": "C"
|
||||
}
|
||||
],
|
||||
"obsidian-excalidraw-plugin:Downloaded/Normalize Selected Arrows": [
|
||||
{
|
||||
"modifiers": [
|
||||
"Ctrl"
|
||||
],
|
||||
"key": "N"
|
||||
}
|
||||
],
|
||||
"obsidian-excalidraw-plugin:Downloaded/Convert selected text elements to sticky notes": [
|
||||
{
|
||||
"modifiers": [
|
||||
"Ctrl"
|
||||
],
|
||||
"key": "P"
|
||||
}
|
||||
],
|
||||
"obsidian-excalidraw-plugin:Downloaded/Box Selected Elements": [
|
||||
{
|
||||
"modifiers": [
|
||||
@ -847,14 +805,6 @@
|
||||
"key": "B"
|
||||
}
|
||||
],
|
||||
"obsidian-excalidraw-plugin:Downloaded/Ellipse Selected Elements": [
|
||||
{
|
||||
"modifiers": [
|
||||
"Ctrl"
|
||||
],
|
||||
"key": "O"
|
||||
}
|
||||
],
|
||||
"quickadd:choice:10e5180e-d924-4f54-8967-a0bada9a7de3": [
|
||||
{
|
||||
"modifiers": [
|
||||
@ -889,5 +839,67 @@
|
||||
],
|
||||
"key": "S"
|
||||
}
|
||||
],
|
||||
"obsidian-shellcommands:shell-command-53b5ai5phh": [
|
||||
{
|
||||
"modifiers": [
|
||||
"Ctrl"
|
||||
],
|
||||
"key": "O"
|
||||
}
|
||||
],
|
||||
"breadcrumbs:breadcrumbs:rebuild-graph": [
|
||||
{
|
||||
"modifiers": [
|
||||
"Mod"
|
||||
],
|
||||
"key": "R"
|
||||
}
|
||||
],
|
||||
"dataview:dataview-rebuild-current-view": [
|
||||
{
|
||||
"modifiers": [
|
||||
"Mod",
|
||||
"Shift"
|
||||
],
|
||||
"key": "R"
|
||||
}
|
||||
],
|
||||
"various-complements:reload-custom-dictionaries": [],
|
||||
"templater-obsidian:templates/note mathématique.md": [
|
||||
{
|
||||
"modifiers": [
|
||||
"Ctrl",
|
||||
"Shift"
|
||||
],
|
||||
"key": "M"
|
||||
}
|
||||
],
|
||||
"templater-obsidian:templates/flipside excalidraw note.md": [
|
||||
{
|
||||
"modifiers": [
|
||||
"Ctrl",
|
||||
"Shift"
|
||||
],
|
||||
"key": "E"
|
||||
}
|
||||
],
|
||||
"backlink:open": [
|
||||
{
|
||||
"modifiers": [
|
||||
"Ctrl",
|
||||
"Shift"
|
||||
],
|
||||
"key": "B"
|
||||
}
|
||||
],
|
||||
"obsidian-daily-stats:show-daily-stats-tracker-view": [
|
||||
{
|
||||
"modifiers": [
|
||||
"Mod",
|
||||
"Shift"
|
||||
],
|
||||
"key": "D"
|
||||
}
|
||||
]
|
||||
}
|
692
.obsidian/plugins/breadcrumbs/data.json
vendored
692
.obsidian/plugins/breadcrumbs/data.json
vendored
@ -1,26 +1,11 @@
|
||||
{
|
||||
"addDendronNotes": true,
|
||||
"addDateNotes": true,
|
||||
"aliasesInIndex": true,
|
||||
"alphaSortAsc": false,
|
||||
"altLinkFields": [],
|
||||
"CSVPaths": "",
|
||||
"createIndexIndent": " ",
|
||||
"dateFormat": "YYYY-MM-DD",
|
||||
"dateNoteFormat": "yyyy-MM-dd",
|
||||
"dateNoteField": "next",
|
||||
"dataviewNoteField": "up",
|
||||
"dateNoteAddMonth": "",
|
||||
"dateNoteAddYear": "",
|
||||
"debugMode": "WARN",
|
||||
"dendronNoteDelimiter": ".",
|
||||
"dendronNoteField": "up",
|
||||
"dvWaitTime": 5000,
|
||||
"enableAlphaSort": true,
|
||||
"enableRelationSuggestor": false,
|
||||
"fieldSuggestor": true,
|
||||
"filterImpliedSiblingsOfDifferentTypes": false,
|
||||
"jugglLayout": "hierarchy",
|
||||
"limitWriteBCCheckboxes": [
|
||||
"up",
|
||||
"next",
|
||||
@ -35,21 +20,15 @@
|
||||
"same_author",
|
||||
"excerpt",
|
||||
"includes",
|
||||
"used_in"
|
||||
"used_in",
|
||||
"citation"
|
||||
],
|
||||
"CHECKBOX_STATES_OVERWRITTEN": false,
|
||||
"gridDefaultDepth": 25,
|
||||
"hierarchyNotes": [
|
||||
""
|
||||
],
|
||||
"hierarchyNoteIsParent": false,
|
||||
"HNUpField": "",
|
||||
"indexNotes": [],
|
||||
"namingSystemField": "",
|
||||
"namingSystemRegex": "",
|
||||
"namingSystemSplit": ".",
|
||||
"namingSystemEndsWithDelimiter": false,
|
||||
"refreshOnNoteChange": false,
|
||||
"useAllMetadata": true,
|
||||
"openMatrixOnLoad": true,
|
||||
"openDuckOnLoad": false,
|
||||
@ -58,18 +37,13 @@
|
||||
"showNameOrType": true,
|
||||
"showRelationType": true,
|
||||
"regexNoteField": "",
|
||||
"relSuggestorTrigger": "@@",
|
||||
"rlLeaf": false,
|
||||
"showAllPathsIfNoneToIndexNote": false,
|
||||
"showAllAliases": true,
|
||||
"showBCs": true,
|
||||
"showBCsInEditLPMode": true,
|
||||
"showRefreshNotice": true,
|
||||
"showImpliedRelations": true,
|
||||
"showTrail": false,
|
||||
"showGrid": true,
|
||||
"showJuggl": false,
|
||||
"showPrevNext": true,
|
||||
"sortByNameShowAlias": false,
|
||||
"squareDirectionsOrder": [
|
||||
0,
|
||||
@ -100,19 +74,15 @@
|
||||
"refuted_by",
|
||||
"opposes",
|
||||
"source",
|
||||
"same_source",
|
||||
"wrote",
|
||||
"author",
|
||||
"",
|
||||
"same_author",
|
||||
"excerpt",
|
||||
"used_in"
|
||||
"citation"
|
||||
],
|
||||
"showAll": "All",
|
||||
"noPathMessage": "",
|
||||
"tagNoteField": "up",
|
||||
"threadIntoNewPane": true,
|
||||
"threadingTemplate": "{{field}} of {{current}}",
|
||||
"threadingDirTemplates": {
|
||||
"up": "",
|
||||
"same": "",
|
||||
@ -120,100 +90,578 @@
|
||||
"next": "",
|
||||
"prev": ""
|
||||
},
|
||||
"threadUnderCursor": false,
|
||||
"trailSeperator": "→",
|
||||
"treatCurrNodeAsImpliedSibling": false,
|
||||
"trimDendronNotes": true,
|
||||
"respectReadableLineLength": false,
|
||||
"userHiers": [
|
||||
{
|
||||
"up": [
|
||||
"up"
|
||||
],
|
||||
"same": [
|
||||
"sibling"
|
||||
],
|
||||
"down": [
|
||||
"down"
|
||||
],
|
||||
"next": [
|
||||
"next"
|
||||
],
|
||||
"prev": [
|
||||
"prev"
|
||||
]
|
||||
},
|
||||
{
|
||||
"up": [
|
||||
"author"
|
||||
],
|
||||
"same": [
|
||||
"same_author"
|
||||
],
|
||||
"down": [
|
||||
"wrote"
|
||||
],
|
||||
"next": [],
|
||||
"prev": []
|
||||
},
|
||||
{
|
||||
"up": [
|
||||
"supports"
|
||||
],
|
||||
"same": [],
|
||||
"down": [
|
||||
"supported_by"
|
||||
],
|
||||
"next": [
|
||||
"refutes"
|
||||
],
|
||||
"prev": [
|
||||
"refuted_by"
|
||||
]
|
||||
},
|
||||
{
|
||||
"up": [
|
||||
"opposes"
|
||||
],
|
||||
"same": [
|
||||
"same"
|
||||
],
|
||||
"down": [],
|
||||
"next": [],
|
||||
"prev": []
|
||||
},
|
||||
{
|
||||
"up": [
|
||||
"source"
|
||||
],
|
||||
"same": [
|
||||
"same_source"
|
||||
],
|
||||
"down": [
|
||||
"includes"
|
||||
],
|
||||
"next": [],
|
||||
"prev": []
|
||||
}
|
||||
],
|
||||
"writeBCsInline": true,
|
||||
"showWriteAllBCsCmd": false,
|
||||
"visGraph": "Force Directed Graph",
|
||||
"visRelation": "Parent",
|
||||
"visRelation": "Child",
|
||||
"visClosed": "Closed",
|
||||
"visAll": "All",
|
||||
"wikilinkIndex": true,
|
||||
"impliedRelations": {
|
||||
"siblingIdentity": false,
|
||||
"sameParentIsSibling": false,
|
||||
"siblingsSiblingIsSibling": true,
|
||||
"siblingsParentIsParent": true,
|
||||
"parentsSiblingsIsParents": false,
|
||||
"parentsParentsIsParent": false,
|
||||
"cousinsIsSibling": false
|
||||
},
|
||||
"refreshOnNoteSave": true,
|
||||
"visAll": "No Unlinked",
|
||||
"showUpInJuggl": false,
|
||||
"gridHeatmap": true,
|
||||
"heatmapColour": "#3b3b3b"
|
||||
"heatmapColour": "#3b3b3b",
|
||||
"is_dirty": false,
|
||||
"edge_fields": [
|
||||
{
|
||||
"label": "up"
|
||||
},
|
||||
{
|
||||
"label": "down"
|
||||
},
|
||||
{
|
||||
"label": "same"
|
||||
},
|
||||
{
|
||||
"label": "next"
|
||||
},
|
||||
{
|
||||
"label": "prev"
|
||||
},
|
||||
{
|
||||
"label": "sibling"
|
||||
},
|
||||
{
|
||||
"label": "author"
|
||||
},
|
||||
{
|
||||
"label": "wrote"
|
||||
},
|
||||
{
|
||||
"label": "same_author"
|
||||
},
|
||||
{
|
||||
"label": "supports"
|
||||
},
|
||||
{
|
||||
"label": "supported_by"
|
||||
},
|
||||
{
|
||||
"label": "refuted_by"
|
||||
},
|
||||
{
|
||||
"label": "refutes"
|
||||
},
|
||||
{
|
||||
"label": "opposes"
|
||||
},
|
||||
{
|
||||
"label": "source"
|
||||
},
|
||||
{
|
||||
"label": "includes"
|
||||
},
|
||||
{
|
||||
"label": "citation"
|
||||
},
|
||||
{
|
||||
"label": "same_source"
|
||||
}
|
||||
],
|
||||
"edge_field_groups": [
|
||||
{
|
||||
"label": "ups",
|
||||
"fields": [
|
||||
"up",
|
||||
"author",
|
||||
"supports",
|
||||
"opposes",
|
||||
"source"
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "downs",
|
||||
"fields": [
|
||||
"down",
|
||||
"wrote",
|
||||
"supported_by",
|
||||
"includes",
|
||||
"citation"
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "sames",
|
||||
"fields": [
|
||||
"same",
|
||||
"sibling",
|
||||
"same_author",
|
||||
"same_source"
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "nexts",
|
||||
"fields": [
|
||||
"next",
|
||||
"refutes"
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "prevs",
|
||||
"fields": [
|
||||
"prev",
|
||||
"refuted_by"
|
||||
]
|
||||
}
|
||||
],
|
||||
"implied_relations": {
|
||||
"transitive": [
|
||||
{
|
||||
"name": "",
|
||||
"rounds": 1,
|
||||
"chain": [
|
||||
{
|
||||
"field": "up"
|
||||
}
|
||||
],
|
||||
"close_field": "down",
|
||||
"close_reversed": true
|
||||
},
|
||||
{
|
||||
"name": "",
|
||||
"rounds": 1,
|
||||
"chain": [
|
||||
{
|
||||
"field": "down"
|
||||
}
|
||||
],
|
||||
"close_field": "up",
|
||||
"close_reversed": true
|
||||
},
|
||||
{
|
||||
"name": "",
|
||||
"rounds": 1,
|
||||
"chain": [
|
||||
{
|
||||
"field": "same"
|
||||
}
|
||||
],
|
||||
"close_field": "same",
|
||||
"close_reversed": true
|
||||
},
|
||||
{
|
||||
"name": "",
|
||||
"rounds": 1,
|
||||
"chain": [
|
||||
{
|
||||
"field": "next"
|
||||
}
|
||||
],
|
||||
"close_field": "prev",
|
||||
"close_reversed": true
|
||||
},
|
||||
{
|
||||
"name": "",
|
||||
"rounds": 1,
|
||||
"chain": [
|
||||
{
|
||||
"field": "prev"
|
||||
}
|
||||
],
|
||||
"close_field": "next",
|
||||
"close_reversed": true
|
||||
},
|
||||
{
|
||||
"rounds": 1,
|
||||
"name": "",
|
||||
"close_field": "sibling",
|
||||
"chain": [
|
||||
{
|
||||
"field": "sibling"
|
||||
}
|
||||
],
|
||||
"close_reversed": true
|
||||
},
|
||||
{
|
||||
"rounds": 1,
|
||||
"name": "",
|
||||
"chain": [
|
||||
{
|
||||
"field": "sibling"
|
||||
},
|
||||
{
|
||||
"field": "sibling"
|
||||
}
|
||||
],
|
||||
"close_reversed": false,
|
||||
"close_field": "sibling"
|
||||
},
|
||||
{
|
||||
"rounds": 1,
|
||||
"name": "",
|
||||
"chain": [
|
||||
{
|
||||
"field": "sibling"
|
||||
},
|
||||
{
|
||||
"field": "up"
|
||||
}
|
||||
],
|
||||
"close_reversed": false,
|
||||
"close_field": "up"
|
||||
},
|
||||
{
|
||||
"rounds": 1,
|
||||
"name": "",
|
||||
"close_field": "wrote",
|
||||
"chain": [
|
||||
{
|
||||
"field": "author"
|
||||
}
|
||||
],
|
||||
"close_reversed": true
|
||||
},
|
||||
{
|
||||
"rounds": 1,
|
||||
"name": "",
|
||||
"close_field": "author",
|
||||
"chain": [
|
||||
{
|
||||
"field": "wrote"
|
||||
}
|
||||
],
|
||||
"close_reversed": true
|
||||
},
|
||||
{
|
||||
"rounds": 1,
|
||||
"name": "",
|
||||
"close_field": "same_author",
|
||||
"chain": [
|
||||
{
|
||||
"field": "same_author"
|
||||
}
|
||||
],
|
||||
"close_reversed": true
|
||||
},
|
||||
{
|
||||
"rounds": 1,
|
||||
"name": "",
|
||||
"chain": [
|
||||
{
|
||||
"field": "same_author"
|
||||
},
|
||||
{
|
||||
"field": "same_author"
|
||||
}
|
||||
],
|
||||
"close_reversed": false,
|
||||
"close_field": "same_author"
|
||||
},
|
||||
{
|
||||
"rounds": 1,
|
||||
"name": "",
|
||||
"chain": [
|
||||
{
|
||||
"field": "same_author"
|
||||
},
|
||||
{
|
||||
"field": "author"
|
||||
}
|
||||
],
|
||||
"close_reversed": false,
|
||||
"close_field": "author"
|
||||
},
|
||||
{
|
||||
"rounds": 1,
|
||||
"name": "",
|
||||
"close_field": "supported_by",
|
||||
"chain": [
|
||||
{
|
||||
"field": "supports"
|
||||
}
|
||||
],
|
||||
"close_reversed": true
|
||||
},
|
||||
{
|
||||
"rounds": 1,
|
||||
"name": "",
|
||||
"close_field": "supports",
|
||||
"chain": [
|
||||
{
|
||||
"field": "supported_by"
|
||||
}
|
||||
],
|
||||
"close_reversed": true
|
||||
},
|
||||
{
|
||||
"rounds": 1,
|
||||
"name": "",
|
||||
"close_field": "refutes",
|
||||
"chain": [
|
||||
{
|
||||
"field": "refuted_by"
|
||||
}
|
||||
],
|
||||
"close_reversed": true
|
||||
},
|
||||
{
|
||||
"rounds": 1,
|
||||
"name": "",
|
||||
"close_field": "refuted_by",
|
||||
"chain": [
|
||||
{
|
||||
"field": "refutes"
|
||||
}
|
||||
],
|
||||
"close_reversed": true
|
||||
},
|
||||
{
|
||||
"rounds": 1,
|
||||
"name": "",
|
||||
"chain": [
|
||||
{
|
||||
"field": "same"
|
||||
},
|
||||
{
|
||||
"field": "same"
|
||||
}
|
||||
],
|
||||
"close_reversed": false,
|
||||
"close_field": "same"
|
||||
},
|
||||
{
|
||||
"rounds": 1,
|
||||
"name": "",
|
||||
"chain": [
|
||||
{
|
||||
"field": "same"
|
||||
},
|
||||
{
|
||||
"field": "opposes"
|
||||
}
|
||||
],
|
||||
"close_reversed": false,
|
||||
"close_field": "opposes"
|
||||
},
|
||||
{
|
||||
"rounds": 1,
|
||||
"name": "",
|
||||
"close_field": "includes",
|
||||
"chain": [
|
||||
{
|
||||
"field": "source"
|
||||
}
|
||||
],
|
||||
"close_reversed": true
|
||||
},
|
||||
{
|
||||
"rounds": 1,
|
||||
"name": "",
|
||||
"close_field": "source",
|
||||
"chain": [
|
||||
{
|
||||
"field": "includes"
|
||||
}
|
||||
],
|
||||
"close_reversed": true
|
||||
},
|
||||
{
|
||||
"rounds": 1,
|
||||
"name": "",
|
||||
"close_field": "same_source",
|
||||
"chain": [
|
||||
{
|
||||
"field": "same_source"
|
||||
}
|
||||
],
|
||||
"close_reversed": true
|
||||
},
|
||||
{
|
||||
"rounds": 1,
|
||||
"name": "",
|
||||
"chain": [
|
||||
{
|
||||
"field": "same_source"
|
||||
},
|
||||
{
|
||||
"field": "same_source"
|
||||
}
|
||||
],
|
||||
"close_reversed": false,
|
||||
"close_field": "same_source"
|
||||
},
|
||||
{
|
||||
"rounds": 1,
|
||||
"name": "",
|
||||
"chain": [
|
||||
{
|
||||
"field": "same_source"
|
||||
},
|
||||
{
|
||||
"field": "source"
|
||||
}
|
||||
],
|
||||
"close_reversed": false,
|
||||
"close_field": "source"
|
||||
}
|
||||
]
|
||||
},
|
||||
"explicit_edge_sources": {
|
||||
"typed_link": {},
|
||||
"list_note": {
|
||||
"default_neighbour_field": ""
|
||||
},
|
||||
"tag_note": {
|
||||
"default_field": "up"
|
||||
},
|
||||
"regex_note": {
|
||||
"default_field": "up"
|
||||
},
|
||||
"dendron_note": {
|
||||
"enabled": true,
|
||||
"default_field": "up",
|
||||
"delimiter": ".",
|
||||
"display_trimmed": true
|
||||
},
|
||||
"johnny_decimal_note": {
|
||||
"enabled": false,
|
||||
"delimiter": ".",
|
||||
"default_field": "up"
|
||||
},
|
||||
"date_note": {
|
||||
"enabled": true,
|
||||
"date_format": "yyyy-MM-dd",
|
||||
"default_field": "next",
|
||||
"stretch_to_existing": false
|
||||
}
|
||||
},
|
||||
"views": {
|
||||
"page": {
|
||||
"all": {
|
||||
"sticky": true,
|
||||
"readable_line_width": false
|
||||
},
|
||||
"trail": {
|
||||
"enabled": true,
|
||||
"format": "path",
|
||||
"selection": "all",
|
||||
"default_depth": 25,
|
||||
"no_path_message": "",
|
||||
"show_controls": true,
|
||||
"merge_fields": false,
|
||||
"field_group_labels": [
|
||||
"ups",
|
||||
"sames",
|
||||
"prevs"
|
||||
],
|
||||
"show_node_options": {
|
||||
"ext": false,
|
||||
"folder": false,
|
||||
"alias": true
|
||||
}
|
||||
},
|
||||
"prev_next": {
|
||||
"enabled": true,
|
||||
"show_node_options": {
|
||||
"ext": false,
|
||||
"folder": false,
|
||||
"alias": false
|
||||
},
|
||||
"field_group_labels": {
|
||||
"prev": [
|
||||
"prevs"
|
||||
],
|
||||
"next": [
|
||||
"nexts"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"side": {
|
||||
"matrix": {
|
||||
"collapse": false,
|
||||
"edge_sort_id": {
|
||||
"field": "basename",
|
||||
"order": 1
|
||||
},
|
||||
"show_node_options": {
|
||||
"ext": false,
|
||||
"folder": false,
|
||||
"alias": false
|
||||
},
|
||||
"show_attributes": [
|
||||
"source",
|
||||
"implied_kind",
|
||||
"round"
|
||||
],
|
||||
"field_group_labels": [
|
||||
"ups",
|
||||
"downs",
|
||||
"sames",
|
||||
"nexts",
|
||||
"prevs"
|
||||
]
|
||||
},
|
||||
"tree": {
|
||||
"collapse": false,
|
||||
"show_attributes": [],
|
||||
"merge_fields": false,
|
||||
"field_group_labels": [
|
||||
"downs",
|
||||
"sames"
|
||||
],
|
||||
"edge_sort_id": {
|
||||
"field": "basename",
|
||||
"order": 1
|
||||
},
|
||||
"show_node_options": {
|
||||
"ext": false,
|
||||
"folder": false,
|
||||
"alias": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"codeblocks": {
|
||||
"show_node_options": {
|
||||
"ext": false,
|
||||
"folder": false,
|
||||
"alias": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"commands": {
|
||||
"rebuild_graph": {
|
||||
"notify": true,
|
||||
"trigger": {
|
||||
"note_save": true,
|
||||
"layout_change": false
|
||||
}
|
||||
},
|
||||
"list_index": {
|
||||
"default_options": {
|
||||
"fields": [],
|
||||
"indent": " ",
|
||||
"link_kind": "wiki",
|
||||
"show_attributes": [],
|
||||
"field_group_labels": [],
|
||||
"edge_sort_id": {
|
||||
"order": 1,
|
||||
"field": "basename"
|
||||
},
|
||||
"show_node_options": {
|
||||
"ext": false,
|
||||
"alias": true,
|
||||
"folder": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"freeze_implied_edges": {
|
||||
"default_options": {
|
||||
"destination": "dataview-inline"
|
||||
}
|
||||
},
|
||||
"thread": {
|
||||
"default_options": {
|
||||
"destination": "frontmatter",
|
||||
"target_path_template": "{{field}} of {{current}}"
|
||||
}
|
||||
}
|
||||
},
|
||||
"suggestors": {
|
||||
"edge_field": {
|
||||
"enabled": false,
|
||||
"trigger": "\\"
|
||||
}
|
||||
},
|
||||
"debug": {
|
||||
"level": "INFO"
|
||||
}
|
||||
}
|
65707
.obsidian/plugins/breadcrumbs/main.js
vendored
65707
.obsidian/plugins/breadcrumbs/main.js
vendored
File diff suppressed because one or more lines are too long
11
.obsidian/plugins/breadcrumbs/manifest.json
vendored
11
.obsidian/plugins/breadcrumbs/manifest.json
vendored
@ -1,10 +1 @@
|
||||
{
|
||||
"id": "breadcrumbs",
|
||||
"name": "Breadcrumbs",
|
||||
"version": "3.6.11",
|
||||
"minAppVersion": "0.15.2",
|
||||
"description": "Visualise & navigate your vault's structure",
|
||||
"author": "SkepticMystic",
|
||||
"authorUrl": "https://github.com/SkepticMystic/breadcrumbs",
|
||||
"isDesktopOnly": false
|
||||
}
|
||||
{"id":"breadcrumbs","name":"Breadcrumbs","version":"4.2.35-beta","minAppVersion":"1.0.0","description":"Add structured hierarchies to your notes","author":"SkepticMystic","authorUrl":"https://github.com/SkepticMystic/breadcrumbs","fundingUrl":"https://github.com/SkepticMystic/breadcrumbs#donations","helpUrl":"https://publish.obsidian.md/breadcrumbs-docs","isDesktopOnly":false}
|
114
.obsidian/plugins/breadcrumbs/styles.css
vendored
114
.obsidian/plugins/breadcrumbs/styles.css
vendored
@ -1,113 +1 @@
|
||||
.BC-trail {
|
||||
border: 1px solid var(--background-modifier-border);
|
||||
border-radius: 5px;
|
||||
padding: 5px;
|
||||
margin-bottom: 5px !important;
|
||||
}
|
||||
|
||||
/* completely hides the trail when "no path found message" is left empty and no path is found */
|
||||
.BC-trail:empty {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.BC-matrix-square li {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
/* ensure empty headers not leaving an element */
|
||||
.BC-Matrix .BC-Matrix-square .BC-Matrix-header:empty {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.internal-link.BC-Link {
|
||||
color: var(--text-accent);
|
||||
}
|
||||
|
||||
.internal-link.BC-Link:hover {
|
||||
color: var(--text-accent-hover, var(--text-accent));
|
||||
}
|
||||
|
||||
.vis-view-options > * {
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
/* Source: https://svelte.dev/repl/3153faf7584d40bd8ddebecf39f24ac1?version=3.41.0 */
|
||||
[data-tooltip] {
|
||||
position: relative;
|
||||
/* z-index: 2; */
|
||||
/* display: block; */
|
||||
}
|
||||
|
||||
[data-tooltip]:before,
|
||||
[data-tooltip]:after {
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
transition: 0.2s ease-out;
|
||||
transform: translate(-50%, 5px);
|
||||
}
|
||||
|
||||
[data-tooltip]:before {
|
||||
position: absolute;
|
||||
top: 80%;
|
||||
/* bottom: 100%; */
|
||||
left: 50%;
|
||||
margin-bottom: 5px;
|
||||
padding: 7px;
|
||||
width: fit-content;
|
||||
height: fit-content;
|
||||
min-width: 200px;
|
||||
min-height: 200px;
|
||||
-webkit-border-radius: 3px;
|
||||
-moz-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
background-color: var(--background-primary);
|
||||
color: var(--text-normal);
|
||||
content: attr(data-tooltip);
|
||||
text-align: center;
|
||||
font-size: var(--font-medium);
|
||||
line-height: 1.2;
|
||||
transition: 0.2s ease-out;
|
||||
white-space: pre-line;
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
/* [data-tooltip]:after {
|
||||
position: absolute;
|
||||
top: 80%;
|
||||
left: 50%;
|
||||
width: 0;
|
||||
border-top: 5px solid #000;
|
||||
border-top: 5px solid hsla(0, 0%, 20%, 0.9);
|
||||
border-right: 5px solid transparent;
|
||||
border-left: 5px solid transparent;
|
||||
background-color: red;
|
||||
content: " ";
|
||||
font-size: 0;
|
||||
line-height: 0;
|
||||
} */
|
||||
|
||||
[data-tooltip]:hover:before,
|
||||
[data-tooltip]:hover:after {
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
transform: translate(-50%, 0);
|
||||
}
|
||||
[data-tooltip="false"]:hover:before,
|
||||
[data-tooltip="false"]:hover:after {
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.thread-dir-templates .setting-item-control {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.juggl-hide {
|
||||
display: none;
|
||||
}
|
||||
|
||||
[data-type="BC-matrix"] div.view-content {
|
||||
overflow: hidden !important;
|
||||
}
|
||||
.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.\!collapse{visibility:collapse!important}.collapse{visibility:collapse}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.bottom-2{bottom:.5rem}.left-2{left:.5rem}.right-2{right:.5rem}.top-2{top:.5rem}.mx-auto{margin-left:auto;margin-right:auto}.my-0{margin-top:0;margin-bottom:0}.my-2{margin-top:.5rem;margin-bottom:.5rem}.mb-1{margin-bottom:.25rem}.mb-4{margin-bottom:1rem}.block{display:block}.flex{display:flex}.grid{display:grid}.contents{display:contents}.hidden{display:none}.aspect-square{aspect-ratio:1/1}.h-32{height:8rem}.w-10{width:2.5rem}.w-48{width:12rem}.w-60{width:15rem}.w-8{width:2rem}.w-full{width:100%}.shrink{flex-shrink:1}.grow{flex-grow:1}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.scroll-mt-40{scroll-margin-top:10rem}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0{gap:0}.gap-0\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-7{gap:1.75rem}.border{border-width:1px}.p-1{padding:.25rem}.p-2{padding:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.pl-2{padding-left:.5rem}.pl-4{padding-left:1rem}.pr-10{padding-right:2.5rem}.pr-2{padding-right:.5rem}.text-left{text-align:left}.text-right{text-align:right}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-semibold{font-weight:600}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.BC-matrix-view hr:last-child{display:none}.BC-page-views.BC-page-views-sticky{z-index:50;position:sticky;top:calc(var(--file-margins)*-1);background-color:var(--background-primary)}.text-faint{color:var(--text-faint)}.text-warning{color:var(--text-warning)}.text-error{color:var(--text-error)}
|
2
.obsidian/plugins/cloze/manifest.json
vendored
2
.obsidian/plugins/cloze/manifest.json
vendored
@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "cloze",
|
||||
"name": "Cloze",
|
||||
"version": "0.1.16",
|
||||
"version": "0.1.17",
|
||||
"minAppVersion": "0.12.0",
|
||||
"description": "Convert highlights, underlines, bolded texts or any selected texts into clozes.",
|
||||
"author": "Vikki",
|
||||
|
8
.obsidian/plugins/cloze/styles.css
vendored
8
.obsidian/plugins/cloze/styles.css
vendored
@ -20,7 +20,13 @@ body {
|
||||
}
|
||||
|
||||
.cloze-span,
|
||||
.cloze{
|
||||
.cloze:not(u){
|
||||
border-bottom: var(--cloze-underline-width) var(--cloze-underline-style) var(--cloze-underline-color) !important;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/* special for <u> */
|
||||
u.cloze[data-cloze-hide=true]{
|
||||
border-bottom: var(--cloze-underline-width) var(--cloze-underline-style) var(--cloze-underline-color) !important;
|
||||
position: relative;
|
||||
}
|
||||
|
414
.obsidian/plugins/darlal-switcher-plus/main.js
vendored
414
.obsidian/plugins/darlal-switcher-plus/main.js
vendored
File diff suppressed because one or more lines are too long
@ -1,8 +1,8 @@
|
||||
{
|
||||
"id": "darlal-switcher-plus",
|
||||
"name": "Quick Switcher++",
|
||||
"version": "4.2.2",
|
||||
"minAppVersion": "1.5.12",
|
||||
"version": "4.4.0",
|
||||
"minAppVersion": "1.6.5",
|
||||
"description": "Enhanced Quick Switcher, search open panels, and symbols.",
|
||||
"author": "darlal",
|
||||
"authorUrl": "https://github.com/darlal/obsidian-switcher-plus",
|
||||
|
@ -174,3 +174,6 @@
|
||||
|
||||
/* Prompt instructions element for facets in custom modes */
|
||||
.qsp-prompt-instructions-facets {}
|
||||
|
||||
/* Prompt instructions element for mode triggers*/
|
||||
.qsp-prompt-instructions-modes {}
|
||||
|
143
.obsidian/plugins/dataview/main.js
vendored
143
.obsidian/plugins/dataview/main.js
vendored
File diff suppressed because one or more lines are too long
2
.obsidian/plugins/dataview/manifest.json
vendored
2
.obsidian/plugins/dataview/manifest.json
vendored
@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "dataview",
|
||||
"name": "Dataview",
|
||||
"version": "0.5.66",
|
||||
"version": "0.5.67",
|
||||
"minAppVersion": "0.13.11",
|
||||
"description": "Complex data views for the data-obsessed.",
|
||||
"author": "Michael Brenan <blacksmithgu@gmail.com>",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "heatmap-calendar",
|
||||
"name": "Heatmap Calendar",
|
||||
"version": "0.7.0",
|
||||
"version": "0.7.1",
|
||||
"minAppVersion": "0.12.0",
|
||||
"description": "Activity Year Overview for DataviewJS, Github style – Track Goals, Progress, Habits, Tasks, Exercise, Finances, \"Dont Break the Chain\" etc.",
|
||||
"author": "Richard Slettevoll",
|
||||
|
@ -70,6 +70,8 @@
|
||||
position: relative;
|
||||
font-size: 0.75em;
|
||||
background-color: #ebedf0;
|
||||
width: 100%;
|
||||
margin-inline-start: auto !important;
|
||||
}
|
||||
|
||||
.theme-dark .heatmap-calendar-boxes .isEmpty {
|
||||
|
31
.obsidian/plugins/lovely-mindmap/main.js
vendored
31
.obsidian/plugins/lovely-mindmap/main.js
vendored
@ -566,16 +566,31 @@ var LovelyMindmap = class extends import_obsidian2.Plugin {
|
||||
if (!!this.canvas) {
|
||||
clearInterval(this.intervalTimer.get("canvas"));
|
||||
}
|
||||
}, 1e3);
|
||||
}, 100);
|
||||
if (!this.intervalTimer.get("canvas")) {
|
||||
this.intervalTimer.set("canvas", timer);
|
||||
}
|
||||
}
|
||||
async onload() {
|
||||
await this.setting.loadSettings();
|
||||
this.addSettingTab(new Setting(this));
|
||||
this.keymap.registerAll();
|
||||
onActiveLeafChange() {
|
||||
this.app.workspace.on("active-leaf-change", async (leaf) => {
|
||||
var _a, _b;
|
||||
const extension = (_b = (_a = leaf == null ? void 0 : leaf.view) == null ? void 0 : _a.file) == null ? void 0 : _b.extension;
|
||||
if (extension === "canvas") {
|
||||
this.onKeymap();
|
||||
return;
|
||||
}
|
||||
this.onunload();
|
||||
});
|
||||
}
|
||||
/**
|
||||
* A series of events for canvas initialization
|
||||
*
|
||||
* - When switching away from the canvas viewport, remove the keyboard shortcuts and canvas instance.
|
||||
* - When switching back to the canvas viewport, re-register the keyboard shortcuts and canvas instance.
|
||||
*/
|
||||
onKeymap() {
|
||||
this.createCanvasInstance();
|
||||
this.keymap.registerAll();
|
||||
this.addCommand({
|
||||
id: "blurNode",
|
||||
name: "Blur node",
|
||||
@ -588,6 +603,12 @@ var LovelyMindmap = class extends import_obsidian2.Plugin {
|
||||
checkCallback: () => this.keymap.blurNode()
|
||||
});
|
||||
}
|
||||
async onload() {
|
||||
await this.setting.loadSettings();
|
||||
this.addSettingTab(new Setting(this));
|
||||
this.onActiveLeafChange();
|
||||
this.onKeymap();
|
||||
}
|
||||
onunload() {
|
||||
this.keymap.unregisterAll();
|
||||
this.intervalTimer.forEach(clearInterval);
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "lovely-mindmap",
|
||||
"name": "Lovely-Mindmap",
|
||||
"version": "1.0.1",
|
||||
"version": "1.0.3",
|
||||
"minAppVersion": "0.15.0",
|
||||
"description": "Build your own knowledge graph with smiles :-)",
|
||||
"author": "shaun",
|
||||
|
13
.obsidian/plugins/number-headings-obsidian/data.json
vendored
Normal file
13
.obsidian/plugins/number-headings-obsidian/data.json
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
{
|
||||
"skipTopLevel": false,
|
||||
"firstLevel": 1,
|
||||
"maxLevel": 3,
|
||||
"styleLevel1": "1",
|
||||
"styleLevelOther": "1",
|
||||
"auto": false,
|
||||
"separator": " -",
|
||||
"contents": "",
|
||||
"skipHeadings": "",
|
||||
"startAt": "",
|
||||
"off": false
|
||||
}
|
@ -5,6 +5,8 @@
|
||||
"enableChalkboard": true,
|
||||
"enableOverview": true,
|
||||
"enableMenu": true,
|
||||
"enablePointer": false,
|
||||
"enableTimeBar": false,
|
||||
"theme": "black",
|
||||
"highlightTheme": "zenburn",
|
||||
"transition": "fade",
|
||||
@ -13,5 +15,7 @@
|
||||
"progress": true,
|
||||
"slideNumber": true,
|
||||
"showGrid": false,
|
||||
"autoComplete": "inPreview"
|
||||
"autoComplete": "inPreview",
|
||||
"paneMode": "tab",
|
||||
"motm": ""
|
||||
}
|
1368
.obsidian/plugins/obsidian-asciimath/main.js
vendored
1368
.obsidian/plugins/obsidian-asciimath/main.js
vendored
File diff suppressed because one or more lines are too long
@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "obsidian-asciimath",
|
||||
"name": "asciimath",
|
||||
"version": "0.7.2",
|
||||
"version": "0.7.5",
|
||||
"minAppVersion": "0.15.0",
|
||||
"description": "Add asciimath support for Obsidian.",
|
||||
"author": "widcardw",
|
||||
|
22
.obsidian/plugins/obsidian-card-view-mode/data.json
vendored
Normal file
22
.obsidian/plugins/obsidian-card-view-mode/data.json
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
{
|
||||
"disabled": true,
|
||||
"cardTitle": false,
|
||||
"cardCornerRadius": 10,
|
||||
"cardTitleCornerRadius": 5,
|
||||
"cardDropShadow": true,
|
||||
"removePaneBoundaries": true,
|
||||
"hideScrollBar": true,
|
||||
"colorBackGroundLight": "255, 255, 255",
|
||||
"colorBackGroundDark": "145, 145, 145",
|
||||
"colorActiveCardLight": "255, 255, 255",
|
||||
"colorActiveCardDark": "71, 71, 71",
|
||||
"colorNonActiveCardDark": "71, 71, 71",
|
||||
"colorNonActiveCardLight": "255, 255, 255",
|
||||
"colorTitleCardEdgeDark": "227, 76, 38",
|
||||
"colorTitleCardEdgeLight": "123, 230, 1",
|
||||
"colorTitleCardBackGroundLight": "242, 242, 242",
|
||||
"colorTitleCardBackGroundDark": "0, 0, 0",
|
||||
"colorDiffBetweenActive": 0,
|
||||
"colorCardBorderLight": "255, 255, 255",
|
||||
"colorCardBorderDark": "0, 0, 0"
|
||||
}
|
623
.obsidian/plugins/obsidian-card-view-mode/main.js
vendored
Normal file
623
.obsidian/plugins/obsidian-card-view-mode/main.js
vendored
Normal file
File diff suppressed because one or more lines are too long
10
.obsidian/plugins/obsidian-card-view-mode/manifest.json
vendored
Normal file
10
.obsidian/plugins/obsidian-card-view-mode/manifest.json
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
{
|
||||
"id": "obsidian-card-view-mode",
|
||||
"name": "Card View Mode",
|
||||
"author": "PADAone",
|
||||
"minAppVersion": "0.12.13",
|
||||
"authorUrl": "https://github.com/yo-goto",
|
||||
"description": "Enable to view your notes as cards.",
|
||||
"version": "0.4.10",
|
||||
"isDesktopOnly": false
|
||||
}
|
305
.obsidian/plugins/obsidian-card-view-mode/styles.css
vendored
Normal file
305
.obsidian/plugins/obsidian-card-view-mode/styles.css
vendored
Normal file
@ -0,0 +1,305 @@
|
||||
@charset "UTF-8";
|
||||
/* ---------------------------------------------- */
|
||||
/* SCSS "Card View & Attention Pane" */
|
||||
/* ---------------------------------------------- */
|
||||
/*
|
||||
# changelog
|
||||
## v0.4.0
|
||||
- fixed sidebar tab background color
|
||||
## v0.4.1
|
||||
- modidified background-color to make outline & link panes or etc. clearly visible
|
||||
- main colors(background & cards) can be changed in the setting tab
|
||||
## v0.4.5
|
||||
- fixed note title width
|
||||
## v0.4.6
|
||||
- fixed note title card width in edit mode
|
||||
## v0.4.7
|
||||
- made style compatible with Banner plugin
|
||||
## v0.4.8
|
||||
- fixed banner style
|
||||
## v0.4.9
|
||||
- added several option items(drop shadow, title edge color in the both mode)
|
||||
*/
|
||||
/* ---------------------------------------------- */
|
||||
/* custom css properties */
|
||||
/* ---------------------------------------------- */
|
||||
:root {
|
||||
--cardview-side-padding: 0px;
|
||||
--cardview-preview-mode-minimum-size: 15px;
|
||||
--cardview-card-boarder-radius: 8px;
|
||||
--cardview-embedded-title-font-size: 27px;
|
||||
--cardview-embedded-title-border-right-width: 6px;
|
||||
--cardview-embedded-title-boarder-radius: 5px;
|
||||
--cardview-embedded-title-border-padding-top: 0px;
|
||||
--cardview-embedded-title-border-padding-bottom: 0px;
|
||||
--cardview-embedded-title-space-btw-card: -1px;
|
||||
--cardview-embedded-title-border-right-color: rgb(227, 76, 38);
|
||||
--cardview-embedded-title-border-right-color-edit: red;
|
||||
--cardview-embedded-title-border-right-color-preview: green;
|
||||
--cardview-debug-color-embedded-note-title-edit: red;
|
||||
--cardview-border-color: white;
|
||||
/* for debugging */
|
||||
--cardview-shadow: 0px 10px 50px rgba(0, 0, 0, 0.5);
|
||||
/* --cardview-debug-color-embedded-note-title-preview: #198415; */
|
||||
}
|
||||
|
||||
.theme-dark {
|
||||
--cardview-shadow-active: 0px 0px 10px rgba(0, 0, 0, 0.5);
|
||||
--cardview-shadow-non-active: 0px 0px 0px rgba(0, 0, 0, 0.7);
|
||||
--header-color-background: rgb(0, 0, 0);
|
||||
}
|
||||
|
||||
.theme-light {
|
||||
--cardview-shadow-active: 0px 0px 10px rgba(128, 128, 128, 0.3);
|
||||
--cardview-shadow-non-active: 0px 0px 15px rgba(128, 128, 128, 0.25);
|
||||
--header-color-background: rgb(242, 242, 242);
|
||||
}
|
||||
|
||||
body.plugin-card-view-mode {
|
||||
/* ---------------------------------------------- */
|
||||
/* card view basic feature */
|
||||
/* ---------------------------------------------- */
|
||||
/* ---------------------------------------------- */
|
||||
/* preview mode */
|
||||
/* ---------------------------------------------- */
|
||||
/* preview mode modificaition */
|
||||
/* preview mode margin*/
|
||||
/* for metadata */
|
||||
/* ---------------------------------------------- */
|
||||
/* editor mode */
|
||||
/* ---------------------------------------------- */
|
||||
/* edit mode modification */
|
||||
/* editor mode margin */
|
||||
/* ---------------------------------------------- */
|
||||
/* attention-pane */
|
||||
/* ---------------------------------------------- */
|
||||
/* change color of active pane */
|
||||
/* background color of active pane */
|
||||
/* background color of non-active pane */
|
||||
/* workspace tabs have data-type properties, it's necessary to deny them */
|
||||
/* active pane card color and shadow */
|
||||
/* non-active pane card color and shadow */
|
||||
/* ---------------------------------------------- */
|
||||
/* embeded note modification */
|
||||
/* ---------------------------------------------- */
|
||||
/* title position modification */
|
||||
/* boundary margin */
|
||||
/* link icon */
|
||||
/* ---------------------------------------------- */
|
||||
/* horizontal line modification */
|
||||
/* ---------------------------------------------- */
|
||||
/* ---------------------------------------------- */
|
||||
/* popover modification */
|
||||
/* ---------------------------------------------- */
|
||||
/* ---------------------------------------------- */
|
||||
/* banner plugin modification */
|
||||
/* ---------------------------------------------- */
|
||||
}
|
||||
body.plugin-card-view-mode .CodeMirror-sizer .CodeMirror-lines > div[role=presentation],
|
||||
body.plugin-card-view-mode .markdown-preview-view .markdown-preview-sizer.markdown-preview-section {
|
||||
/* sepfify how to color padding */
|
||||
background-clip: border-box;
|
||||
background-color: var(--cardview-background-color-default);
|
||||
border-radius: var(--cardview-card-boarder-radius);
|
||||
/* modify space between card and embeded-note-title's header */
|
||||
margin-top: 15px !important;
|
||||
/* space under card */
|
||||
padding-bottom: var(--cardview-preview-mode-minimum-size) !important;
|
||||
}
|
||||
body.plugin-card-view-mode .markdown-preview-view .markdown-preview-sizer.markdown-preview-section {
|
||||
padding-right: 20px;
|
||||
padding-left: 18px;
|
||||
border: 1px solid var(--cardview-border-color);
|
||||
}
|
||||
body.plugin-card-view-mode .markdown-preview-view {
|
||||
padding-right: calc(var(--cardview-side-padding) + 26px);
|
||||
padding-left: calc(var(--cardview-side-padding) + 15px);
|
||||
}
|
||||
body.plugin-card-view-mode .markdown-preview-view .markdown-preview-sizer.markdown-preview-section {
|
||||
padding-top: 15px;
|
||||
}
|
||||
body.plugin-card-view-mode .CodeMirror-sizer .CodeMirror-lines > div[role=presentation] {
|
||||
padding-right: 5px;
|
||||
margin-left: 15px;
|
||||
margin-right: 26px;
|
||||
border: 1px solid var(--cardview-border-color);
|
||||
}
|
||||
body.plugin-card-view-mode .view-content .markdown-source-view.mod-cm5 {
|
||||
padding-right: var(--cardview-side-padding);
|
||||
padding-left: var(--cardview-side-padding);
|
||||
}
|
||||
body.plugin-card-view-mode .workspace-leaf.mod-active .view-content {
|
||||
background-color: var(--cardview-background-color-default);
|
||||
}
|
||||
body.plugin-card-view-mode .workspace-split:not(.mod-right-split) .workspace-leaf:not(.mod-active) .workspace-leaf-content .view-content {
|
||||
background-color: var(--cardview-background-color-default);
|
||||
}
|
||||
body.plugin-card-view-mode .workspace-leaf.mod-active .view-content .CodeMirror-sizer .CodeMirror-lines > div[role=presentation],
|
||||
body.plugin-card-view-mode .workspace-leaf.mod-active .view-content .markdown-preview-view .markdown-preview-sizer.markdown-preview-section {
|
||||
background-color: var(--cardview-card-color-active);
|
||||
}
|
||||
body.plugin-card-view-mode .workspace-leaf:not(.mod-active) .view-content .CodeMirror-sizer .CodeMirror-lines > div[role=presentation],
|
||||
body.plugin-card-view-mode .workspace-leaf:not(.mod-active) .view-content .markdown-preview-view .markdown-preview-sizer.markdown-preview-section {
|
||||
background-color: var(--cardview-card-color-non-active);
|
||||
}
|
||||
body.plugin-card-view-mode .markdown-embed-title {
|
||||
margin-top: 0px;
|
||||
padding-bottom: 0px;
|
||||
text-align: center;
|
||||
font-size: 20px;
|
||||
height: 2.3rem;
|
||||
}
|
||||
body.plugin-card-view-mode .markdown-embed .markdown-preview-view {
|
||||
padding: 0px 10px 10px 10px;
|
||||
}
|
||||
body.plugin-card-view-mode .file-embed-link svg,
|
||||
body.plugin-card-view-mode .markdown-embed-link svg {
|
||||
width: 16px;
|
||||
opacity: 1;
|
||||
}
|
||||
body.plugin-card-view-mode .markdown-preview-view hr::after {
|
||||
content: "§";
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%) rotate(60deg);
|
||||
transform-origin: 50% 50%;
|
||||
padding: 0.5rem;
|
||||
color: var(--text-sub-accent);
|
||||
}
|
||||
body.plugin-card-view-mode .workspace-leaf.mod-active .view-content .markdown-preview-view hr::after {
|
||||
background-color: var(--cardview-card-color-active) !important;
|
||||
}
|
||||
body.plugin-card-view-mode .workspace-leaf:not(.mod-active) .view-content .markdown-preview-view hr::after {
|
||||
background-color: var(--cardview-card-color-non-active) !important;
|
||||
}
|
||||
body.plugin-card-view-mode .popover.hover-popover {
|
||||
background-color: var(--cardview-background-color-default);
|
||||
}
|
||||
body.plugin-card-view-mode .popover.hover-popover .markdown-embed .markdown-preview-view .markdown-preview-sizer.markdown-preview-section {
|
||||
background-color: var(--cardview-card-color-non-active);
|
||||
}
|
||||
body.plugin-card-view-mode .popover.hover-popover hr::after {
|
||||
background-color: var(--cardview-card-color-non-active) !important;
|
||||
}
|
||||
body.plugin-card-view-mode img {
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
|
||||
background-color: var(--background-secondary);
|
||||
/* Background color so PNGs with transparent backgrounds don't look weird */
|
||||
}
|
||||
body.plugin-card-view-mode .obsidian-banner-wrapper {
|
||||
margin-top: calc(var(--banner-height) - 30px);
|
||||
}
|
||||
body.plugin-card-view-mode .obsidian-banner-wrapper > .obsidian-banner {
|
||||
padding-left: 15px !important;
|
||||
padding-right: 26px !important;
|
||||
padding-top: 35px !important;
|
||||
margin-top: 0px;
|
||||
}
|
||||
body.plugin-card-view-mode .obsidian-banner-wrapper > .obsidian-banner img.banner-image {
|
||||
border-radius: var(--cardview-card-boarder-radius) var(--cardview-card-boarder-radius) 0px 0px !important;
|
||||
}
|
||||
body.plugin-card-view-mode.embedded-note-titles .obsidian-banner-wrapper > .obsidian-banner {
|
||||
margin-top: 64px;
|
||||
}
|
||||
body.plugin-card-view-mode.plugin-card-view-mode-remove-pane-boudaries {
|
||||
/* ---------------------------------------------- */
|
||||
/* remove pane boundaries */
|
||||
/* ---------------------------------------------- */
|
||||
/* right boundary */
|
||||
/* space between header titles */
|
||||
}
|
||||
body.plugin-card-view-mode.plugin-card-view-mode-remove-pane-boudaries .workspace-split.mod-vertical > * > .workspace-leaf-resize-handle,
|
||||
body.plugin-card-view-mode.plugin-card-view-mode-remove-pane-boudaries .workspace-split.mod-left-split > .workspace-leaf-resize-handle {
|
||||
background: transparent;
|
||||
border-right: 1px solid var(--background-modifier-border);
|
||||
width: 2px !important;
|
||||
}
|
||||
body.plugin-card-view-mode.plugin-card-view-mode-remove-pane-boudaries .workspace-split.mod-vertical > .workspace-leaf {
|
||||
padding: 0px;
|
||||
}
|
||||
body.plugin-card-view-mode.plugin-card-view-mode-remove-pane-boudaries .workspace-split.mod-vertical > * > .workspace-leaf-resize-handle {
|
||||
border-right: 0px !important;
|
||||
}
|
||||
body.plugin-card-view-mode.plugin-card-view-mode-hide-scrollbar {
|
||||
/* hide scrollbar */
|
||||
}
|
||||
body.plugin-card-view-mode.plugin-card-view-mode-hide-scrollbar ::-webkit-scrollbar {
|
||||
display: none !important;
|
||||
}
|
||||
body.plugin-card-view-mode.plugin-card-view-mode-dropshadow {
|
||||
/* active pane card shadow */
|
||||
/* non-active pane card shadow */
|
||||
}
|
||||
body.plugin-card-view-mode.plugin-card-view-mode-dropshadow .CodeMirror-sizer .CodeMirror-lines > div[role=presentation],
|
||||
body.plugin-card-view-mode.plugin-card-view-mode-dropshadow .markdown-preview-view .markdown-preview-sizer.markdown-preview-section {
|
||||
box-shadow: var(--cardview-shadow);
|
||||
}
|
||||
body.plugin-card-view-mode.plugin-card-view-mode-dropshadow .workspace-leaf.mod-active .view-content .CodeMirror-sizer .CodeMirror-lines > div[role=presentation],
|
||||
body.plugin-card-view-mode.plugin-card-view-mode-dropshadow .workspace-leaf.mod-active .view-content .markdown-preview-view .markdown-preview-sizer.markdown-preview-section {
|
||||
box-shadow: var(--cardview-shadow-active);
|
||||
}
|
||||
body.plugin-card-view-mode.plugin-card-view-mode-dropshadow .workspace-leaf:not(.mod-active) .view-content .CodeMirror-sizer .CodeMirror-lines > div[role=presentation],
|
||||
body.plugin-card-view-mode.plugin-card-view-mode-dropshadow .workspace-leaf:not(.mod-active) .view-content .markdown-preview-view .markdown-preview-sizer.markdown-preview-section {
|
||||
box-shadow: var(--cardview-shadow-active);
|
||||
}
|
||||
|
||||
body.plugin-card-view-mode-cardtitle {
|
||||
/* ---------------------------------------------- */
|
||||
/* embeded note title plugin modification */
|
||||
/* ---------------------------------------------- */
|
||||
/* editor mode title */
|
||||
}
|
||||
body.plugin-card-view-mode-cardtitle.plugin-card-view-mode-dropshadow h1[id*=edit] {
|
||||
box-shadow: var(--cardview-shadow-active);
|
||||
}
|
||||
body.plugin-card-view-mode-cardtitle.plugin-card-view-mode-dropshadow .markdown-preview-view.is-readable-line-width > h1 {
|
||||
box-shadow: var(--cardview-shadow-active);
|
||||
}
|
||||
body.plugin-card-view-mode-cardtitle.embedded-note-titles {
|
||||
/* editor mode title card */
|
||||
}
|
||||
body.plugin-card-view-mode-cardtitle.embedded-note-titles .CodeMirror-scroll > h1 {
|
||||
width: calc(100% - 91px);
|
||||
margin-left: 15px !important;
|
||||
margin-right: 20px !important;
|
||||
padding-top: 5px;
|
||||
padding-bottom: 5px;
|
||||
padding-right: 20px !important;
|
||||
}
|
||||
body.plugin-card-view-mode-cardtitle.embedded-note-titles h1[id*=edit] {
|
||||
font-family: var(--default-font);
|
||||
font-size: var(--cardview-embedded-title-font-size) !important;
|
||||
font-weight: bold;
|
||||
/* margin-bottom: calc(var(--cardview-embedded-title-space-btw-card) - 40px) !important; */
|
||||
margin-top: 15px;
|
||||
padding-top: var(--cardview-embedded-title-border-padding-top);
|
||||
padding-bottom: var(--cardview-embedded-title-border-padding-bottom);
|
||||
padding-left: 18px !important;
|
||||
background: var(--header-color-background);
|
||||
border-left: var(--cardview-embedded-title-border-right-width) solid var(--cardview-embedded-title-border-right-color-edit);
|
||||
border-radius: var(--cardview-embedded-title-boarder-radius);
|
||||
}
|
||||
body.plugin-card-view-mode-cardtitle.embedded-note-titles .markdown-preview-view.is-readable-line-width > h1 {
|
||||
color: var(--cardview-debug-color-embedded-note-title-preview);
|
||||
font-family: var(--default-font);
|
||||
font-size: var(--cardview-embedded-title-font-size) !important;
|
||||
font-weight: bold !important;
|
||||
margin-bottom: calc(var(--cardview-embedded-title-space-btw-card) + 11px) !important;
|
||||
margin-top: -5px;
|
||||
margin-left: 0px;
|
||||
padding-top: var(--cardview-embedded-title-border-padding-top);
|
||||
padding-bottom: calc(var(--cardview-embedded-title-border-padding-bottom) + 0px);
|
||||
padding-left: 18px !important;
|
||||
padding-right: 0px !important;
|
||||
background: var(--header-color-background);
|
||||
border-left: var(--cardview-embedded-title-border-right-width) solid var(--cardview-embedded-title-border-right-color-preview);
|
||||
border-radius: var(--cardview-embedded-title-boarder-radius);
|
||||
}
|
||||
body.plugin-card-view-mode-cardtitle.embedded-note-titles .frontmatter-container {
|
||||
margin-bottom: 13px;
|
||||
}
|
||||
body.plugin-card-view-mode-cardtitle.embedded-note-titles .obsidian-banner-wrapper > .obsidian-banner {
|
||||
margin-top: 35px;
|
||||
}
|
@ -118,3 +118,6 @@ atomic notes
|
||||
applications
|
||||
arithmétique
|
||||
ADHD.interrupting people
|
||||
Note
|
||||
Summary
|
||||
\deg
|
12579
.obsidian/plugins/obsidian-desmos/main.js
vendored
12579
.obsidian/plugins/obsidian-desmos/main.js
vendored
File diff suppressed because one or more lines are too long
@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "obsidian-desmos",
|
||||
"name": "Desmos",
|
||||
"version": "0.6.6",
|
||||
"version": "0.6.8",
|
||||
"minAppVersion": "0.9.12",
|
||||
"description": "Embed Desmos graphs into your notes",
|
||||
"author": "Nigecat"
|
||||
|
1255
.obsidian/plugins/obsidian-excalidraw-plugin/data.json
vendored
1255
.obsidian/plugins/obsidian-excalidraw-plugin/data.json
vendored
File diff suppressed because it is too large
Load Diff
103
.obsidian/plugins/obsidian-excalidraw-plugin/main.js
vendored
103
.obsidian/plugins/obsidian-excalidraw-plugin/main.js
vendored
File diff suppressed because one or more lines are too long
@ -1,11 +1,11 @@
|
||||
{
|
||||
"id": "obsidian-excalidraw-plugin",
|
||||
"name": "Excalidraw",
|
||||
"version": "2.2.5",
|
||||
"version": "2.4.3",
|
||||
"minAppVersion": "1.1.6",
|
||||
"description": "An Obsidian plugin to edit and view Excalidraw drawings",
|
||||
"author": "Zsolt Viczian",
|
||||
"authorUrl": "https://zsolt.blog",
|
||||
"authorUrl": "https://www.zsolt.blog",
|
||||
"fundingUrl": "https://ko-fi.com/zsolt",
|
||||
"helpUrl": "https://github.com/zsviczian/obsidian-excalidraw-plugin#readme",
|
||||
"isDesktopOnly": false
|
||||
|
File diff suppressed because one or more lines are too long
223
.obsidian/plugins/obsidian-hider/main.js
vendored
223
.obsidian/plugins/obsidian-hider/main.js
vendored
File diff suppressed because one or more lines are too long
@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "obsidian-hider",
|
||||
"name": "Hider",
|
||||
"version": "1.4.0",
|
||||
"version": "1.5.1",
|
||||
"minAppVersion": "1.6.0",
|
||||
"description": "Hide UI elements such as tooltips, status, titlebar and more",
|
||||
"author": "@kepano",
|
||||
|
7
.obsidian/plugins/obsidian-hider/styles.css
vendored
7
.obsidian/plugins/obsidian-hider/styles.css
vendored
@ -9,6 +9,10 @@ body.hider-vault:not(.is-mobile) .workspace-split.mod-left-split .workspace-side
|
||||
display: none;
|
||||
}
|
||||
|
||||
.hider-tabs .mod-top-left-space .view-header {
|
||||
padding-left: var(--frame-left-space);
|
||||
}
|
||||
|
||||
/* Hide sidebar buttons */
|
||||
.hider-sidebar-buttons .sidebar-toggle-button.mod-right,
|
||||
.hider-sidebar-buttons .sidebar-toggle-button.mod-left {
|
||||
@ -17,6 +21,9 @@ body.hider-vault:not(.is-mobile) .workspace-split.mod-left-split .workspace-side
|
||||
.hider-sidebar-buttons.mod-macos.is-hidden-frameless:not(.is-popout-window) .workspace .workspace-tabs.mod-top-right-space .workspace-tab-header-container {
|
||||
padding-right: 4px;
|
||||
}
|
||||
.hider-sidebar-buttons.mod-macos {
|
||||
--frame-left-space: 60px;
|
||||
}
|
||||
|
||||
/* Hide meta */
|
||||
.hider-meta .markdown-reading-view .metadata-container {
|
||||
|
@ -21,5 +21,5 @@
|
||||
}
|
||||
],
|
||||
"useDomainFolders": false,
|
||||
"lastSyncDate": "2024-07-07T02:11:58.718Z"
|
||||
"lastSyncDate": "2024-08-13T19:01:56.699Z"
|
||||
}
|
17
.obsidian/plugins/obsidian-latex-suite/data.json
vendored
17
.obsidian/plugins/obsidian-latex-suite/data.json
vendored
File diff suppressed because one or more lines are too long
247
.obsidian/plugins/obsidian-latex-suite/main.js
vendored
247
.obsidian/plugins/obsidian-latex-suite/main.js
vendored
File diff suppressed because one or more lines are too long
@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "obsidian-latex-suite",
|
||||
"name": "Latex Suite",
|
||||
"version": "1.9.3",
|
||||
"version": "1.9.5",
|
||||
"minAppVersion": "1.0.0",
|
||||
"description": "Make typesetting LaTeX math as fast as handwriting through snippets, text expansion, and editor enhancements",
|
||||
"author": "artisticat",
|
||||
|
64
.obsidian/plugins/obsidian-list-callouts/data.json
vendored
Normal file
64
.obsidian/plugins/obsidian-list-callouts/data.json
vendored
Normal file
@ -0,0 +1,64 @@
|
||||
[
|
||||
{
|
||||
"color": "255, 214, 0",
|
||||
"char": "I",
|
||||
"icon": "lucide-lightbulb"
|
||||
},
|
||||
{
|
||||
"color": "255, 145, 0",
|
||||
"char": "?",
|
||||
"icon": "question-mark-glyph"
|
||||
},
|
||||
{
|
||||
"color": "255, 23, 68",
|
||||
"char": "!",
|
||||
"icon": "lucide-alert-triangle"
|
||||
},
|
||||
{
|
||||
"color": "124, 77, 255",
|
||||
"char": "=",
|
||||
"icon": "lucide-list"
|
||||
},
|
||||
{
|
||||
"color": "0, 184, 212",
|
||||
"char": "@"
|
||||
},
|
||||
{
|
||||
"color": "0, 200, 83",
|
||||
"char": "$"
|
||||
},
|
||||
{
|
||||
"color": "158, 158, 158",
|
||||
"char": "%"
|
||||
},
|
||||
{
|
||||
"char": "p",
|
||||
"color": "61, 173, 0",
|
||||
"icon": "lucide-thumbs-up",
|
||||
"custom": true
|
||||
},
|
||||
{
|
||||
"char": "c",
|
||||
"color": "255, 0, 0",
|
||||
"icon": "lucide-thumbs-down",
|
||||
"custom": true
|
||||
},
|
||||
{
|
||||
"char": "<",
|
||||
"color": "240, 90, 80",
|
||||
"icon": "lucide-calendar",
|
||||
"custom": true
|
||||
},
|
||||
{
|
||||
"char": "author::",
|
||||
"color": "158, 158, 158",
|
||||
"icon": "lucide-user",
|
||||
"custom": true
|
||||
},
|
||||
{
|
||||
"char": "link::",
|
||||
"color": "142, 190, 255",
|
||||
"icon": "link",
|
||||
"custom": true
|
||||
}
|
||||
]
|
6
.obsidian/plugins/obsidian-list-callouts/main.js
vendored
Normal file
6
.obsidian/plugins/obsidian-list-callouts/main.js
vendored
Normal file
File diff suppressed because one or more lines are too long
10
.obsidian/plugins/obsidian-list-callouts/manifest.json
vendored
Normal file
10
.obsidian/plugins/obsidian-list-callouts/manifest.json
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
{
|
||||
"id": "obsidian-list-callouts",
|
||||
"name": "List Callouts",
|
||||
"version": "1.2.9",
|
||||
"minAppVersion": "1.1.1",
|
||||
"description": "Create simple callouts in lists.",
|
||||
"author": "mgmeyers",
|
||||
"authorUrl": "https://github.com/mgmeyers/obsidian-list-callouts",
|
||||
"isDesktopOnly": false
|
||||
}
|
279
.obsidian/plugins/obsidian-list-callouts/styles.css
vendored
Normal file
279
.obsidian/plugins/obsidian-list-callouts/styles.css
vendored
Normal file
@ -0,0 +1,279 @@
|
||||
/* @settings
|
||||
|
||||
name: List Callouts
|
||||
id: list-callouts
|
||||
settings:
|
||||
-
|
||||
id: lc-bg-opacity-light
|
||||
title: "Background Intensity (light)"
|
||||
type: variable-number-slider
|
||||
default: 0.1
|
||||
min: 0
|
||||
max: 1
|
||||
step: 0.01
|
||||
-
|
||||
id: lc-bg-opacity-dark
|
||||
title: "Background Intensity (dark)"
|
||||
type: variable-number-slider
|
||||
default: 0.15
|
||||
min: 0
|
||||
max: 1
|
||||
step: 0.01
|
||||
-
|
||||
id: lc-bg-top
|
||||
title: "Callout Padding: Top"
|
||||
type: variable-number-slider
|
||||
default: 0
|
||||
format: px
|
||||
min: 0
|
||||
max: 60
|
||||
step: 1
|
||||
-
|
||||
id: lc-bg-right
|
||||
title: "Callout Padding: Right"
|
||||
type: variable-number-slider
|
||||
default: 0
|
||||
format: px
|
||||
min: 0
|
||||
max: 60
|
||||
step: 1
|
||||
-
|
||||
id: lc-bg-bottom
|
||||
title: "Callout Padding: Bottom"
|
||||
type: variable-number-slider
|
||||
default: 0
|
||||
format: px
|
||||
min: 0
|
||||
max: 60
|
||||
step: 1
|
||||
-
|
||||
id: lc-bg-left
|
||||
title: "Callout Padding: Left"
|
||||
type: variable-number-slider
|
||||
default: 21
|
||||
format: px
|
||||
min: 0
|
||||
max: 60
|
||||
step: 1
|
||||
-
|
||||
id: lc-bg-left-checkbox-lp
|
||||
title: "Callout Padding: Left (live preview checkbox)"
|
||||
type: variable-number-slider
|
||||
default: 28
|
||||
format: px
|
||||
min: 0
|
||||
max: 60
|
||||
step: 1
|
||||
-
|
||||
id: lc-bg-left-checkbox
|
||||
title: "Callout Padding: Left (source checkbox)"
|
||||
type: variable-number-slider
|
||||
default: 55
|
||||
format: px
|
||||
min: 0
|
||||
max: 60
|
||||
step: 1
|
||||
-
|
||||
id: lc-bg-top-reading
|
||||
title: "Callout Padding: Top (reading mode)"
|
||||
type: variable-number-slider
|
||||
default: 0
|
||||
format: px
|
||||
min: 0
|
||||
max: 60
|
||||
step: 1
|
||||
-
|
||||
id: lc-bg-right-reading
|
||||
title: "Callout Padding: Right (reading mode)"
|
||||
type: variable-number-slider
|
||||
default: 0
|
||||
format: px
|
||||
min: 0
|
||||
max: 60
|
||||
step: 1
|
||||
-
|
||||
id: lc-bg-bottom-reading
|
||||
title: "Callout Padding: Bottom (reading mode)"
|
||||
type: variable-number-slider
|
||||
default: 0
|
||||
format: px
|
||||
min: 0
|
||||
max: 60
|
||||
step: 1
|
||||
-
|
||||
id: lc-bg-left-reading
|
||||
title: "Callout Padding: Left (reading mode)"
|
||||
type: variable-number-slider
|
||||
default: 27
|
||||
format: px
|
||||
min: 0
|
||||
max: 60
|
||||
step: 1
|
||||
*/
|
||||
|
||||
:root {
|
||||
--lc-bg-top: 0px;
|
||||
--lc-bg-right: 0px;
|
||||
--lc-bg-bottom: 0px;
|
||||
--lc-bg-left: 21px;
|
||||
--lc-bg-left-checkbox: 55px;
|
||||
--lc-bg-left-checkbox-lp: 28px;
|
||||
|
||||
--lc-bg-top-reading: 0px;
|
||||
--lc-bg-right-reading: 0px;
|
||||
--lc-bg-bottom-reading: 0px;
|
||||
--lc-bg-left-reading: 27px;
|
||||
|
||||
--lc-bg-opacity-light: 0.1;
|
||||
--lc-bg-opacity-dark: 0.15;
|
||||
}
|
||||
|
||||
.lc-list-bg {
|
||||
background-color: var(--background-primary);
|
||||
background-clip: content-box;
|
||||
position: absolute;
|
||||
top: calc(-1 * var(--lc-bg-top));
|
||||
right: calc(-1 * var(--lc-bg-right));
|
||||
bottom: calc(-1 * var(--lc-bg-bottom));
|
||||
left: calc(-1 * var(--lc-bg-left));
|
||||
display: block;
|
||||
padding: inherit;
|
||||
z-index: -1;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.HyperMD-task-line > .lc-list-bg {
|
||||
left: calc(-1 * var(--lc-bg-left-checkbox-lp));
|
||||
}
|
||||
|
||||
.markdown-source-view:not(.is-live-preview) .HyperMD-task-line > .lc-list-bg {
|
||||
left: calc(-1 * var(--lc-bg-left-checkbox));
|
||||
}
|
||||
|
||||
.lc-list-bg::after {
|
||||
background-color: rgba(var(--lc-callout-color), var(--lc-bg-opacity-light));
|
||||
content: " ";
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.theme-dark .lc-list-bg::after {
|
||||
background-color: rgba(var(--lc-callout-color), var(--lc-bg-opacity-dark));
|
||||
}
|
||||
|
||||
.lc-list-marker {
|
||||
font-family: var(--font-monospace);
|
||||
font-weight: bold;
|
||||
color: rgb(var(--lc-callout-color));
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.lc-list-marker > svg {
|
||||
position: relative;
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
top: 0.125em;
|
||||
}
|
||||
|
||||
.lc-li-wrapper {
|
||||
z-index: 1;
|
||||
position: relative;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.lc-li-wrapper::after {
|
||||
z-index: -1;
|
||||
position: absolute;
|
||||
background-color: rgba(var(--lc-callout-color), var(--lc-bg-opacity-light));
|
||||
top: calc(-1 * var(--lc-bg-top-reading) + 1px);
|
||||
right: calc(-1 * var(--lc-bg-right-reading) + 1px);
|
||||
bottom: calc(-1 * var(--lc-bg-bottom-reading) + 1px);
|
||||
left: calc(-1 * var(--lc-bg-left-reading) + 1px);
|
||||
content: "";
|
||||
display: block;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.theme-dark .lc-li-wrapper::after {
|
||||
background-color: rgba(var(--lc-callout-color), var(--lc-bg-opacity-dark));
|
||||
}
|
||||
|
||||
/* Settings */
|
||||
|
||||
.lc-setting {
|
||||
padding: 15px 0;
|
||||
border-top: 1px solid var(--background-modifier-border);
|
||||
}
|
||||
|
||||
.lc-setting:last-child {
|
||||
padding-bottom: 200px;
|
||||
}
|
||||
|
||||
.lc-setting .lc-list-bg {
|
||||
background-color: transparent;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.lc-setting input,
|
||||
.lc-setting .lc-input-container > button {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.lc-setting input {
|
||||
width: 4em;
|
||||
}
|
||||
|
||||
.lc-callout-container {
|
||||
background-color: var(--background-primary);
|
||||
padding: 10px 15px 15px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.lc-input-container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.lc-input-right-align {
|
||||
flex-grow: 1;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.lc-menu {
|
||||
--icon-color: var(--text-normal);
|
||||
--icon-color-hover: var(--text-normal);
|
||||
--icon-color-active: var(--text-accent);
|
||||
--icon-color-focused: var(--text-normal);
|
||||
|
||||
background-color: var(--background-primary);
|
||||
border: 1px solid var(--background-modifier-border);
|
||||
border-radius: var(--radius-m);
|
||||
width: 250px;
|
||||
height: 200px;
|
||||
overflow: hidden;
|
||||
position: absolute;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
z-index: 10;
|
||||
padding: 4px;
|
||||
box-shadow: var(--shadow-s);
|
||||
}
|
||||
|
||||
.lc-menu-search input {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.lc-menu-icons {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 4px;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
flex-grow: 1;
|
||||
align-items: flex-start;
|
||||
align-content: flex-start;
|
||||
justify-content: flex-start;
|
||||
}
|
53
.obsidian/plugins/obsidian-markmind/main.js
vendored
53
.obsidian/plugins/obsidian-markmind/main.js
vendored
File diff suppressed because one or more lines are too long
@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "obsidian-markmind",
|
||||
"name": "Markmind",
|
||||
"version": "1.9.9",
|
||||
"version": "3.0.2",
|
||||
"minAppVersion": "0.9.12",
|
||||
"description": "This is a mindmap , outline tool for obsidian.",
|
||||
"author": "Mark",
|
||||
|
234
.obsidian/plugins/obsidian-markmind/styles.css
vendored
234
.obsidian/plugins/obsidian-markmind/styles.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "obsidian-meta-bind-plugin",
|
||||
"name": "Meta Bind",
|
||||
"version": "1.1.1",
|
||||
"version": "1.1.3",
|
||||
"minAppVersion": "1.4.0",
|
||||
"description": "Make your notes interactive with inline input fields, metadata displays, and buttons.",
|
||||
"author": "Moritz Jung",
|
||||
|
@ -8,7 +8,7 @@
|
||||
"lineWidth": 40,
|
||||
"lineWidthWide": 5000,
|
||||
"maxWidth": 98,
|
||||
"textNormal": 20,
|
||||
"textNormal": 25.5,
|
||||
"textSmall": 13,
|
||||
"imgGrid": false,
|
||||
"imgWidth": "img-default-width",
|
||||
|
977
.obsidian/plugins/obsidian-minimal-settings/main.js
vendored
977
.obsidian/plugins/obsidian-minimal-settings/main.js
vendored
File diff suppressed because one or more lines are too long
@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "obsidian-minimal-settings",
|
||||
"name": "Minimal Theme Settings",
|
||||
"version": "8.0.2",
|
||||
"version": "8.1.1",
|
||||
"minAppVersion": "1.1.9",
|
||||
"description": "Change the colors, fonts and features of Minimal Theme.",
|
||||
"author": "@kepano",
|
||||
|
@ -5,12 +5,12 @@
|
||||
{
|
||||
"id": 2,
|
||||
"name": "memoire-L3",
|
||||
"lastUpdate": 1720318317570
|
||||
"lastUpdate": 1726511949742
|
||||
},
|
||||
{
|
||||
"id": 1,
|
||||
"name": "Ma bibliothèque",
|
||||
"lastUpdate": 1720318317575
|
||||
"lastUpdate": 1726511950597
|
||||
}
|
||||
],
|
||||
"renderCitations": true,
|
||||
|
694
.obsidian/plugins/obsidian-share-as-gist/main.js
vendored
694
.obsidian/plugins/obsidian-share-as-gist/main.js
vendored
@ -62,6 +62,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
||||
mod
|
||||
));
|
||||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
||||
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
||||
var __async = (__this, __arguments, generator) => {
|
||||
return new Promise((resolve, reject) => {
|
||||
var fulfilled = (value) => {
|
||||
@ -213,15 +214,15 @@ var require_is_extendable = __commonJS({
|
||||
var require_extend_shallow = __commonJS({
|
||||
"node_modules/extend-shallow/index.js"(exports2, module2) {
|
||||
"use strict";
|
||||
var isObject2 = require_is_extendable();
|
||||
var isObject = require_is_extendable();
|
||||
module2.exports = function extend(o) {
|
||||
if (!isObject2(o)) {
|
||||
if (!isObject(o)) {
|
||||
o = {};
|
||||
}
|
||||
var len = arguments.length;
|
||||
for (var i = 1; i < len; i++) {
|
||||
var obj = arguments[i];
|
||||
if (isObject2(obj)) {
|
||||
if (isObject(obj)) {
|
||||
assign(o, obj);
|
||||
}
|
||||
}
|
||||
@ -354,7 +355,7 @@ var require_common = __commonJS({
|
||||
function isNothing(subject) {
|
||||
return typeof subject === "undefined" || subject === null;
|
||||
}
|
||||
function isObject2(subject) {
|
||||
function isObject(subject) {
|
||||
return typeof subject === "object" && subject !== null;
|
||||
}
|
||||
function toArray(sequence) {
|
||||
@ -384,7 +385,7 @@ var require_common = __commonJS({
|
||||
return number === 0 && Number.NEGATIVE_INFINITY === 1 / number;
|
||||
}
|
||||
module2.exports.isNothing = isNothing;
|
||||
module2.exports.isObject = isObject2;
|
||||
module2.exports.isObject = isObject;
|
||||
module2.exports.toArray = toArray;
|
||||
module2.exports.repeat = repeat;
|
||||
module2.exports.isNegativeZero = isNegativeZero;
|
||||
@ -3549,223 +3550,6 @@ var require_gray_matter = __commonJS({
|
||||
}
|
||||
});
|
||||
|
||||
// node_modules/before-after-hook/lib/register.js
|
||||
var require_register = __commonJS({
|
||||
"node_modules/before-after-hook/lib/register.js"(exports2, module2) {
|
||||
module2.exports = register;
|
||||
function register(state, name, method, options2) {
|
||||
if (typeof method !== "function") {
|
||||
throw new Error("method for before hook must be a function");
|
||||
}
|
||||
if (!options2) {
|
||||
options2 = {};
|
||||
}
|
||||
if (Array.isArray(name)) {
|
||||
return name.reverse().reduce(function(callback, name2) {
|
||||
return register.bind(null, state, name2, callback, options2);
|
||||
}, method)();
|
||||
}
|
||||
return Promise.resolve().then(function() {
|
||||
if (!state.registry[name]) {
|
||||
return method(options2);
|
||||
}
|
||||
return state.registry[name].reduce(function(method2, registered) {
|
||||
return registered.hook.bind(null, method2, options2);
|
||||
}, method)();
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
// node_modules/before-after-hook/lib/add.js
|
||||
var require_add = __commonJS({
|
||||
"node_modules/before-after-hook/lib/add.js"(exports2, module2) {
|
||||
module2.exports = addHook;
|
||||
function addHook(state, kind, name, hook2) {
|
||||
var orig = hook2;
|
||||
if (!state.registry[name]) {
|
||||
state.registry[name] = [];
|
||||
}
|
||||
if (kind === "before") {
|
||||
hook2 = function(method, options2) {
|
||||
return Promise.resolve().then(orig.bind(null, options2)).then(method.bind(null, options2));
|
||||
};
|
||||
}
|
||||
if (kind === "after") {
|
||||
hook2 = function(method, options2) {
|
||||
var result;
|
||||
return Promise.resolve().then(method.bind(null, options2)).then(function(result_) {
|
||||
result = result_;
|
||||
return orig(result, options2);
|
||||
}).then(function() {
|
||||
return result;
|
||||
});
|
||||
};
|
||||
}
|
||||
if (kind === "error") {
|
||||
hook2 = function(method, options2) {
|
||||
return Promise.resolve().then(method.bind(null, options2)).catch(function(error) {
|
||||
return orig(error, options2);
|
||||
});
|
||||
};
|
||||
}
|
||||
state.registry[name].push({
|
||||
hook: hook2,
|
||||
orig
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
// node_modules/before-after-hook/lib/remove.js
|
||||
var require_remove = __commonJS({
|
||||
"node_modules/before-after-hook/lib/remove.js"(exports2, module2) {
|
||||
module2.exports = removeHook;
|
||||
function removeHook(state, name, method) {
|
||||
if (!state.registry[name]) {
|
||||
return;
|
||||
}
|
||||
var index = state.registry[name].map(function(registered) {
|
||||
return registered.orig;
|
||||
}).indexOf(method);
|
||||
if (index === -1) {
|
||||
return;
|
||||
}
|
||||
state.registry[name].splice(index, 1);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
// node_modules/before-after-hook/index.js
|
||||
var require_before_after_hook = __commonJS({
|
||||
"node_modules/before-after-hook/index.js"(exports2, module2) {
|
||||
var register = require_register();
|
||||
var addHook = require_add();
|
||||
var removeHook = require_remove();
|
||||
var bind = Function.bind;
|
||||
var bindable = bind.bind(bind);
|
||||
function bindApi(hook2, state, name) {
|
||||
var removeHookRef = bindable(removeHook, null).apply(
|
||||
null,
|
||||
name ? [state, name] : [state]
|
||||
);
|
||||
hook2.api = { remove: removeHookRef };
|
||||
hook2.remove = removeHookRef;
|
||||
["before", "error", "after", "wrap"].forEach(function(kind) {
|
||||
var args = name ? [state, kind, name] : [state, kind];
|
||||
hook2[kind] = hook2.api[kind] = bindable(addHook, null).apply(null, args);
|
||||
});
|
||||
}
|
||||
function HookSingular() {
|
||||
var singularHookName = "h";
|
||||
var singularHookState = {
|
||||
registry: {}
|
||||
};
|
||||
var singularHook = register.bind(null, singularHookState, singularHookName);
|
||||
bindApi(singularHook, singularHookState, singularHookName);
|
||||
return singularHook;
|
||||
}
|
||||
function HookCollection() {
|
||||
var state = {
|
||||
registry: {}
|
||||
};
|
||||
var hook2 = register.bind(null, state);
|
||||
bindApi(hook2, state);
|
||||
return hook2;
|
||||
}
|
||||
var collectionHookDeprecationMessageDisplayed = false;
|
||||
function Hook() {
|
||||
if (!collectionHookDeprecationMessageDisplayed) {
|
||||
console.warn(
|
||||
'[before-after-hook]: "Hook()" repurposing warning, use "Hook.Collection()". Read more: https://git.io/upgrade-before-after-hook-to-1.4'
|
||||
);
|
||||
collectionHookDeprecationMessageDisplayed = true;
|
||||
}
|
||||
return HookCollection();
|
||||
}
|
||||
Hook.Singular = HookSingular.bind();
|
||||
Hook.Collection = HookCollection.bind();
|
||||
module2.exports = Hook;
|
||||
module2.exports.Hook = Hook;
|
||||
module2.exports.Singular = Hook.Singular;
|
||||
module2.exports.Collection = Hook.Collection;
|
||||
}
|
||||
});
|
||||
|
||||
// node_modules/wrappy/wrappy.js
|
||||
var require_wrappy = __commonJS({
|
||||
"node_modules/wrappy/wrappy.js"(exports2, module2) {
|
||||
module2.exports = wrappy;
|
||||
function wrappy(fn, cb) {
|
||||
if (fn && cb) return wrappy(fn)(cb);
|
||||
if (typeof fn !== "function")
|
||||
throw new TypeError("need wrapper function");
|
||||
Object.keys(fn).forEach(function(k) {
|
||||
wrapper[k] = fn[k];
|
||||
});
|
||||
return wrapper;
|
||||
function wrapper() {
|
||||
var args = new Array(arguments.length);
|
||||
for (var i = 0; i < args.length; i++) {
|
||||
args[i] = arguments[i];
|
||||
}
|
||||
var ret = fn.apply(this, args);
|
||||
var cb2 = args[args.length - 1];
|
||||
if (typeof ret === "function" && ret !== cb2) {
|
||||
Object.keys(cb2).forEach(function(k) {
|
||||
ret[k] = cb2[k];
|
||||
});
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
// node_modules/once/once.js
|
||||
var require_once = __commonJS({
|
||||
"node_modules/once/once.js"(exports2, module2) {
|
||||
var wrappy = require_wrappy();
|
||||
module2.exports = wrappy(once2);
|
||||
module2.exports.strict = wrappy(onceStrict);
|
||||
once2.proto = once2(function() {
|
||||
Object.defineProperty(Function.prototype, "once", {
|
||||
value: function() {
|
||||
return once2(this);
|
||||
},
|
||||
configurable: true
|
||||
});
|
||||
Object.defineProperty(Function.prototype, "onceStrict", {
|
||||
value: function() {
|
||||
return onceStrict(this);
|
||||
},
|
||||
configurable: true
|
||||
});
|
||||
});
|
||||
function once2(fn) {
|
||||
var f = function() {
|
||||
if (f.called) return f.value;
|
||||
f.called = true;
|
||||
return f.value = fn.apply(this, arguments);
|
||||
};
|
||||
f.called = false;
|
||||
return f;
|
||||
}
|
||||
function onceStrict(fn) {
|
||||
var f = function() {
|
||||
if (f.called)
|
||||
throw new Error(f.onceError);
|
||||
f.called = true;
|
||||
return f.value = fn.apply(this, arguments);
|
||||
};
|
||||
var name = fn.name || "Function wrapped with `once`";
|
||||
f.onceError = name + " shouldn't be called more than once";
|
||||
f.called = false;
|
||||
return f;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
// main.ts
|
||||
var main_exports = {};
|
||||
__export(main_exports, {
|
||||
@ -3775,39 +3559,125 @@ module.exports = __toCommonJS(main_exports);
|
||||
var import_obsidian = require("obsidian");
|
||||
var import_gray_matter2 = __toESM(require_gray_matter());
|
||||
|
||||
// node_modules/universal-user-agent/dist-web/index.js
|
||||
// node_modules/@octokit/rest/node_modules/universal-user-agent/index.js
|
||||
function getUserAgent() {
|
||||
if (typeof navigator === "object" && "userAgent" in navigator) {
|
||||
return navigator.userAgent;
|
||||
}
|
||||
if (typeof process === "object" && "version" in process) {
|
||||
if (typeof process === "object" && process.version !== void 0) {
|
||||
return `Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`;
|
||||
}
|
||||
return "<environment undetectable>";
|
||||
}
|
||||
|
||||
// node_modules/@octokit/core/dist-web/index.js
|
||||
var import_before_after_hook = __toESM(require_before_after_hook());
|
||||
|
||||
// node_modules/is-plain-object/dist/is-plain-object.mjs
|
||||
function isObject(o) {
|
||||
return Object.prototype.toString.call(o) === "[object Object]";
|
||||
// node_modules/@octokit/rest/node_modules/before-after-hook/lib/register.js
|
||||
function register(state, name, method, options2) {
|
||||
if (typeof method !== "function") {
|
||||
throw new Error("method for before hook must be a function");
|
||||
}
|
||||
function isPlainObject(o) {
|
||||
var ctor, prot;
|
||||
if (isObject(o) === false) return false;
|
||||
ctor = o.constructor;
|
||||
if (ctor === void 0) return true;
|
||||
prot = ctor.prototype;
|
||||
if (isObject(prot) === false) return false;
|
||||
if (prot.hasOwnProperty("isPrototypeOf") === false) {
|
||||
return false;
|
||||
if (!options2) {
|
||||
options2 = {};
|
||||
}
|
||||
return true;
|
||||
if (Array.isArray(name)) {
|
||||
return name.reverse().reduce((callback, name2) => {
|
||||
return register.bind(null, state, name2, callback, options2);
|
||||
}, method)();
|
||||
}
|
||||
return Promise.resolve().then(() => {
|
||||
if (!state.registry[name]) {
|
||||
return method(options2);
|
||||
}
|
||||
return state.registry[name].reduce((method2, registered) => {
|
||||
return registered.hook.bind(null, method2, options2);
|
||||
}, method)();
|
||||
});
|
||||
}
|
||||
|
||||
// node_modules/@octokit/endpoint/dist-web/index.js
|
||||
var VERSION = "9.0.0";
|
||||
// node_modules/@octokit/rest/node_modules/before-after-hook/lib/add.js
|
||||
function addHook(state, kind, name, hook2) {
|
||||
const orig = hook2;
|
||||
if (!state.registry[name]) {
|
||||
state.registry[name] = [];
|
||||
}
|
||||
if (kind === "before") {
|
||||
hook2 = (method, options2) => {
|
||||
return Promise.resolve().then(orig.bind(null, options2)).then(method.bind(null, options2));
|
||||
};
|
||||
}
|
||||
if (kind === "after") {
|
||||
hook2 = (method, options2) => {
|
||||
let result;
|
||||
return Promise.resolve().then(method.bind(null, options2)).then((result_) => {
|
||||
result = result_;
|
||||
return orig(result, options2);
|
||||
}).then(() => {
|
||||
return result;
|
||||
});
|
||||
};
|
||||
}
|
||||
if (kind === "error") {
|
||||
hook2 = (method, options2) => {
|
||||
return Promise.resolve().then(method.bind(null, options2)).catch((error) => {
|
||||
return orig(error, options2);
|
||||
});
|
||||
};
|
||||
}
|
||||
state.registry[name].push({
|
||||
hook: hook2,
|
||||
orig
|
||||
});
|
||||
}
|
||||
|
||||
// node_modules/@octokit/rest/node_modules/before-after-hook/lib/remove.js
|
||||
function removeHook(state, name, method) {
|
||||
if (!state.registry[name]) {
|
||||
return;
|
||||
}
|
||||
const index = state.registry[name].map((registered) => {
|
||||
return registered.orig;
|
||||
}).indexOf(method);
|
||||
if (index === -1) {
|
||||
return;
|
||||
}
|
||||
state.registry[name].splice(index, 1);
|
||||
}
|
||||
|
||||
// node_modules/@octokit/rest/node_modules/before-after-hook/index.js
|
||||
var bind = Function.bind;
|
||||
var bindable = bind.bind(bind);
|
||||
function bindApi(hook2, state, name) {
|
||||
const removeHookRef = bindable(removeHook, null).apply(
|
||||
null,
|
||||
name ? [state, name] : [state]
|
||||
);
|
||||
hook2.api = { remove: removeHookRef };
|
||||
hook2.remove = removeHookRef;
|
||||
["before", "error", "after", "wrap"].forEach((kind) => {
|
||||
const args = name ? [state, kind, name] : [state, kind];
|
||||
hook2[kind] = hook2.api[kind] = bindable(addHook, null).apply(null, args);
|
||||
});
|
||||
}
|
||||
function Singular() {
|
||||
const singularHookName = Symbol("Singular");
|
||||
const singularHookState = {
|
||||
registry: {}
|
||||
};
|
||||
const singularHook = register.bind(null, singularHookState, singularHookName);
|
||||
bindApi(singularHook, singularHookState, singularHookName);
|
||||
return singularHook;
|
||||
}
|
||||
function Collection() {
|
||||
const state = {
|
||||
registry: {}
|
||||
};
|
||||
const hook2 = register.bind(null, state);
|
||||
bindApi(hook2, state);
|
||||
return hook2;
|
||||
}
|
||||
var before_after_hook_default = { Singular, Collection };
|
||||
|
||||
// node_modules/@octokit/rest/node_modules/@octokit/endpoint/dist-bundle/index.js
|
||||
var VERSION = "0.0.0-development";
|
||||
var userAgent = `octokit-endpoint.js/${VERSION} ${getUserAgent()}`;
|
||||
var DEFAULTS = {
|
||||
method: "GET",
|
||||
@ -3829,6 +3699,17 @@ function lowercaseKeys(object) {
|
||||
return newObj;
|
||||
}, {});
|
||||
}
|
||||
function isPlainObject(value) {
|
||||
if (typeof value !== "object" || value === null)
|
||||
return false;
|
||||
if (Object.prototype.toString.call(value) !== "[object Object]")
|
||||
return false;
|
||||
const proto = Object.getPrototypeOf(value);
|
||||
if (proto === null)
|
||||
return true;
|
||||
const Ctor = Object.prototype.hasOwnProperty.call(proto, "constructor") && proto.constructor;
|
||||
return typeof Ctor === "function" && Ctor instanceof Ctor && Function.prototype.call(Ctor) === Function.prototype.call(value);
|
||||
}
|
||||
function mergeDeep(defaults, options2) {
|
||||
const result = Object.assign({}, defaults);
|
||||
Object.keys(options2).forEach((key) => {
|
||||
@ -3852,7 +3733,7 @@ function removeUndefinedProperties(obj) {
|
||||
return obj;
|
||||
}
|
||||
function merge(defaults, route, options2) {
|
||||
var _a2;
|
||||
var _a;
|
||||
if (typeof route === "string") {
|
||||
let [method, url] = route.split(" ");
|
||||
options2 = Object.assign(url ? { method, url } : { url: method }, options2);
|
||||
@ -3864,7 +3745,7 @@ function merge(defaults, route, options2) {
|
||||
removeUndefinedProperties(options2.headers);
|
||||
const mergedOptions = mergeDeep(defaults || {}, options2);
|
||||
if (options2.url === "/graphql") {
|
||||
if (defaults && ((_a2 = defaults.mediaType.previews) == null ? void 0 : _a2.length)) {
|
||||
if (defaults && ((_a = defaults.mediaType.previews) == null ? void 0 : _a.length)) {
|
||||
mergedOptions.mediaType.previews = defaults.mediaType.previews.filter(
|
||||
(preview) => !mergedOptions.mediaType.previews.includes(preview)
|
||||
).concat(mergedOptions.mediaType.previews);
|
||||
@ -3898,10 +3779,13 @@ function extractUrlVariableNames(url) {
|
||||
return matches.map(removeNonChars).reduce((a, b) => a.concat(b), []);
|
||||
}
|
||||
function omit(object, keysToOmit) {
|
||||
return Object.keys(object).filter((option) => !keysToOmit.includes(option)).reduce((obj, key) => {
|
||||
obj[key] = object[key];
|
||||
return obj;
|
||||
}, {});
|
||||
const result = { __proto__: null };
|
||||
for (const key of Object.keys(object)) {
|
||||
if (keysToOmit.indexOf(key) === -1) {
|
||||
result[key] = object[key];
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
function encodeReserved(str2) {
|
||||
return str2.split(/(%[0-9A-Fa-f]{2})/g).map(function(part) {
|
||||
@ -3997,7 +3881,7 @@ function parseUrl(template) {
|
||||
}
|
||||
function expand(template, context) {
|
||||
var operators = ["+", "#", ".", "/", ";", "?", "&"];
|
||||
return template.replace(
|
||||
template = template.replace(
|
||||
/\{([^\{\}]+)\}|([^\{\}]+)/g,
|
||||
function(_, expression, literal) {
|
||||
if (expression) {
|
||||
@ -4027,9 +3911,14 @@ function expand(template, context) {
|
||||
}
|
||||
}
|
||||
);
|
||||
if (template === "/") {
|
||||
return template;
|
||||
} else {
|
||||
return template.replace(/\/$/, "");
|
||||
}
|
||||
}
|
||||
function parse2(options2) {
|
||||
var _a2;
|
||||
var _a;
|
||||
let method = options2.method.toUpperCase();
|
||||
let url = (options2.url || "/").replace(/:([a-z]\w+)/g, "{$1}");
|
||||
let headers = Object.assign({}, options2.headers);
|
||||
@ -4060,7 +3949,7 @@ function parse2(options2) {
|
||||
).join(",");
|
||||
}
|
||||
if (url.endsWith("/graphql")) {
|
||||
if ((_a2 = options2.mediaType.previews) == null ? void 0 : _a2.length) {
|
||||
if ((_a = options2.mediaType.previews) == null ? void 0 : _a.length) {
|
||||
const previewsFromAcceptHeader = headers.accept.match(/[\w-]+(?=-preview)/g) || [];
|
||||
headers.accept = previewsFromAcceptHeader.concat(options2.mediaType.previews).map((preview) => {
|
||||
const format = options2.mediaType.format ? `.${options2.mediaType.format}` : "+json";
|
||||
@ -4107,36 +3996,30 @@ function withDefaults(oldDefaults, newDefaults) {
|
||||
}
|
||||
var endpoint = withDefaults(null, DEFAULTS);
|
||||
|
||||
// node_modules/deprecation/dist-web/index.js
|
||||
var Deprecation = class extends Error {
|
||||
constructor(message) {
|
||||
super(message);
|
||||
if (Error.captureStackTrace) {
|
||||
Error.captureStackTrace(this, this.constructor);
|
||||
}
|
||||
this.name = "Deprecation";
|
||||
}
|
||||
};
|
||||
|
||||
// node_modules/@octokit/request-error/dist-web/index.js
|
||||
var import_once = __toESM(require_once());
|
||||
var logOnceCode = (0, import_once.default)((deprecation) => console.warn(deprecation));
|
||||
var logOnceHeaders = (0, import_once.default)((deprecation) => console.warn(deprecation));
|
||||
// node_modules/@octokit/rest/node_modules/@octokit/request-error/dist-src/index.js
|
||||
var RequestError = class extends Error {
|
||||
constructor(message, statusCode, options2) {
|
||||
super(message);
|
||||
__publicField(this, "name");
|
||||
/**
|
||||
* http status code
|
||||
*/
|
||||
__publicField(this, "status");
|
||||
/**
|
||||
* Request options that lead to the error.
|
||||
*/
|
||||
__publicField(this, "request");
|
||||
/**
|
||||
* Response object if a response was received
|
||||
*/
|
||||
__publicField(this, "response");
|
||||
if (Error.captureStackTrace) {
|
||||
Error.captureStackTrace(this, this.constructor);
|
||||
}
|
||||
this.name = "HttpError";
|
||||
this.status = statusCode;
|
||||
let headers;
|
||||
if ("headers" in options2 && typeof options2.headers !== "undefined") {
|
||||
headers = options2.headers;
|
||||
}
|
||||
if ("response" in options2) {
|
||||
this.response = options2.response;
|
||||
headers = options2.response.headers;
|
||||
}
|
||||
const requestCopy = Object.assign({}, options2.request);
|
||||
if (options2.request.headers.authorization) {
|
||||
@ -4149,39 +4032,30 @@ var RequestError = class extends Error {
|
||||
}
|
||||
requestCopy.url = requestCopy.url.replace(/\bclient_secret=\w+/g, "client_secret=[REDACTED]").replace(/\baccess_token=\w+/g, "access_token=[REDACTED]");
|
||||
this.request = requestCopy;
|
||||
Object.defineProperty(this, "code", {
|
||||
get() {
|
||||
logOnceCode(
|
||||
new Deprecation(
|
||||
"[@octokit/request-error] `error.code` is deprecated, use `error.status`."
|
||||
)
|
||||
);
|
||||
return statusCode;
|
||||
}
|
||||
});
|
||||
Object.defineProperty(this, "headers", {
|
||||
get() {
|
||||
logOnceHeaders(
|
||||
new Deprecation(
|
||||
"[@octokit/request-error] `error.headers` is deprecated, use `error.response.headers`."
|
||||
)
|
||||
);
|
||||
return headers || {};
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
// node_modules/@octokit/request/dist-web/index.js
|
||||
var VERSION2 = "8.1.0";
|
||||
// node_modules/@octokit/rest/node_modules/@octokit/request/dist-bundle/index.js
|
||||
var VERSION2 = "0.0.0-development";
|
||||
function isPlainObject2(value) {
|
||||
if (typeof value !== "object" || value === null)
|
||||
return false;
|
||||
if (Object.prototype.toString.call(value) !== "[object Object]")
|
||||
return false;
|
||||
const proto = Object.getPrototypeOf(value);
|
||||
if (proto === null)
|
||||
return true;
|
||||
const Ctor = Object.prototype.hasOwnProperty.call(proto, "constructor") && proto.constructor;
|
||||
return typeof Ctor === "function" && Ctor instanceof Ctor && Function.prototype.call(Ctor) === Function.prototype.call(value);
|
||||
}
|
||||
function getBufferResponse(response) {
|
||||
return response.arrayBuffer();
|
||||
}
|
||||
function fetchWrapper(requestOptions) {
|
||||
var _a2, _b, _c;
|
||||
var _a, _b, _c, _d;
|
||||
const log = requestOptions.request && requestOptions.request.log ? requestOptions.request.log : console;
|
||||
const parseSuccessResponseBody = ((_a2 = requestOptions.request) == null ? void 0 : _a2.parseSuccessResponseBody) !== false;
|
||||
if (isPlainObject(requestOptions.body) || Array.isArray(requestOptions.body)) {
|
||||
const parseSuccessResponseBody = ((_a = requestOptions.request) == null ? void 0 : _a.parseSuccessResponseBody) !== false;
|
||||
if (isPlainObject2(requestOptions.body) || Array.isArray(requestOptions.body)) {
|
||||
requestOptions.body = JSON.stringify(requestOptions.body);
|
||||
}
|
||||
let headers = {};
|
||||
@ -4193,14 +4067,21 @@ function fetchWrapper(requestOptions) {
|
||||
}
|
||||
if (!fetch) {
|
||||
throw new Error(
|
||||
'Global "fetch" not found. Please provide `options.request.fetch` to octokit or upgrade to node@18 or newer.'
|
||||
"fetch is not set. Please pass a fetch implementation as new Octokit({ request: { fetch }}). Learn more at https://github.com/octokit/octokit.js/#fetch-missing"
|
||||
);
|
||||
}
|
||||
return fetch(requestOptions.url, __spreadValues({
|
||||
method: requestOptions.method,
|
||||
body: requestOptions.body,
|
||||
headers: requestOptions.headers,
|
||||
signal: (_c = requestOptions.request) == null ? void 0 : _c.signal
|
||||
redirect: (_c = requestOptions.request) == null ? void 0 : _c.redirect,
|
||||
// Header values must be `string`
|
||||
headers: Object.fromEntries(
|
||||
Object.entries(requestOptions.headers).map(([name, value]) => [
|
||||
name,
|
||||
String(value)
|
||||
])
|
||||
),
|
||||
signal: (_d = requestOptions.request) == null ? void 0 : _d.signal
|
||||
}, requestOptions.body && { duplex: "half" })).then((response) => __async(this, null, function* () {
|
||||
url = response.url;
|
||||
status = response.status;
|
||||
@ -4268,7 +4149,15 @@ function fetchWrapper(requestOptions) {
|
||||
throw error;
|
||||
else if (error.name === "AbortError")
|
||||
throw error;
|
||||
throw new RequestError(error.message, 500, {
|
||||
let message = error.message;
|
||||
if (error.name === "TypeError" && "cause" in error) {
|
||||
if (error.cause instanceof Error) {
|
||||
message = error.cause.message;
|
||||
} else if (typeof error.cause === "string") {
|
||||
message = error.cause;
|
||||
}
|
||||
}
|
||||
throw new RequestError(message, 500, {
|
||||
request: requestOptions
|
||||
});
|
||||
});
|
||||
@ -4277,7 +4166,7 @@ function getResponseData(response) {
|
||||
return __async(this, null, function* () {
|
||||
const contentType = response.headers.get("content-type");
|
||||
if (/application\/json/.test(contentType)) {
|
||||
return response.json();
|
||||
return response.json().catch(() => response.text()).catch(() => "");
|
||||
}
|
||||
if (!contentType || /^text\/|charset=utf-8$/.test(contentType)) {
|
||||
return response.text();
|
||||
@ -4288,11 +4177,17 @@ function getResponseData(response) {
|
||||
function toErrorMessage(data) {
|
||||
if (typeof data === "string")
|
||||
return data;
|
||||
let suffix;
|
||||
if ("documentation_url" in data) {
|
||||
suffix = ` - ${data.documentation_url}`;
|
||||
} else {
|
||||
suffix = "";
|
||||
}
|
||||
if ("message" in data) {
|
||||
if (Array.isArray(data.errors)) {
|
||||
return `${data.message}: ${data.errors.map(JSON.stringify).join(", ")}`;
|
||||
return `${data.message}: ${data.errors.map(JSON.stringify).join(", ")}${suffix}`;
|
||||
}
|
||||
return data.message;
|
||||
return `${data.message}${suffix}`;
|
||||
}
|
||||
return `Unknown error: ${JSON.stringify(data)}`;
|
||||
}
|
||||
@ -4325,8 +4220,8 @@ var request = withDefaults2(endpoint, {
|
||||
}
|
||||
});
|
||||
|
||||
// node_modules/@octokit/graphql/dist-web/index.js
|
||||
var VERSION3 = "7.0.1";
|
||||
// node_modules/@octokit/rest/node_modules/@octokit/graphql/dist-bundle/index.js
|
||||
var VERSION3 = "0.0.0-development";
|
||||
function _buildMessageForResponseErrors(data) {
|
||||
return `Request failed due to following response errors:
|
||||
` + data.errors.map((e) => ` - ${e.message}`).join("\n");
|
||||
@ -4334,10 +4229,12 @@ function _buildMessageForResponseErrors(data) {
|
||||
var GraphqlResponseError = class extends Error {
|
||||
constructor(request2, headers, response) {
|
||||
super(_buildMessageForResponseErrors(response));
|
||||
__publicField(this, "name", "GraphqlResponseError");
|
||||
__publicField(this, "errors");
|
||||
__publicField(this, "data");
|
||||
this.request = request2;
|
||||
this.headers = headers;
|
||||
this.response = response;
|
||||
this.name = "GraphqlResponseError";
|
||||
this.errors = response.errors;
|
||||
this.data = response.data;
|
||||
if (Error.captureStackTrace) {
|
||||
@ -4430,7 +4327,7 @@ function withCustomRequest(customRequest) {
|
||||
});
|
||||
}
|
||||
|
||||
// node_modules/@octokit/auth-token/dist-web/index.js
|
||||
// node_modules/@octokit/rest/node_modules/@octokit/auth-token/dist-bundle/index.js
|
||||
var REGEX_IS_INSTALLATION_LEGACY = /^v1\./;
|
||||
var REGEX_IS_INSTALLATION = /^ghs_/;
|
||||
var REGEX_IS_USER_TO_SERVER = /^ghu_/;
|
||||
@ -4478,54 +4375,25 @@ var createTokenAuth = function createTokenAuth2(token) {
|
||||
});
|
||||
};
|
||||
|
||||
// node_modules/@octokit/core/dist-web/index.js
|
||||
var VERSION4 = "5.1.0";
|
||||
// node_modules/@octokit/rest/node_modules/@octokit/core/dist-src/version.js
|
||||
var VERSION4 = "6.1.2";
|
||||
|
||||
// node_modules/@octokit/rest/node_modules/@octokit/core/dist-src/index.js
|
||||
var noop = () => {
|
||||
};
|
||||
var consoleWarn = console.warn.bind(console);
|
||||
var consoleError = console.error.bind(console);
|
||||
var userAgentTrail = `octokit-core.js/${VERSION4} ${getUserAgent()}`;
|
||||
var _a;
|
||||
var Octokit = (_a = class {
|
||||
static defaults(defaults) {
|
||||
const OctokitWithDefaults = class extends this {
|
||||
constructor(...args) {
|
||||
const options2 = args[0] || {};
|
||||
if (typeof defaults === "function") {
|
||||
super(defaults(options2));
|
||||
return;
|
||||
}
|
||||
super(
|
||||
Object.assign(
|
||||
{},
|
||||
defaults,
|
||||
options2,
|
||||
options2.userAgent && defaults.userAgent ? {
|
||||
userAgent: `${options2.userAgent} ${defaults.userAgent}`
|
||||
} : null
|
||||
)
|
||||
);
|
||||
}
|
||||
};
|
||||
return OctokitWithDefaults;
|
||||
}
|
||||
/**
|
||||
* Attach a plugin (or many) to your Octokit instance.
|
||||
*
|
||||
* @example
|
||||
* const API = Octokit.plugin(plugin1, plugin2, plugin3, ...)
|
||||
*/
|
||||
static plugin(...newPlugins) {
|
||||
var _a2;
|
||||
const currentPlugins = this.plugins;
|
||||
const NewOctokit = (_a2 = class extends this {
|
||||
}, _a2.plugins = currentPlugins.concat(
|
||||
newPlugins.filter((plugin) => !currentPlugins.includes(plugin))
|
||||
), _a2);
|
||||
return NewOctokit;
|
||||
}
|
||||
var Octokit = class {
|
||||
constructor(options2 = {}) {
|
||||
const hook2 = new import_before_after_hook.Collection();
|
||||
// assigned during constructor
|
||||
__publicField(this, "request");
|
||||
__publicField(this, "graphql");
|
||||
__publicField(this, "log");
|
||||
__publicField(this, "hook");
|
||||
// TODO: type `octokit.auth` based on passed options.authStrategy
|
||||
__publicField(this, "auth");
|
||||
const hook2 = new before_after_hook_default.Collection();
|
||||
const requestDefaults = {
|
||||
baseUrl: request.endpoint.DEFAULTS.baseUrl,
|
||||
headers: {},
|
||||
@ -4573,7 +4441,7 @@ var Octokit = (_a = class {
|
||||
this.auth = auth2;
|
||||
}
|
||||
} else {
|
||||
const _a2 = options2, { authStrategy } = _a2, otherOptions = __objRest(_a2, ["authStrategy"]);
|
||||
const _a = options2, { authStrategy } = _a, otherOptions = __objRest(_a, ["authStrategy"]);
|
||||
const auth2 = authStrategy(
|
||||
Object.assign(
|
||||
{
|
||||
@ -4598,10 +4466,51 @@ var Octokit = (_a = class {
|
||||
Object.assign(this, classConstructor.plugins[i](this, options2));
|
||||
}
|
||||
}
|
||||
}, _a.VERSION = VERSION4, _a.plugins = [], _a);
|
||||
static defaults(defaults) {
|
||||
const OctokitWithDefaults = class extends this {
|
||||
constructor(...args) {
|
||||
const options2 = args[0] || {};
|
||||
if (typeof defaults === "function") {
|
||||
super(defaults(options2));
|
||||
return;
|
||||
}
|
||||
super(
|
||||
Object.assign(
|
||||
{},
|
||||
defaults,
|
||||
options2,
|
||||
options2.userAgent && defaults.userAgent ? {
|
||||
userAgent: `${options2.userAgent} ${defaults.userAgent}`
|
||||
} : null
|
||||
)
|
||||
);
|
||||
}
|
||||
};
|
||||
return OctokitWithDefaults;
|
||||
}
|
||||
/**
|
||||
* Attach a plugin (or many) to your Octokit instance.
|
||||
*
|
||||
* @example
|
||||
* const API = Octokit.plugin(plugin1, plugin2, plugin3, ...)
|
||||
*/
|
||||
static plugin(...newPlugins) {
|
||||
var _a;
|
||||
const currentPlugins = this.plugins;
|
||||
const NewOctokit = (_a = class extends this {
|
||||
}, __publicField(_a, "plugins", currentPlugins.concat(
|
||||
newPlugins.filter((plugin) => !currentPlugins.includes(plugin))
|
||||
)), _a);
|
||||
return NewOctokit;
|
||||
}
|
||||
};
|
||||
__publicField(Octokit, "VERSION", VERSION4);
|
||||
__publicField(Octokit, "plugins", []);
|
||||
|
||||
// node_modules/@octokit/plugin-request-log/dist-web/index.js
|
||||
var VERSION5 = "4.0.0";
|
||||
// node_modules/@octokit/rest/node_modules/@octokit/plugin-request-log/dist-src/version.js
|
||||
var VERSION5 = "5.3.0";
|
||||
|
||||
// node_modules/@octokit/rest/node_modules/@octokit/plugin-request-log/dist-src/index.js
|
||||
function requestLog(octokit) {
|
||||
octokit.hook.wrap("request", (request2, options2) => {
|
||||
octokit.log.debug("request", options2);
|
||||
@ -4609,13 +4518,15 @@ function requestLog(octokit) {
|
||||
const requestOptions = octokit.request.endpoint.parse(options2);
|
||||
const path = requestOptions.url.replace(options2.baseUrl, "");
|
||||
return request2(options2).then((response) => {
|
||||
const requestId = response.headers["x-github-request-id"];
|
||||
octokit.log.info(
|
||||
`${requestOptions.method} ${path} - ${response.status} in ${Date.now() - start}ms`
|
||||
`${requestOptions.method} ${path} - ${response.status} with id ${requestId} in ${Date.now() - start}ms`
|
||||
);
|
||||
return response;
|
||||
}).catch((error) => {
|
||||
octokit.log.info(
|
||||
`${requestOptions.method} ${path} - ${error.status} in ${Date.now() - start}ms`
|
||||
const requestId = error.response.headers["x-github-request-id"] || "UNKNOWN";
|
||||
octokit.log.error(
|
||||
`${requestOptions.method} ${path} - ${error.status} with id ${requestId} in ${Date.now() - start}ms`
|
||||
);
|
||||
throw error;
|
||||
});
|
||||
@ -6807,15 +6718,15 @@ function legacyRestEndpointMethods(octokit) {
|
||||
}
|
||||
legacyRestEndpointMethods.VERSION = VERSION7;
|
||||
|
||||
// node_modules/@octokit/rest/dist-web/index.js
|
||||
var VERSION8 = "20.1.1";
|
||||
var Octokit2 = Octokit.plugin(
|
||||
requestLog,
|
||||
legacyRestEndpointMethods,
|
||||
paginateRest
|
||||
).defaults({
|
||||
// node_modules/@octokit/rest/dist-src/version.js
|
||||
var VERSION8 = "21.0.0";
|
||||
|
||||
// node_modules/@octokit/rest/dist-src/index.js
|
||||
var Octokit2 = Octokit.plugin(requestLog, legacyRestEndpointMethods, paginateRest).defaults(
|
||||
{
|
||||
userAgent: `octokit-rest.js/${VERSION8}`
|
||||
});
|
||||
}
|
||||
);
|
||||
|
||||
// src/gists.ts
|
||||
var updateGist = (opts) => __async(void 0, null, function* () {
|
||||
@ -6921,7 +6832,7 @@ var getLatestSettings = (plugin) => __async(void 0, null, function* () {
|
||||
return plugin.settings;
|
||||
});
|
||||
var stripFrontMatter = (content) => (0, import_gray_matter2.default)(content).content;
|
||||
var copyGitUrlEditorCallback = (opts) => () => __async(void 0, null, function* () {
|
||||
var copyGistUrlEditorCallback = (opts) => () => __async(void 0, null, function* () {
|
||||
const { app, plugin } = opts;
|
||||
const { enableUpdatingGistsAfterCreation } = yield getLatestSettings(plugin);
|
||||
if (!enableUpdatingGistsAfterCreation) {
|
||||
@ -6957,6 +6868,40 @@ var copyGitUrlEditorCallback = (opts) => () => __async(void 0, null, function* (
|
||||
return new import_obsidian.Notice("Copied gist URL to clipboard.");
|
||||
}
|
||||
});
|
||||
var openGistEditorCallback = (opts) => () => __async(void 0, null, function* () {
|
||||
const { app, plugin } = opts;
|
||||
const { enableUpdatingGistsAfterCreation } = yield getLatestSettings(plugin);
|
||||
if (!enableUpdatingGistsAfterCreation) {
|
||||
return new import_obsidian.Notice(
|
||||
"You need to enable 'Update gists after creation' in Settings to use this command."
|
||||
);
|
||||
}
|
||||
const view = app.workspace.getActiveViewOfType(import_obsidian.MarkdownView);
|
||||
if (!view) {
|
||||
return new import_obsidian.Notice("No active file");
|
||||
}
|
||||
const editor = view.editor;
|
||||
const originalContent = editor.getValue();
|
||||
const existingSharedGists = getSharedGistsForFile(originalContent);
|
||||
if (existingSharedGists.length === 0) {
|
||||
return new import_obsidian.Notice(
|
||||
"You must share this note as a gist before you can open its gist."
|
||||
);
|
||||
}
|
||||
if (existingSharedGists.length > 1) {
|
||||
new SelectExistingGistModal(
|
||||
app,
|
||||
existingSharedGists,
|
||||
false,
|
||||
(sharedGist) => __async(void 0, null, function* () {
|
||||
window.open(sharedGist.url, "_blank");
|
||||
})
|
||||
).open();
|
||||
} else {
|
||||
const sharedGist = existingSharedGists[0];
|
||||
window.open(sharedGist.url, "_blank");
|
||||
}
|
||||
});
|
||||
var shareGistEditorCallback = (opts) => () => __async(void 0, null, function* () {
|
||||
const { isPublic, app, plugin } = opts;
|
||||
const accessToken = getAccessToken();
|
||||
@ -7110,7 +7055,15 @@ var ShareAsGistPlugin = class extends import_obsidian.Plugin {
|
||||
this.addCommand({
|
||||
id: "copy-gist-url",
|
||||
name: "Copy GitHub.com gist URL",
|
||||
callback: copyGitUrlEditorCallback({
|
||||
callback: copyGistUrlEditorCallback({
|
||||
plugin: this,
|
||||
app: this.app
|
||||
})
|
||||
});
|
||||
this.addCommand({
|
||||
id: "open-gist-url",
|
||||
name: "Open gist on GitHub.com",
|
||||
callback: openGistEditorCallback({
|
||||
plugin: this,
|
||||
app: this.app
|
||||
})
|
||||
@ -7214,6 +7167,7 @@ var SetGistDescriptionModal = class extends import_obsidian.Modal {
|
||||
})
|
||||
);
|
||||
this.scope.register([], "Enter", (evt) => {
|
||||
evt.preventDefault();
|
||||
if (evt.isComposing) {
|
||||
return;
|
||||
}
|
||||
@ -7288,12 +7242,4 @@ strip-bom-string/index.js:
|
||||
* Copyright (c) 2015, 2017, Jon Schlinkert.
|
||||
* Released under the MIT License.
|
||||
*)
|
||||
|
||||
is-plain-object/dist/is-plain-object.mjs:
|
||||
(*!
|
||||
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
|
||||
*
|
||||
* Copyright (c) 2014-2017, Jon Schlinkert.
|
||||
* Released under the MIT License.
|
||||
*)
|
||||
*/
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "obsidian-share-as-gist",
|
||||
"name": "Share as Gist",
|
||||
"version": "1.5.0",
|
||||
"version": "1.6.1",
|
||||
"minAppVersion": "0.9.7",
|
||||
"description": "Shares an Obsidian note as a GitHub.com gist",
|
||||
"author": "Tim Rogers",
|
||||
|
@ -4,7 +4,7 @@
|
||||
"obsidian_command_palette_prefix": "Execute: ",
|
||||
"preview_variables_in_command_palette": true,
|
||||
"show_autocomplete_menu": true,
|
||||
"working_directory": "",
|
||||
"working_directory": "/Users/oscarplaisant/Library/Mobile Documents/com~apple~CloudDocs",
|
||||
"default_shells": {},
|
||||
"environment_variable_path_augmentations": {
|
||||
"darwin": "/Users/oscarplaisant/.opam/default/bin:/Users/oscarplaisant/.opam/default/bin:/opt/local/bin:/opt/local/sbin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:$HOME/.cargo/env:/Library/TeX/texbin:/Users/oscarplaisant/.cargo/bin:/Users/oscarplaisant/.opam/default/bin:/opt/local/bin:/opt/local/sbin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/oscarplaisant/.cargo/env:/Users/oscarplaisant/.cargo/bin+:/Users/oscarplaisant/.zsh_scripts/+:/Users/oscarplaisant/.zsh_scripts/+:/Users/oscarplaisant/.zsh_scripts/"
|
||||
@ -64,7 +64,7 @@
|
||||
{
|
||||
"id": "53b5ai5phh",
|
||||
"platform_specific_commands": {
|
||||
"default": "/opt/homebrew/bin/tmux new-window && /opt/homebrew/bin/tmux send-keys \"cd {{folder_path:absolute}}\" Enter \"nvim {{file_name}}\" Enter && open -a iTerm\n"
|
||||
"default": "/opt/homebrew/bin/tmux new-window -n \"{{title}}\" && /opt/homebrew/bin/tmux send-keys \"cd {{folder_path:absolute}}\" Enter \"nvim {{file_name}}\" Enter && open -a iTerm\n"
|
||||
},
|
||||
"shells": {},
|
||||
"alias": "Open in tmux>nVim",
|
||||
|
@ -43,7 +43,7 @@
|
||||
"singlelineCardSeparator": "::",
|
||||
"singlelineReversedCardSeparator": ":::"
|
||||
},
|
||||
"buryDate": "2024-07-07",
|
||||
"buryDate": "2024-09-20",
|
||||
"buryList": [],
|
||||
"historyDeck": ""
|
||||
}
|
318
.obsidian/plugins/obsidian-spaced-repetition/main.js
vendored
318
.obsidian/plugins/obsidian-spaced-repetition/main.js
vendored
File diff suppressed because one or more lines are too long
@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "obsidian-spaced-repetition",
|
||||
"name": "Spaced Repetition",
|
||||
"version": "1.12.4",
|
||||
"version": "1.12.5",
|
||||
"minAppVersion": "0.15.4",
|
||||
"description": "Fight the forgetting curve by reviewing flashcards & entire notes.",
|
||||
"author": "Stephen Mwangi",
|
||||
|
@ -1,8 +1,40 @@
|
||||
.is-mobile #sr-modal {
|
||||
--top-space: calc(var(--safe-area-inset-top) + var(--header-height) + var(--size-4-2));
|
||||
width: 100vw !important;
|
||||
height: calc(100vh - var(--top-space)) !important;
|
||||
margin-top: var(--top-space);
|
||||
@media only screen and (orientation: landscape) {
|
||||
.is-mobile .sr-flashcard {
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
.is-mobile .sr-header {
|
||||
flex-direction: column;
|
||||
flex: 0 1 0;
|
||||
}
|
||||
|
||||
.is-mobile .sr-content {
|
||||
flex: 1 0 0;
|
||||
}
|
||||
|
||||
.is-mobile .sr-response {
|
||||
flex-direction: column;
|
||||
flex: 0 1 0;
|
||||
}
|
||||
|
||||
.is-mobile .sr-controls {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.is-mobile .sr-title {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.is-mobile .sr-response-button {
|
||||
writing-mode: vertical-lr;
|
||||
}
|
||||
}
|
||||
|
||||
#sr-modal {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
|
||||
#sr-modal .modal-title {
|
||||
|
@ -9,8 +9,7 @@
|
||||
"minimal-advanced@@cursor": "default",
|
||||
"minimal-style@@checkbox-shape": "checkbox-square",
|
||||
"quick-explorer@@qe-hide-breadcrumbs": false,
|
||||
"minimal-style@@base@@light": "#1E780A",
|
||||
"minimal-style@@h1-color@@light": "#40D040",
|
||||
"minimal-style@@h1-color@@light": "#2967B3",
|
||||
"minimal-style@@bold-weight": 900,
|
||||
"minimal-style@@bold-color@@light": "#000000",
|
||||
"minimal-style@@bold-color@@dark": "#EEEEEE",
|
||||
@ -19,13 +18,13 @@
|
||||
"supercharged-links@@591a-86c0-before": "👤",
|
||||
"minimal-advanced@@styled-scrollbars": false,
|
||||
"minimal-advanced@@folding-offset": 0,
|
||||
"minimal-style@@h1-color@@dark": "#1B9419",
|
||||
"minimal-style@@h2-color@@dark": "#2967B3",
|
||||
"minimal-style@@h1-color@@dark": "#2967B3",
|
||||
"minimal-style@@h2-color@@dark": "#C9893A",
|
||||
"minimal-style@@h1-style": "normal",
|
||||
"minimal-style@@h1-l": false,
|
||||
"minimal-style@@h3-color@@dark": "#C9893A",
|
||||
"minimal-style@@h4-color@@dark": "#6C9ABB",
|
||||
"minimal-style@@h5-color@@dark": "#9D85C8",
|
||||
"minimal-style@@h3-color@@dark": "#9E72AF",
|
||||
"minimal-style@@h4-color@@dark": "#62A563",
|
||||
"minimal-style@@h5-color@@dark": "#DB5454",
|
||||
"minimal-style@@h5-variant": "normal",
|
||||
"minimal-style@@h3-size": "1.15em",
|
||||
"minimal-style@@h4-variant": "normal",
|
||||
@ -36,7 +35,7 @@
|
||||
"minimal-style@@h5-size": "0.9em",
|
||||
"minimal-style@@h6-variant": "normal",
|
||||
"minimal-style@@h6-size": "0.85em",
|
||||
"minimal-style@@h6-color@@dark": "#789278",
|
||||
"minimal-style@@h6-color@@dark": "#2798A2",
|
||||
"minimal-style@@h6-l": false,
|
||||
"minimal-style@@icon-muted": 0.5,
|
||||
"supercharged-links@@7812-52e6-before": "📅 ",
|
||||
@ -61,5 +60,21 @@
|
||||
"supercharged-links@@7812-52e6-decoration": "initial",
|
||||
"supercharged-links@@ef64-500f-color": "#825AE1",
|
||||
"supercharged-links@@c309-a78f-color": "#825AE1",
|
||||
"minimal-style@@embed-strict": true
|
||||
"minimal-style@@embed-strict": true,
|
||||
"list-callouts@@lc-bg-left": 35,
|
||||
"list-callouts@@lc-bg-opacity-light": 0.1,
|
||||
"list-callouts@@lc-bg-left-checkbox": 60,
|
||||
"list-callouts@@lc-bg-left-checkbox-lp": 43,
|
||||
"list-callouts@@lc-bg-opacity-dark": 0.1,
|
||||
"pane-relief@@pr-sliding-panes-desktop-width": "700px",
|
||||
"minimal-style@@h2-color@@light": "#C9893A",
|
||||
"minimal-style@@h3-color@@light": "#9E72AF",
|
||||
"minimal-style@@h4-color@@light": "#62A563",
|
||||
"minimal-style@@h5-color@@light": "#DB5454",
|
||||
"minimal-style@@h6-color@@light": "#2798A2",
|
||||
"minimal-style@@file-header-visibility": "minimal-tab-title-visible",
|
||||
"minimal-style@@inline-title-color@@light": "#1E780A",
|
||||
"minimal-style@@inline-title-weight": 600,
|
||||
"minimal-style@@inline-title-color@@dark": "#1E780A",
|
||||
"minimal-style@@h1-variant": "normal"
|
||||
}
|
9881
.obsidian/plugins/obsidian-style-settings/main.js
vendored
9881
.obsidian/plugins/obsidian-style-settings/main.js
vendored
File diff suppressed because one or more lines are too long
@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "obsidian-style-settings",
|
||||
"name": "Style Settings",
|
||||
"version": "1.0.8",
|
||||
"version": "1.0.9",
|
||||
"minAppVersion": "0.11.5",
|
||||
"description": "Offers controls for adjusting theme, plugin, and snippet CSS variables.",
|
||||
"author": "mgmeyers",
|
||||
|
File diff suppressed because one or more lines are too long
138
.obsidian/plugins/obsidian-tasks-plugin/main.js
vendored
138
.obsidian/plugins/obsidian-tasks-plugin/main.js
vendored
File diff suppressed because one or more lines are too long
@ -1,11 +1,11 @@
|
||||
{
|
||||
"id": "obsidian-tasks-plugin",
|
||||
"name": "Tasks",
|
||||
"version": "7.4.0",
|
||||
"version": "7.10.0",
|
||||
"minAppVersion": "1.1.1",
|
||||
"description": "Task management for Obsidian",
|
||||
"description": "Track tasks across your vault. Supports due dates, recurring tasks, done dates, sub-set of checklist items, and filtering.",
|
||||
"helpUrl": "https://publish.obsidian.md/tasks/",
|
||||
"author": "Martin Schenck and Clare Macrae",
|
||||
"author": "Clare Macrae and Ilyas Landikov (created by Martin Schenck)",
|
||||
"authorUrl": "https://github.com/obsidian-tasks-group",
|
||||
"fundingUrl": "https://github.com/sponsors/claremacrae",
|
||||
"isDesktopOnly": false
|
||||
|
File diff suppressed because one or more lines are too long
1228
.obsidian/plugins/obsidian-vimrc-support/main.js
vendored
1228
.obsidian/plugins/obsidian-vimrc-support/main.js
vendored
File diff suppressed because one or more lines are too long
@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "obsidian-vimrc-support",
|
||||
"name": "Vimrc Support",
|
||||
"version": "0.9.0",
|
||||
"version": "0.10.1",
|
||||
"description": "Auto-load a startup file with Obsidian Vim commands.",
|
||||
"minAppVersion": "0.15.3",
|
||||
"author": "esm",
|
||||
|
2
.obsidian/plugins/obsidian42-brat/data.json
vendored
2
.obsidian/plugins/obsidian42-brat/data.json
vendored
@ -1,5 +1,6 @@
|
||||
{
|
||||
"pluginList": [
|
||||
"SkepticMystic/breadcrumbs",
|
||||
"bhagyas/obsidian-postfix-plugin",
|
||||
"AlexW00/obsidian-3d-graph",
|
||||
"mcndt/obsidian-quickshare",
|
||||
@ -25,5 +26,6 @@
|
||||
"loggingVerboseEnabled": false,
|
||||
"debuggingMode": true,
|
||||
"notificationsEnabled": true,
|
||||
"personalAccessToken": "",
|
||||
"ribbonIconEnabled": true
|
||||
}
|
96
.obsidian/plugins/obsidian42-brat/main.js
vendored
96
.obsidian/plugins/obsidian42-brat/main.js
vendored
@ -670,8 +670,7 @@ var isPrivateRepo = async (repository, debugLogging = true, personalAccessToken
|
||||
const data = await JSON.parse(response);
|
||||
return data.private;
|
||||
} catch (e) {
|
||||
if (debugLogging)
|
||||
console.log("error in isPrivateRepo", URL2, e);
|
||||
if (debugLogging) console.log("error in isPrivateRepo", URL2, e);
|
||||
return false;
|
||||
}
|
||||
};
|
||||
@ -716,8 +715,7 @@ var grabReleaseFileFromRepository = async (repository, version, fileName, debugL
|
||||
return download === "Not Found" || download === `{"error":"Not Found"}` ? null : download;
|
||||
}
|
||||
} catch (error) {
|
||||
if (debugLogging)
|
||||
console.log("error in grabReleaseFileFromRepository", URL, error);
|
||||
if (debugLogging) console.log("error in grabReleaseFileFromRepository", URL, error);
|
||||
return null;
|
||||
}
|
||||
};
|
||||
@ -725,15 +723,36 @@ var grabManifestJsonFromRepository = async (repositoryPath, rootManifest = true,
|
||||
const manifestJsonPath = GITHUB_RAW_USERCONTENT_PATH + repositoryPath + (rootManifest ? "/HEAD/manifest.json" : "/HEAD/manifest-beta.json");
|
||||
if (debugLogging)
|
||||
console.log("grabManifestJsonFromRepository manifestJsonPath", manifestJsonPath);
|
||||
const isTokenValid = async (token) => {
|
||||
try {
|
||||
await (0, import_obsidian.request)({
|
||||
url: "https://api.github.com/user",
|
||||
method: "GET",
|
||||
headers: {
|
||||
"Authorization": `token ${token}`,
|
||||
"User-Agent": "request",
|
||||
"accept": "application/vnd.github.v3+json"
|
||||
}
|
||||
});
|
||||
return true;
|
||||
} catch (error) {
|
||||
if (debugLogging) console.log("Token validation error:", error);
|
||||
return false;
|
||||
}
|
||||
};
|
||||
let tokenValid = false;
|
||||
if (personalAccessToken) {
|
||||
tokenValid = await isTokenValid(personalAccessToken);
|
||||
if (debugLogging) console.log("Token valid:", tokenValid);
|
||||
}
|
||||
try {
|
||||
const response = await (0, import_obsidian.request)({
|
||||
url: manifestJsonPath,
|
||||
headers: personalAccessToken ? {
|
||||
headers: tokenValid ? {
|
||||
Authorization: `Token ${personalAccessToken}`
|
||||
} : {}
|
||||
});
|
||||
if (debugLogging)
|
||||
console.log("grabManifestJsonFromRepository response", response);
|
||||
if (debugLogging) console.log("grabManifestJsonFromRepository response", response);
|
||||
return response === "404: Not Found" ? null : await JSON.parse(response);
|
||||
} catch (error) {
|
||||
if (error !== "Error: Request failed, status 404" && debugLogging) {
|
||||
@ -751,8 +770,7 @@ var grabCommmunityPluginList = async (debugLogging = true) => {
|
||||
const response = await (0, import_obsidian.request)({ url: pluginListUrl });
|
||||
return response === "404: Not Found" ? null : await JSON.parse(response);
|
||||
} catch (error) {
|
||||
if (debugLogging)
|
||||
console.log("error in grabCommmunityPluginList", error);
|
||||
if (debugLogging) console.log("error in grabCommmunityPluginList", error);
|
||||
return null;
|
||||
}
|
||||
};
|
||||
@ -762,8 +780,7 @@ var grabCommmunityThemesList = async (debugLogging = true) => {
|
||||
const response = await (0, import_obsidian.request)({ url: themesUrl });
|
||||
return response === "404: Not Found" ? null : await JSON.parse(response);
|
||||
} catch (error) {
|
||||
if (debugLogging)
|
||||
console.log("error in grabCommmunityThemesList", error);
|
||||
if (debugLogging) console.log("error in grabCommmunityThemesList", error);
|
||||
return null;
|
||||
}
|
||||
};
|
||||
@ -773,8 +790,7 @@ var grabCommmunityThemeCssFile = async (repositoryPath, betaVersion = false, deb
|
||||
const response = await (0, import_obsidian.request)({ url: themesUrl });
|
||||
return response === "404: Not Found" ? null : response;
|
||||
} catch (error) {
|
||||
if (debugLogging)
|
||||
console.log("error in grabCommmunityThemeCssFile", error);
|
||||
if (debugLogging) console.log("error in grabCommmunityThemeCssFile", error);
|
||||
return null;
|
||||
}
|
||||
};
|
||||
@ -784,8 +800,7 @@ var grabCommmunityThemeManifestFile = async (repositoryPath, debugLogging = true
|
||||
const response = await (0, import_obsidian.request)({ url: themesUrl });
|
||||
return response === "404: Not Found" ? null : response;
|
||||
} catch (error) {
|
||||
if (debugLogging)
|
||||
console.log("error in grabCommmunityThemeManifestFile", error);
|
||||
if (debugLogging) console.log("error in grabCommmunityThemeManifestFile", error);
|
||||
return null;
|
||||
}
|
||||
};
|
||||
@ -813,8 +828,7 @@ var grabLastCommitInfoForFile = async (repositoryPath, path, debugLogging = true
|
||||
const response = await (0, import_obsidian.request)({ url });
|
||||
return response === "404: Not Found" ? null : JSON.parse(response);
|
||||
} catch (error) {
|
||||
if (debugLogging)
|
||||
console.log("error in grabLastCommitInfoForAFile", error);
|
||||
if (debugLogging) console.log("error in grabLastCommitInfoForAFile", error);
|
||||
return null;
|
||||
}
|
||||
};
|
||||
@ -889,8 +903,7 @@ function updateBetaThemeLastUpdateChecksum(plugin, repositoryPath, checksum2) {
|
||||
// src/utils/notifications.ts
|
||||
var import_obsidian2 = require("obsidian");
|
||||
function toastMessage(plugin, msg, timeoutInSeconds = 10, contextMenuCallback) {
|
||||
if (!plugin.settings.notificationsEnabled)
|
||||
return;
|
||||
if (!plugin.settings.notificationsEnabled) return;
|
||||
const additionalInfo = contextMenuCallback ? import_obsidian2.Platform.isDesktop ? "(click=dismiss, right-click=Info)" : "(click=dismiss)" : "";
|
||||
const newNotice = new import_obsidian2.Notice(
|
||||
`BRAT
|
||||
@ -1000,16 +1013,14 @@ ${msg1}`, 3e4);
|
||||
plugin.settings.debuggingMode
|
||||
);
|
||||
console.log("BRAT: lastUpdateOnline", lastUpdateOnline);
|
||||
if (lastUpdateOnline !== t.lastUpdate)
|
||||
await themeSave(plugin, t.repo, false);
|
||||
if (lastUpdateOnline !== t.lastUpdate) await themeSave(plugin, t.repo, false);
|
||||
}
|
||||
const msg2 = `Checking for beta theme updates COMPLETED`;
|
||||
(async () => {
|
||||
await plugin.log(msg2, true);
|
||||
})();
|
||||
if (showInfo) {
|
||||
if (plugin.settings.notificationsEnabled && newNotice)
|
||||
newNotice.hide();
|
||||
if (plugin.settings.notificationsEnabled && newNotice) newNotice.hide();
|
||||
toastMessage(plugin, msg2);
|
||||
}
|
||||
};
|
||||
@ -1063,8 +1074,7 @@ var AddNewTheme = class extends import_obsidian4.Modal {
|
||||
this.openSettingsTabAfterwards = openSettingsTabAfterwards;
|
||||
}
|
||||
async submitForm() {
|
||||
if (this.address === "")
|
||||
return;
|
||||
if (this.address === "") return;
|
||||
const scrubbedAddress = this.address.replace("https://github.com/", "");
|
||||
if (existBetaThemeinInList(this.plugin, scrubbedAddress)) {
|
||||
toastMessage(this.plugin, `This theme is already in the list for beta testing`, 10);
|
||||
@ -1095,8 +1105,7 @@ var AddNewTheme = class extends import_obsidian4.Modal {
|
||||
textEl.inputEl.style.width = "100%";
|
||||
window.setTimeout(() => {
|
||||
const title = document.querySelector(".setting-item-info");
|
||||
if (title)
|
||||
title.remove();
|
||||
if (title) title.remove();
|
||||
textEl.inputEl.focus();
|
||||
}, 10);
|
||||
});
|
||||
@ -1126,8 +1135,7 @@ var AddNewTheme = class extends import_obsidian4.Modal {
|
||||
}, 50);
|
||||
formEl.addEventListener("submit", (e) => {
|
||||
e.preventDefault();
|
||||
if (this.address !== "")
|
||||
void this.submitForm();
|
||||
if (this.address !== "") void this.submitForm();
|
||||
});
|
||||
});
|
||||
}
|
||||
@ -1349,11 +1357,9 @@ var AddNewPluginModal = class extends import_obsidian6.Modal {
|
||||
this.version = "";
|
||||
}
|
||||
async submitForm() {
|
||||
if (this.address === "")
|
||||
return;
|
||||
if (this.address === "") return;
|
||||
let scrubbedAddress = this.address.replace("https://github.com/", "");
|
||||
if (scrubbedAddress.endsWith(".git"))
|
||||
scrubbedAddress = scrubbedAddress.slice(0, -4);
|
||||
if (scrubbedAddress.endsWith(".git")) scrubbedAddress = scrubbedAddress.slice(0, -4);
|
||||
if (existBetaPluginInList(this.plugin, scrubbedAddress)) {
|
||||
toastMessage(
|
||||
this.plugin,
|
||||
@ -1682,8 +1688,7 @@ The release is not complete and cannot be download. main.js is missing from the
|
||||
};
|
||||
if (!updatePluginFiles || forceReinstall) {
|
||||
const releaseFiles = await getRelease();
|
||||
if (releaseFiles === null)
|
||||
return false;
|
||||
if (releaseFiles === null) return false;
|
||||
await this.writeReleaseFilesToPluginFolder(primaryManifest.id, releaseFiles);
|
||||
if (!forceReinstall)
|
||||
addBetaPluginToList(this.plugin, repositoryPath, specifyVersion);
|
||||
@ -1752,8 +1757,7 @@ The plugin has been registered with BRAT.`;
|
||||
);
|
||||
if (localManifestJson.version !== primaryManifest.version) {
|
||||
const releaseFiles = await getRelease();
|
||||
if (releaseFiles === null)
|
||||
return false;
|
||||
if (releaseFiles === null) return false;
|
||||
if (seeIfUpdatedOnly) {
|
||||
const msg = `There is an update available for ${primaryManifest.id} from version ${localManifestJson.version} to ${primaryManifest.version}. `;
|
||||
await this.plugin.log(
|
||||
@ -1803,8 +1807,7 @@ Plugin has been updated from version ${localManifestJson.version} to ${primaryMa
|
||||
await plugins.disablePlugin(pluginName);
|
||||
await plugins.enablePlugin(pluginName);
|
||||
} catch (e) {
|
||||
if (this.plugin.settings.debuggingMode)
|
||||
console.log("reload plugin", e);
|
||||
if (this.plugin.settings.debuggingMode) console.log("reload plugin", e);
|
||||
}
|
||||
}
|
||||
/**
|
||||
@ -1914,8 +1917,7 @@ function addIcons() {
|
||||
var import_obsidian9 = require("obsidian");
|
||||
var import_obsidian_daily_notes_interface = __toESM(require_main());
|
||||
async function logger(plugin, textToLog, verboseLoggingOn = false) {
|
||||
if (plugin.settings.debuggingMode)
|
||||
console.log("BRAT: " + textToLog);
|
||||
if (plugin.settings.debuggingMode) console.log("BRAT: " + textToLog);
|
||||
if (plugin.settings.loggingEnabled) {
|
||||
if (!plugin.settings.loggingVerboseEnabled && verboseLoggingOn) {
|
||||
return;
|
||||
@ -1930,8 +1932,7 @@ async function logger(plugin, textToLog, verboseLoggingOn = false) {
|
||||
output = output + fileContents;
|
||||
const file = plugin.app.vault.getAbstractFileByPath(fileName);
|
||||
await plugin.app.vault.modify(file, output);
|
||||
} else
|
||||
await plugin.app.vault.create(fileName, output);
|
||||
} else await plugin.app.vault.create(fileName, output);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -2115,8 +2116,7 @@ Plugin reloading .....`,
|
||||
gfs.setSuggesterData(pluginList);
|
||||
gfs.display((results) => {
|
||||
void this.plugin.log(`${results.display} plugin disabled`, false);
|
||||
if (this.plugin.settings.debuggingMode)
|
||||
console.log(results.info);
|
||||
if (this.plugin.settings.debuggingMode) console.log(results.info);
|
||||
void this.plugin.app.plugins.disablePluginAndSave(results.info);
|
||||
});
|
||||
}
|
||||
@ -2162,8 +2162,7 @@ Plugin reloading .....`,
|
||||
const gfs = new GenericFuzzySuggester(this.plugin);
|
||||
gfs.setSuggesterData(bratList);
|
||||
gfs.display((results) => {
|
||||
if (results.info)
|
||||
window.open(`https://github.com/${results.info}`);
|
||||
if (results.info) window.open(`https://github.com/${results.info}`);
|
||||
});
|
||||
}
|
||||
}
|
||||
@ -2186,8 +2185,7 @@ Plugin reloading .....`,
|
||||
const gfs = new GenericFuzzySuggester(this.plugin);
|
||||
gfs.setSuggesterData(communityThemeList);
|
||||
gfs.display((results) => {
|
||||
if (results.info)
|
||||
window.open(`https://github.com/${results.info}`);
|
||||
if (results.info) window.open(`https://github.com/${results.info}`);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "obsidian42-brat",
|
||||
"name": "BRAT",
|
||||
"version": "1.0.1",
|
||||
"version": "1.0.2",
|
||||
"minAppVersion": "1.4.16",
|
||||
"description": "Easily install a beta version of a plugin for testing.",
|
||||
"author": "TfTHacker",
|
||||
|
15
.obsidian/plugins/omnisearch/data.json
vendored
15
.obsidian/plugins/omnisearch/data.json
vendored
@ -3,10 +3,13 @@
|
||||
"hideExcluded": false,
|
||||
"downrankedFoldersFilters": [],
|
||||
"ignoreDiacritics": true,
|
||||
"ignoreArabicDiacritics": false,
|
||||
"indexedFileTypes": [],
|
||||
"displayTitle": "",
|
||||
"PDFIndexing": false,
|
||||
"officeIndexing": false,
|
||||
"imagesIndexing": false,
|
||||
"aiImageIndexing": false,
|
||||
"unsupportedFilesIndexing": "default",
|
||||
"splitCamelCase": false,
|
||||
"openInNewPane": false,
|
||||
@ -26,11 +29,17 @@
|
||||
"weightH2": 1.3,
|
||||
"weightH3": 1.1,
|
||||
"weightUnmarkedTags": 1.1,
|
||||
"weightCustomProperties": [],
|
||||
"httpApiEnabled": true,
|
||||
"weightCustomProperties": [
|
||||
{
|
||||
"name": "alias",
|
||||
"weight": 2.5
|
||||
}
|
||||
],
|
||||
"httpApiEnabled": false,
|
||||
"httpApiPort": "51361",
|
||||
"httpApiNotice": true,
|
||||
"welcomeMessage": "1.21.0",
|
||||
"verboseLogging": false,
|
||||
"DANGER_httpHost": null
|
||||
"DANGER_httpHost": null,
|
||||
"DANGER_forceSaveCache": false
|
||||
}
|
120
.obsidian/plugins/omnisearch/main.js
vendored
120
.obsidian/plugins/omnisearch/main.js
vendored
File diff suppressed because one or more lines are too long
2
.obsidian/plugins/omnisearch/manifest.json
vendored
2
.obsidian/plugins/omnisearch/manifest.json
vendored
@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "omnisearch",
|
||||
"name": "Omnisearch",
|
||||
"version": "1.23.1",
|
||||
"version": "1.24.1",
|
||||
"minAppVersion": "1.3.0",
|
||||
"description": "A search engine that just works",
|
||||
"author": "Simon Cambier",
|
||||
|
7
.obsidian/plugins/pane-relief/main.js
vendored
7
.obsidian/plugins/pane-relief/main.js
vendored
File diff suppressed because one or more lines are too long
2
.obsidian/plugins/pane-relief/manifest.json
vendored
2
.obsidian/plugins/pane-relief/manifest.json
vendored
@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "pane-relief",
|
||||
"name": "Pane Relief",
|
||||
"version": "0.5.3",
|
||||
"version": "0.5.5",
|
||||
"minAppVersion": "1.5.8",
|
||||
"description": "Per-tab history, hotkeys for pane/tab movement, navigation, sliding workspace, and more",
|
||||
"author": "PJ Eby",
|
||||
|
2
.obsidian/plugins/pane-relief/styles.css
vendored
2
.obsidian/plugins/pane-relief/styles.css
vendored
File diff suppressed because one or more lines are too long
5685
.obsidian/plugins/podnotes/main.js
vendored
5685
.obsidian/plugins/podnotes/main.js
vendored
File diff suppressed because it is too large
Load Diff
2
.obsidian/plugins/podnotes/manifest.json
vendored
2
.obsidian/plugins/podnotes/manifest.json
vendored
@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "podnotes",
|
||||
"name": "PodNotes",
|
||||
"version": "2.11.2",
|
||||
"version": "2.13.2",
|
||||
"minAppVersion": "0.15.9",
|
||||
"description": "Helps you write notes on podcasts.",
|
||||
"author": "Christian B. B. Houmann",
|
||||
|
5
.obsidian/plugins/quickadd/data.json
vendored
5
.obsidian/plugins/quickadd/data.json
vendored
@ -15,7 +15,7 @@
|
||||
},
|
||||
"format": {
|
||||
"enabled": true,
|
||||
"format": "> [!query]+ Sous-notes de `$= dv.el(\"span\", \"[[\" + dv.current().file.name + \"]]\")`\n> ```breadcrumbs\n> title: false\n> type: tree\n> dir: down\n> ```"
|
||||
"format": "> [!smallquery]+ Sous-notes de `$= dv.el(\"span\", \"[[\" + dv.current().file.name + \"]]\")`\n> ```breadcrumbs\n> type: tree\n> collapse: false\n> mermaid-direction: LR\n> mermaid-renderer: elk\n> show-attributes: [field]\n> field-groups: [downs]\n> depth: [0, 1]\n> ```"
|
||||
},
|
||||
"insertAfter": {
|
||||
"enabled": false,
|
||||
@ -408,8 +408,9 @@
|
||||
"devMode": false,
|
||||
"templateFolderPath": "templates",
|
||||
"announceUpdates": true,
|
||||
"version": "1.9.0",
|
||||
"version": "1.11.1",
|
||||
"disableOnlineFeatures": true,
|
||||
"enableRibbonIcon": false,
|
||||
"ai": {
|
||||
"defaultModel": "Ask me",
|
||||
"defaultSystemPrompt": "As an AI assistant within Obsidian, your primary goal is to help users manage their ideas and knowledge more effectively. Format your responses using Markdown syntax. Please use the [[Obsidian]] link format. You can write aliases for the links by writing [[Obsidian|the alias after the pipe symbol]]. To use mathematical notation, use LaTeX syntax. LaTeX syntax for larger equations should be on separate lines, surrounded with double dollar signs ($$). You can also inline math expressions by wrapping it in $ symbols. For example, use $$w_{ij}^{\text{new}}:=w_{ij}^{\text{current}}+etacdotdelta_jcdot x_{ij}$$ on a separate line, but you can write \"($eta$ = learning rate, $delta_j$ = error term, $x_{ij}$ = input)\" inline.",
|
||||
|
20012
.obsidian/plugins/quickadd/main.js
vendored
20012
.obsidian/plugins/quickadd/main.js
vendored
File diff suppressed because one or more lines are too long
2
.obsidian/plugins/quickadd/manifest.json
vendored
2
.obsidian/plugins/quickadd/manifest.json
vendored
@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "quickadd",
|
||||
"name": "QuickAdd",
|
||||
"version": "1.9.0",
|
||||
"version": "1.11.1",
|
||||
"minAppVersion": "1.6.0",
|
||||
"description": "Quickly add new pages or content to your vault.",
|
||||
"author": "Christian B. B. Houmann",
|
||||
|
244
.obsidian/plugins/quickadd/styles.css
vendored
244
.obsidian/plugins/quickadd/styles.css
vendored
@ -1,243 +1 @@
|
||||
/* src/styles.css */
|
||||
.configureMacroDiv {
|
||||
display: grid;
|
||||
grid-template-rows: 1fr;
|
||||
min-width: 12rem;
|
||||
}
|
||||
.configureMacroDivItem {
|
||||
display: flex;
|
||||
align-content: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.configureMacroDivItemButton {
|
||||
display: flex;
|
||||
align-content: center;
|
||||
justify-content: center;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.macroContainer {
|
||||
display: grid;
|
||||
grid-template-rows: repeat(auto-fill, 120px);
|
||||
grid-gap: 40px;
|
||||
overflow-y: auto;
|
||||
max-height: 30em;
|
||||
padding: 2em;
|
||||
}
|
||||
@media screen and (max-width: 540px) {
|
||||
.macroContainer1 {
|
||||
grid-template-columns: repeat(1, 1fr);
|
||||
}
|
||||
.macroContainer2 {
|
||||
grid-template-columns: repeat(1, 1fr);
|
||||
}
|
||||
.macroContainer3 {
|
||||
grid-template-columns: repeat(1, 1fr);
|
||||
}
|
||||
.wideInputPromptInputEl {
|
||||
width: 20rem;
|
||||
max-width: 100%;
|
||||
height: 3rem;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 540px) and (max-width: 780px) {
|
||||
.macroContainer1 {
|
||||
grid-template-columns: repeat(1, 1fr);
|
||||
}
|
||||
.macroContainer2 {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
.macroContainer3 {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
.wideInputPromptInputEl {
|
||||
width: 30rem;
|
||||
max-width: 100%;
|
||||
height: 20rem;
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 781px) {
|
||||
.macroContainer1 {
|
||||
grid-template-columns: repeat(1, 1fr);
|
||||
}
|
||||
.macroContainer2 {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
.macroContainer3 {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
.wideInputPromptInputEl {
|
||||
width: 40rem;
|
||||
max-width: 100%;
|
||||
height: 20rem;
|
||||
}
|
||||
}
|
||||
.addMacroBarContainer {
|
||||
display: flex;
|
||||
align-content: center;
|
||||
justify-content: space-around;
|
||||
margin-top: 20px;
|
||||
}
|
||||
.captureToActiveFileContainer {
|
||||
display: flex;
|
||||
align-content: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.choiceNameHeader {
|
||||
text-align: center;
|
||||
}
|
||||
.choiceNameHeader:hover {
|
||||
cursor: pointer;
|
||||
}
|
||||
.folderInputContainer {
|
||||
display: flex;
|
||||
align-content: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 8px;
|
||||
gap: 4px;
|
||||
}
|
||||
.selectMacroDropdownContainer {
|
||||
display: flex;
|
||||
align-content: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.quickAddModal .modal {
|
||||
min-width: 35%;
|
||||
overflow-y: auto;
|
||||
max-height: 70%;
|
||||
}
|
||||
.checkboxRowContainer {
|
||||
margin: 30px 0px;
|
||||
display: grid;
|
||||
grid-template-rows: auto;
|
||||
align-content: center;
|
||||
gap: 5px;
|
||||
}
|
||||
.checkboxRow {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-content: center;
|
||||
}
|
||||
.checkboxRow .checkbox-container {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.checkboxRow span {
|
||||
font-size: 16px;
|
||||
word-break: break-all;
|
||||
}
|
||||
.submitButtonContainer {
|
||||
display: flex;
|
||||
align-content: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.chooseFolderWhenCreatingNoteContainer {
|
||||
display: flex;
|
||||
align-content: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.chooseFolderFromSubfolderContainer {
|
||||
margin: 20px 0 0 0;
|
||||
}
|
||||
.clickable:hover {
|
||||
cursor: pointer;
|
||||
}
|
||||
.quickAddCommandListItem {
|
||||
display: flex;
|
||||
flex: 1 1 auto;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.quickCommandContainer {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
align-content: center;
|
||||
margin-bottom: 1em;
|
||||
gap: 4px;
|
||||
}
|
||||
.yesNoPromptButtonContainer {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-around;
|
||||
margin-top: 2rem;
|
||||
}
|
||||
.yesNoPromptParagraph {
|
||||
text-align: center;
|
||||
}
|
||||
.suggestion-container {
|
||||
background-color: var(--modal-background);
|
||||
z-index: 100000;
|
||||
overflow-y: auto;
|
||||
}
|
||||
.qaFileSuggestionItem {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
}
|
||||
.qaFileSuggestionItem .suggestion-main-text {
|
||||
font-weight: bold;
|
||||
}
|
||||
.qaFileSuggestionItem .suggestion-sub-text {
|
||||
font-style: italic;
|
||||
}
|
||||
.choiceListItem {
|
||||
display: flex;
|
||||
font-size: 16px;
|
||||
align-items: center;
|
||||
margin: 12px 0 0 0;
|
||||
transition: 1000ms ease-in-out;
|
||||
}
|
||||
.choiceListItemName {
|
||||
flex: 1 0 0;
|
||||
}
|
||||
.choiceListItemName p {
|
||||
margin: 0;
|
||||
display: inline;
|
||||
}
|
||||
.quickadd-choice-suggestion p {
|
||||
margin: 0;
|
||||
}
|
||||
.macroDropdownContainer {
|
||||
display: flex;
|
||||
align-content: center;
|
||||
justify-content: center;
|
||||
margin-bottom: 10px;
|
||||
gap: 10px;
|
||||
}
|
||||
.macro-choice-buttonsContainer {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
@media only screen and (max-width: 600px) {
|
||||
.macroDropdownContainer {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
.macroDropdownContainer .macro-choice-buttonsContainer {
|
||||
gap: 20px;
|
||||
}
|
||||
}
|
||||
.quickadd-update-modal-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.quickadd-update-modal {
|
||||
min-width: 35%;
|
||||
max-height: 70%;
|
||||
}
|
||||
.quickadd-update-modal img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
margin: 5px;
|
||||
}
|
||||
.quickadd-bmac-container {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.configureMacroDiv{display:grid;grid-template-rows:1fr;min-width:12rem}.configureMacroDivItem{display:flex;align-content:center;justify-content:space-between;margin-bottom:10px}.configureMacroDivItemButton{display:flex;align-content:center;justify-content:center;margin-bottom:10px}.macroContainer{display:grid;grid-template-rows:repeat(auto-fill,120px);grid-gap:40px;overflow-y:auto;max-height:30em;padding:2em}@media screen and (max-width: 540px){.macroContainer1,.macroContainer2,.macroContainer3{grid-template-columns:repeat(1,1fr)}.wideInputPromptInputEl{width:20rem;max-width:100%;height:3rem}}@media screen and (max-width: 540px) and (max-width: 780px){.macroContainer1{grid-template-columns:repeat(1,1fr)}.macroContainer2,.macroContainer3{grid-template-columns:repeat(2,1fr)}.wideInputPromptInputEl{width:30rem;max-width:100%;height:20rem}}@media screen and (min-width: 781px){.macroContainer1{grid-template-columns:repeat(1,1fr)}.macroContainer2,.macroContainer3{grid-template-columns:repeat(2,1fr)}.wideInputPromptInputEl{width:40rem;max-width:100%;height:20rem}}.addMacroBarContainer{display:flex;align-content:center;justify-content:space-around;margin-top:20px}.captureToActiveFileContainer{display:flex;align-content:center;justify-content:space-between;margin-bottom:10px}.choiceNameHeader{text-align:center}.choiceNameHeader:hover{cursor:pointer}.folderInputContainer{display:flex;align-content:center;justify-content:space-between;margin-bottom:8px;gap:4px}.selectMacroDropdownContainer{display:flex;align-content:center;justify-content:center}.quickAddModal .modal{min-width:35%;overflow-y:auto;max-height:70%}.checkboxRowContainer{margin:30px 0;display:grid;grid-template-rows:auto;align-content:center;gap:5px}.checkboxRow{display:flex;justify-content:space-between;align-content:center}.checkboxRow .checkbox-container{flex-shrink:0}.checkboxRow span{font-size:16px;word-break:break-all}.submitButtonContainer{display:flex;align-content:center;justify-content:center}.chooseFolderWhenCreatingNoteContainer{display:flex;align-content:center;justify-content:space-between;margin-bottom:10px}.chooseFolderFromSubfolderContainer{margin:20px 0 0}.clickable:hover{cursor:pointer}.quickAddCommandListItem{display:flex;flex:1 1 auto;align-items:center;justify-content:space-between}.quickCommandContainer{display:flex;justify-content:flex-end;align-content:center;margin-bottom:1em;gap:4px}.yesNoPromptButtonContainer{display:flex;align-items:center;justify-content:space-around;margin-top:2rem}.yesNoPromptParagraph{text-align:center}.suggestion-container{background-color:var(--modal-background);z-index:100000;overflow-y:auto}.qaFileSuggestionItem{display:flex;flex-direction:column;width:100%}.qaFileSuggestionItem .suggestion-main-text{font-weight:700}.qaFileSuggestionItem .suggestion-sub-text{font-style:italic}.choiceListItem{display:flex;font-size:16px;align-items:center;margin:12px 0 0;transition:1s ease-in-out}.choiceListItemName{flex:1 0 0}.choiceListItemName p{margin:0;display:inline}.quickadd-choice-suggestion p{margin:0}.macroDropdownContainer{display:flex;align-content:center;justify-content:center;margin-bottom:10px;gap:10px}.macro-choice-buttonsContainer{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:10px}@media only screen and (max-width: 600px){.macroDropdownContainer{flex-direction:column;align-items:center}.macroDropdownContainer .macro-choice-buttonsContainer{gap:20px}}.quickadd-update-modal-container{display:flex;flex-direction:column;align-items:center;justify-content:center}.quickadd-update-modal{min-width:35%;max-height:70%}.quickadd-update-modal img{width:100%;height:auto;margin:5px}.quickadd-bmac-container{display:flex;justify-content:center;align-items:center}
|
||||
|
27
.obsidian/plugins/restore-tab-key/data.json
vendored
Normal file
27
.obsidian/plugins/restore-tab-key/data.json
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
{
|
||||
"indentsIfSelection": true,
|
||||
"indentsIfSelectionOnlyForMultipleLines": true,
|
||||
"useSpaces": false,
|
||||
"alignSpaces": true,
|
||||
"useHardSpace": false,
|
||||
"spacesCount": 2,
|
||||
"allowException": false,
|
||||
"exceptionRegex": "^[\\s ]*(-|\\d+\\.)( \\[ \\])?\\s*$",
|
||||
"useAdvancedTables": false,
|
||||
"obsidianTableEditor": true,
|
||||
"useOutlinerBetterTab": true,
|
||||
"hotkey": "Shift-Tab",
|
||||
"language": "auto",
|
||||
"developerMode": false,
|
||||
"enableBracesAutoIndent": true,
|
||||
"braceCodeSetOpen": "[\"\\\\{$\", \"\\\\[$\", \"\\\\($\", \"\\\"$\", \"'$\", \"`$\"]",
|
||||
"braceCodeSetClose": "[\"^\\\\}\", \"^\\\\]\", \"^\\\\)\", \"^\\\"\", \"^'\", \"^`\"]",
|
||||
"braceMarkdownSetOpen": "[\"\\\\{$\", \"\\\\[$\", \"\\\\($\", \"\\\"$\", \"'$\", \"\\\\$\\\\$$\", \"<.+>$\", \"¡$\", \"¿$\"]",
|
||||
"braceMarkdownSetClose": "[\"^\\\\}\", \"^\\\\]\", \"^\\\\)\", \"^\\\"\", \"^'\", \"^\\\\$\\\\$\", \"^<\\\\/\\\\w+>\", \"^!\", \"^?\"]",
|
||||
"indentCharacters": " \t",
|
||||
"activateInCodeBlocks": false,
|
||||
"activateInLists": false,
|
||||
"activateInTables": false,
|
||||
"activateInInlineCode": true,
|
||||
"activateInOthers": false
|
||||
}
|
692
.obsidian/plugins/restore-tab-key/main.js
vendored
Normal file
692
.obsidian/plugins/restore-tab-key/main.js
vendored
Normal file
@ -0,0 +1,692 @@
|
||||
/*
|
||||
THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
|
||||
if you want to view the source, please visit the github repository of this plugin
|
||||
*/
|
||||
|
||||
var __defProp = Object.defineProperty;
|
||||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
||||
var __getOwnPropNames = Object.getOwnPropertyNames;
|
||||
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
||||
var __export = (target, all) => {
|
||||
for (var name in all)
|
||||
__defProp(target, name, { get: all[name], enumerable: true });
|
||||
};
|
||||
var __copyProps = (to, from, except, desc) => {
|
||||
if (from && typeof from === "object" || typeof from === "function") {
|
||||
for (let key of __getOwnPropNames(from))
|
||||
if (!__hasOwnProp.call(to, key) && key !== except)
|
||||
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
||||
}
|
||||
return to;
|
||||
};
|
||||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
||||
|
||||
// main.ts
|
||||
var main_exports = {};
|
||||
__export(main_exports, {
|
||||
default: () => TabKeyPlugin
|
||||
});
|
||||
module.exports = __toCommonJS(main_exports);
|
||||
var import_language = require("@codemirror/language");
|
||||
var import_state = require("@codemirror/state");
|
||||
var import_view = require("@codemirror/view");
|
||||
|
||||
// localization.ts
|
||||
var localization = {
|
||||
title: {
|
||||
"en-US": "Obsidian Restore Tab Key Plugin",
|
||||
"zh-CN": "\u9ED1\u66DC\u77F3\u7B14\u8BB0 \u6062\u5FA9\u5236\u8868\u952E\u884C\u4E3A\u63D2\u4EF6",
|
||||
"zh-TW": "\u9ED1\u66DC\u77F3\u7B46\u8A18 \u6062\u5FA9\u5236\u8868\u9375\u884C\u70BA\u63D2\u4EF6"
|
||||
},
|
||||
description: {
|
||||
"en-US": "Restore tab key behavior: tab key inserts a tab, the way it should be.",
|
||||
"zh-CN": "\u56DE\u5FA9 Tab \u952E\u884C\u4E3A\uFF0C\u672C\u8BE5\u5982\u6B64\uFF01",
|
||||
"zh-TW": "\u56DE\u5FA9 Tab \u9375\u884C\u70BA\uFF0C\u672C\u8A72\u5982\u6B64\uFF01"
|
||||
},
|
||||
tabOrSpace: {
|
||||
"en-US": "Tab or Space Settings",
|
||||
"zh-CN": "Tab \u6216\u7A7A\u683C\u8BBE\u5B9A",
|
||||
"zh-TW": "Tab \u6216\u7A7A\u683C\u8A2D\u5B9A"
|
||||
},
|
||||
useSpacesInsteadOfTab: {
|
||||
"en-US": "Use spaces instead of tab",
|
||||
"zh-CN": "\u4EE5\u7A7A\u683C\u53D6\u4EE3 Tab",
|
||||
"zh-TW": "\u4EE5\u7A7A\u683C\u53D6\u4EE3 Tab"
|
||||
},
|
||||
useSpacesInsteadOfTabDesc: {
|
||||
"en-US": "false(default): Insert tab (\\t) when tab key is pressed. true: Insert spaces (\xA0\xA0\xA0\xA0) when tab key is pressed. (configurable)",
|
||||
"zh-CN": "\u5173\u95ED(\u9ED8\u8BA4)\uFF1A\u5728 Tab \u952E\u88AB\u6309\u4E0B\u65F6\u63D2\u5165\u8868\u683C\u7B26\u53F7 (Tab)\uFF1B\u5F00\u542F\uFF1A\u5728 Tab \u952E\u88AB\u6309\u4E0B\u65F6\u63D2\u5165\u7A7A\u767D\u7B26\u53F7\uFF08\u53EF\u4EE5\u81EA\u8BA2\u4E49\uFF09",
|
||||
"zh-TW": "\u95DC\u9589(\u9810\u8A2D)\uFF1A\u5728 Tab \u9375\u88AB\u6309\u4E0B\u6642\u63D2\u5165\u8868\u683C\u7B26\u865F (Tab)\uFF1B\u958B\u555F\uFF1A\u5728 Tab \u9375\u88AB\u6309\u4E0B\u6642\u63D2\u5165\u7A7A\u767D\u7B26\u865F\uFF08\u53EF\u4EE5\u81EA\u8A02\u7FA9\uFF09"
|
||||
},
|
||||
useHardSpaces: {
|
||||
"en-US": "Use hard spaces",
|
||||
"zh-CN": "\u4F7F\u7528\u786C\u7A7A\u683C\u5B57\u5143",
|
||||
"zh-TW": "\u4F7F\u7528\u786C\u7A7A\u683C\u5B57\u5143"
|
||||
},
|
||||
useHardSpacesDesc: {
|
||||
"en-US": `If "Indent using tabs" is false, space will be used to indent. If "Use hard spaces" is off, normal space characters will be used. Notice that with Markdown, repeated normal spaces will be rendered as one. Turn this option on to use hard spaces (U+00A0), which will not be truncated after Markdown render. To indent stuff in the processed Markdown output, move your cursor to the begin and press tab (indenting won't insert hard spaces)`,
|
||||
"zh-CN": "\u5047\u5982\u300C\u4EE5 Tab \u7F29\u8FDB\u300D\u8BBE\u5B9A\u4E3A\u5173\u95ED\uFF0C\u7A7A\u683C\u4F1A\u88AB\u7528\u6765\u7F29\u6392\u3002\u5982\u679C\u300C\u4F7F\u7528\u786C\u7A7A\u683C\u300D\u88AB\u5173\u95ED\uFF0C\u5219\u4F1A\u4F7F\u7528\u6570\u4E2A\u666E\u901A\u7684\u7A7A\u683C\u7B26\u53F7\u3002\u8BF7\u6CE8\u610F\uFF1A\u5728 Markdown \u4E0B\uFF0C\u91CD\u8907\u7684\u7A7A\u683C\u4F1A\u88AB\u6E32\u67D3\u4E3A\u4E00\u4E2A\u3002\u5F00\u542F\u6B64\u9009\u9879\u540E\uFF0C\u786C\u7A7A\u683C (U+00A0) \u5C06\u4F1A\u53D6\u4EE3\u7A7A\u767D\u5B57\u5143\u5F53\u4F5C Tab\uFF0C\u5728\u6E32\u67D3\u540E\u4E0D\u4F1A\u88AB\u5220\u51CF\u3002\u82E5\u8981\u4F7F\u7528\u786C\u7A7A\u683C\u8FDB\u884C\u7F29\u6392\uFF0C\u8BF7\u624B\u52A8\u5C06\u5149\u6807\u79FB\u81F3\u884C\u5934\u5E76\u6309\u4E0B Tab \u952E\uFF08\u7F29\u6392\u4E0D\u4F1A\u4F7F\u7528\u786C\u7A7A\u683C\uFF09",
|
||||
"zh-TW": "\u5047\u5982\u300C\u4EE5 Tab \u7E2E\u6392\u300D\u8A2D\u5B9A\u70BA\u95DC\u9589\uFF0C\u7A7A\u683C\u6703\u88AB\u7528\u4F86\u7E2E\u6392\u3002\u5982\u679C\u300C\u4F7F\u7528\u786C\u7A7A\u683C\u300D\u88AB\u95DC\u9589\uFF0C\u5247\u6703\u4F7F\u7528\u6578\u500B\u666E\u901A\u7684\u7A7A\u683C\u7B26\u865F\u3002\u8ACB\u6CE8\u610F\uFF1A\u5728 Markdown \u4E0B\uFF0C\u91CD\u8907\u7684\u7A7A\u683C\u6703\u88AB\u6E32\u67D3\u70BA\u4E00\u500B\u3002\u958B\u555F\u6B64\u9078\u9805\u5F8C\uFF0C\u786C\u7A7A\u683C (U+00A0) \u5C07\u6703\u53D6\u4EE3\u7A7A\u767D\u5B57\u5143\u7576\u4F5C Tab\uFF0C\u5728\u6E32\u67D3\u5F8C\u4E0D\u6703\u88AB\u522A\u6E1B\u3002\u82E5\u8981\u4F7F\u7528\u786C\u7A7A\u683C\u9032\u884C\u7E2E\u6392\uFF0C\u8ACB\u624B\u52D5\u5C07\u6E38\u6A19\u79FB\u81F3\u884C\u982D\u4E26\u6309\u4E0B Tab \u9375\uFF08\u7E2E\u6392\u4E0D\u6703\u4F7F\u7528\u786C\u7A7A\u683C\uFF09"
|
||||
},
|
||||
spaceCount: {
|
||||
"en-US": "Space count",
|
||||
"zh-CN": "\u7A7A\u683C\u6570\u91CF",
|
||||
"zh-TW": "\u7A7A\u683C\u6578\u91CF"
|
||||
},
|
||||
spaceCountDesc: {
|
||||
"en-US": "The number of spaces or hard spaces inserted when tab key is pressed. default: 4",
|
||||
"zh-CN": "\u4F7F\u7528\u51E0\u4E2A\u7A7A\u683C\u5B57\u7B26\u53D6\u4EE3\u4E00\u4E2A Tab \u5B57\u7B26\uFF1F\u9ED8\u8BA4\uFF1A4\u4E2A",
|
||||
"zh-TW": "\u4F7F\u7528\u5E7E\u500B\u7A7A\u683C\u7B26\u865F\u53D6\u4EE3\u4E00\u500B Tab \u5B57\u5143\uFF1F\u9810\u8A2D\uFF1A4\u500B"
|
||||
},
|
||||
alignSpaces: {
|
||||
"en-US": "Align spaces (just like how tabs behave)",
|
||||
"zh-CN": "\u5BF9\u9F50\u7A7A\u683C",
|
||||
"zh-TW": "\u5C0D\u9F4A\u7A7A\u683C"
|
||||
},
|
||||
alignSpacesDesc: {
|
||||
"en-US": 'At space count of 4, pressing tab after "abc" inserts one space, "abcde" inserts 3, so the end position after pressing tab is always an integer multiple of the space count.',
|
||||
"zh-CN": '\u5047\u8BBE\u300C\u7A7A\u683C\u6570\u91CF\u300D\u8BBE\u4E3A 4\uFF0C\u5219\u5728"abc"\u6700\u540E\u6309\u4E0B Tab \u952E\u4F1A\u63D2\u5165\u4E00\u4E2A\u7A7A\u767D\uFF0C"abcde"\u5219\u4E3A\u4E09\u4E2A\uFF0C\u4F7F\u5F97\u6309\u4E0B Tab \u63D2\u5165\u7A7A\u683C\u540E\u7684\u5149\u6807\u4F4D\u7F6E\u4E3A\u7A7A\u683C\u6570\u91CF\u7684\u6574\u6570\u500D',
|
||||
"zh-TW": '\u5047\u8A2D\u300C\u7A7A\u683C\u6578\u91CF\u300D\u8A2D\u70BA 4\uFF0C\u5247\u5728"abc"\u6700\u5F8C\u6309\u4E0B Tab \u9375\u6703\u63D2\u5165\u4E00\u500B\u7A7A\u767D\uFF0C"abcde"\u5247\u70BA\u4E09\u500B\uFF0C\u4F7F\u5F97\u6309\u4E0B Tab \u63D2\u5165\u7A7A\u683C\u5F8C\u7684\u6E38\u6A19\u4F4D\u7F6E\u70BA\u7A7A\u683C\u6578\u91CF\u7684\u6574\u6578\u500D'
|
||||
},
|
||||
tabKeyBehavior: {
|
||||
"en-US": "Tab Key Behavior",
|
||||
"zh-CN": "Tab \u952E\u884C\u4E3A",
|
||||
"zh-TW": "Tab \u9375\u884C\u70BA"
|
||||
},
|
||||
activateIn: {
|
||||
"en-US": "Activate plugin in Markdown environment",
|
||||
"zh-CN": "\u5728 Markdown \u73AF\u5883\u4E2D\u542F\u7528\u63D2\u4EF6",
|
||||
"zh-TW": "\u5728 Markdown \u74B0\u5883\u4E2D\u555F\u7528\u63D2\u4EF6"
|
||||
},
|
||||
activateInDesc: {
|
||||
"en-US": "On: Insert tab character. Off: Indent, or next cell for tables",
|
||||
"zh-CN": "\u5F00\u542F\uFF1A\u63D2\u5165 Tab \u5B57\u7B26\u3002\u5173\u95ED\uFF1A\u7F29\u6392\uFF0C\u6216\u8005\u5728\u8868\u683C\u4E2D\u4E3A\u79FB\u81F3\u4E0B\u4E00\u683C",
|
||||
"zh-TW": "\u958B\u555F\uFF1A\u63D2\u5165 Tab \u5B57\u5143\u3002\u95DC\u9589\uFF1A\u7E2E\u6392\uFF0C\u6216\u8005\u5728\u8868\u683C\u4E2D\u70BA\u79FB\u81F3\u4E0B\u4E00\u683C"
|
||||
},
|
||||
activateInCodeBlocks: {
|
||||
"en-US": "Code blocks",
|
||||
"zh-CN": "\u4EE3\u7801\u533A\u5757",
|
||||
"zh-TW": "\u7A0B\u5F0F\u78BC\u5340\u584A"
|
||||
},
|
||||
activateInLists: {
|
||||
"en-US": "Lists",
|
||||
"zh-CN": "\u5217\u8868",
|
||||
"zh-TW": "\u5217\u8868"
|
||||
},
|
||||
activateInTables: {
|
||||
"en-US": "Tables",
|
||||
"zh-CN": "\u8868\u683C",
|
||||
"zh-TW": "\u8868\u683C"
|
||||
},
|
||||
activateInInlineCode: {
|
||||
"en-US": "Inline code / Indented code",
|
||||
"zh-CN": "\u884C\u5167\u4EE3\u7801\uFF08inline code\uFF09",
|
||||
"zh-TW": "\u884C\u5167\u7A0B\u5F0F\u78BC\uFF08inline code\uFF09"
|
||||
},
|
||||
activateInOthers: {
|
||||
"en-US": "Others",
|
||||
"zh-CN": "\u5176\u4ED6",
|
||||
"zh-TW": "\u5176\u4ED6"
|
||||
},
|
||||
indentWhenSelectionNotEmpty: {
|
||||
"en-US": "Indents when selection is not empty",
|
||||
"zh-CN": "\u5728\u6709\u6587\u5B57\u88AB\u9009\u53D6\u65F6\u9032\u884C\u7F29\u6392",
|
||||
"zh-TW": "\u5728\u6709\u6587\u5B57\u88AB\u9078\u53D6\u6642\u9032\u884C\u7E2E\u6392"
|
||||
},
|
||||
indentWhenSelectionNotEmptyDesc: {
|
||||
"en-US": "true(default): Select some text and press tab key will indent the selected lines. Same behavior as most IDEs. \nfalse: Selection will be replaced with one tab",
|
||||
"zh-CN": "\u5F00\u542F\uFF08\u9ED8\u8BA4\uFF09\uFF1A\u9009\u53D6/\u53CD\u767D\u4E00\u4E9B\u6587\u5B57\u540E\u6309\u4E0B Tab \u952E\u4F1A\u7F29\u8FDB\u8BE5\u51E0\u884C\u6587\u5B57\u3002\u6B64\u884C\u4E3A\u548C\u591A\u6570 IDE \u76F8\u540C\uFF1B\u5173\u95ED\uFF1A\u9009\u53D6\u7684\u6587\u5B57\u4F1A\u88AB\u53D6\u4EE3\u4E3A\u4E00\u4E2A Tab",
|
||||
"zh-TW": "\u958B\u555F\uFF08\u9810\u8A2D\uFF09\uFF1A\u9078\u53D6/\u53CD\u767D\u4E00\u4E9B\u6587\u5B57\u5F8C\u6309\u4E0B Tab \u9375\u6703\u7E2E\u6392\u8A72\u5E7E\u884C\u6587\u5B57\u3002\u6B64\u884C\u70BA\u548C\u591A\u6578 IDE \u76F8\u540C\uFF1B\u95DC\u9589\uFF1A\u9078\u53D6\u7684\u6587\u5B57\u6703\u88AB\u53D6\u4EE3\u70BA\u4E00\u500B Tab"
|
||||
},
|
||||
indentOnlySelectionMultipleLine: {
|
||||
"en-US": "Indents only when selection contains multiple lines",
|
||||
"zh-CN": "\u4EC5\u5728\u9009\u53D6\u591A\u884C\u65F6\u8FDB\u884C\u7F29\u8FDB",
|
||||
"zh-TW": "\u50C5\u5728\u9078\u53D6\u591A\u884C\u6642\u9032\u884C\u7E2E\u6392"
|
||||
},
|
||||
indentOnlySelectionMultipleLineDesc: {
|
||||
"en-US": "true(default): If the selection lies within one line, a tab (or spaces) will replace the selection instead",
|
||||
"zh-CN": "\u5F00\u542F\uFF08\u9ED8\u8BA4\uFF09\uFF1A\u5982\u679C\u4EC5\u6709\u4E00\u884C\u6587\u5B57\u88AB\u9009\u53D6\uFF0C\u5219\u9009\u53D6\u7684\u6587\u5B57\u4F1A\u88AB\u53D6\u4EE3\u4E3A\u4E00\u4E2A Tab",
|
||||
"zh-TW": "\u958B\u555F\uFF08\u9810\u8A2D\uFF09\uFF1A\u5982\u679C\u50C5\u6709\u4E00\u884C\u6587\u5B57\u88AB\u9078\u53D6\uFF0C\u5247\u9078\u53D6\u7684\u6587\u5B57\u6703\u88AB\u53D6\u4EE3\u70BA\u4E00\u500B Tab"
|
||||
},
|
||||
allowException: {
|
||||
"en-US": "Allow exceptions for indenting",
|
||||
"zh-CN": "\u5141\u8BB8\u5BF9\u7F29\u8FDB\u8FDB\u884C\u4F8B\u5916\u5904\u7406",
|
||||
"zh-TW": "\u5C0D\u7E2E\u6392\u9032\u884C\u4F8B\u5916\u8655\u7406"
|
||||
},
|
||||
allowExceptionDesc: {
|
||||
"en-US": "Indent line even when the selection is empty when the line matches the regex (For example, when cursor is on an empty list bullet)",
|
||||
"zh-CN": "\u82E5\u5149\u6807\u6240\u5728\u7684\u90A3\u884C\u5339\u914D\u4EE5\u4E0B\u8868\u8FBE\u5F0F\u65F6\uFF0C\u4ECD\u7136\u8FDB\u884C\u7F29\u8FDB\uFF08\u5982\u8BE5\u884C\u4E3A\u7A7A\u767D\u7684\u6E05\u5355\u5217\u8868\uFF09",
|
||||
"zh-TW": "\u82E5\u6E38\u6A19\u6240\u5728\u7684\u90A3\u884C\u7B26\u5408\u4EE5\u4E0B\u8868\u9054\u5F0F\u6642\uFF0C\u4ECD\u7136\u9032\u884C\u7E2E\u6392\uFF08\u5982\u8A72\u884C\u70BA\u7A7A\u767D\u7684\u6E05\u55AE\u5217\u8868\uFF09"
|
||||
},
|
||||
exceptionRegex: {
|
||||
"en-US": "Exception regex",
|
||||
"zh-CN": "\u4F8B\u5916\u7684\u6B63\u5219\u8868\u8FBE\u5F0F",
|
||||
"zh-TW": "\u4F8B\u5916\u7684\u6B63\u898F\u8868\u9054\u5F0F"
|
||||
},
|
||||
exceptionRegexDesc: {
|
||||
"en-US": "default: Indents regardless in empty list entries (zero or more whitespaces, followed by - or number. then optionally a checkbox and then a space). Remove the trailing $ to enable indentation in non-empty lists",
|
||||
"zh-CN": "\u9ED8\u8BA4\uFF1A\u5728\u8BE5\u884C\u4E3A\u6E05\u5355\u5217\u8868\u9879\u76EE\u65F6\uFF08\u96F6\u4E2A\u6216\u4EE5\u4E0A\u4E2A\u7A7A\u767D\uFF0C\u52A0\u4E0A\u4E00\u4E2A\u6570\u5B57\uFF0C\u4E5F\u8BB8\u518D\u52A0\u4E0A\u4E00\u4E2A\u8907\u9009\u6846\uFF0C\u7136\u540E\u518D\u4E00\u4E2A\u7A7A\u767D\uFF09\u3002\u5220\u9664\u7ED3\u5C3E\u7684 $ \u7B26\u53F7\uFF0C\u53EF\u4EE5\u8BA9\u6B64\u8868\u8FBE\u5F0F\u5339\u914D\u975E\u7A7A\u767D\u7684\u6E05\u5355\u9879\u76EE\u3002",
|
||||
"zh-TW": "\u9810\u8A2D\uFF1A\u5728\u8A72\u884C\u70BA\u6E05\u55AE\u5217\u8868\u9805\u76EE\u6642\uFF08\u96F6\u500B\u6216\u4EE5\u4E0A\u500B\u7A7A\u767D\uFF0C\u52A0\u4E0A\u4E00\u500B\u6578\u5B57\uFF0C\u4E5F\u8A31\u518D\u52A0\u4E0A\u4E00\u500B\u8907\u9078\u6846\uFF0C\u7136\u5F8C\u518D\u4E00\u500B\u7A7A\u767D\uFF09\u3002\u522A\u9664\u7D50\u5C3E\u7684 $ \u7B26\u865F\uFF0C\u53EF\u4EE5\u8B93\u6B64\u8868\u9054\u5F0F\u5339\u914D\u975E\u7A7A\u767D\u7684\u6E05\u55AE\u9805\u76EE\u3002"
|
||||
},
|
||||
pluginCompatibility: {
|
||||
"en-US": "Compatibility",
|
||||
"zh-CN": "\u517C\u5BB9\u6027",
|
||||
"zh-TW": "\u517C\u5BB9\u6027"
|
||||
},
|
||||
obsidianTableEditor: {
|
||||
"en-US": "Use with the native Obsidian Table Editor",
|
||||
"zh-CN": "\u548C\u9ED1\u66DC\u77F3\u539F\u751F\u8868\u683C\u7F16\u8F91\u5668\u4E00\u8D77\u4F7F\u7528",
|
||||
"zh-TW": "\u548C\u9ED1\u66DC\u77F3\u539F\u751F\u8868\u683C\u7DE8\u8F2F\u5668\u4E00\u8D77\u4F7F\u7528"
|
||||
},
|
||||
obsidianTableEditorDesc: {
|
||||
"en-US": `Do not capture tab key if cursor is on an Obsidian table editor in "Live Preview" mode, so you can go to next cell with the tab key. This setting does not apply to "Source" mode. Also, it is recommended to uninstall/unbind tab in Advanced Tables plugin if you mainly work in live preview mode, because Advanced Tables currently doesn't work as well as the native editor does.`,
|
||||
"zh-CN": "\u5728\u9884\u89C8\u6A21\u5F0F\u4E0B\u4E0D\u5BF9 Tab \u952E\u8FDB\u884C\u5904\u7406\uFF0C\u4EA4\u7ED9\u9ED1\u66DC\u77F3\u539F\u751F\u8868\u683C\u7F16\u8F91\u5668\u3002\u82E5\u4F60\u5E38\u5728\u9884\u89C8\u6A21\u5F0F\u4E0B\u5DE5\u4F5C\uFF0C\u6211\u5EFA\u8BAE\u5C06 Advanced Tables plugin \u9AD8\u7EA7\u8868\u683C\u63D2\u4EF6\u505C\u7528\u6216\u5C06\u5176 Tab \u952E\u89E3\u7ED1\uFF0C\u56E0\u4E3A\u5B83\u6CA1\u6709\u6BD4\u8868\u683C\u7F16\u8F91\u5668\u597D\u7528\u3002",
|
||||
"zh-TW": "\u5728\u9810\u89BD\u6A21\u5F0F\u4E0B\u4E0D\u5C0D Tab \u9375\u9032\u884C\u8655\u7406\uFF0C\u4EA4\u7D66\u9ED1\u66DC\u77F3\u539F\u751F\u8868\u683C\u7DE8\u8F2F\u5668\u3002\u82E5\u4F60\u5E38\u5728\u9810\u89BD\u6A21\u5F0F\u4E0B\u5DE5\u4F5C\uFF0C\u6211\u5EFA\u8B70\u5C07 Advanced Tables plugin \u9032\u968E\u8868\u683C\u63D2\u4EF6\u505C\u7528\u6216\u5C07\u5176 Tab \u9375\u89E3\u7D81\uFF0C\u56E0\u70BA\u5B83\u6C92\u6709\u6BD4\u8868\u683C\u7DE8\u8F2F\u5668\u597D\u7528\u3002"
|
||||
},
|
||||
advancedTables: {
|
||||
"en-US": "Use with Advanced Tables plugin",
|
||||
"zh-CN": "\u548C Advanced Tables plugin \u9AD8\u7EA7\u8868\u683C\u63D2\u4EF6\u4E00\u8D77\u4F7F\u7528",
|
||||
"zh-TW": "\u548C Advanced Tables plugin \u9032\u968E\u8868\u683C\u63D2\u4EF6\u4E00\u8D77\u4F7F\u7528"
|
||||
},
|
||||
advancedTablesDesc: {
|
||||
"en-US": 'Creates a new table or go to next cell when cursor is in a table. Requires disabling "Bind tab to table navigation" in the Advanced Tables plugin (and restart Obsidian). I recommend leaving that setting on and this off, and leave tab key binding to Advanced Tables plugin in a table environment, it does the exact same thing.',
|
||||
"zh-CN": "\u5F53\u5149\u6807\u5728\u4E00\u4E2A\u8868\u683C\u5185\u65F6\u6309\u4E0B Tab \u4F1A\u521B\u5EFA\u65B0\u8868\u683C\u6216\u8DF3\u5230\u4E0B\u4E00\u4E2A\u5355\u5143\u683C\u3002\u9700\u8981\u5728\u9AD8\u7EA7\u8868\u683C\u63D2\u4EF6\u4E2D\u5173\u95ED\u300CBind tab to table navigation\u300D\u5E76\u91CD\u542F\u9ED1\u66DC\u77F3\u7B14\u8BB0\u3002\u5EFA\u8BAE\u7EF4\u6301\u539F\u6837\uFF0C\u5728\u8868\u683C\u73AF\u5883\u5185\u4EA4\u7ED9\u9AD8\u7EA7\u8868\u683C\u63D2\u4EF6\u5904\u7406 Tab \u952E\u7ED1\u5B9A\u3002",
|
||||
"zh-TW": "\u7576\u6E38\u6A19\u5728\u4E00\u500B\u8868\u683C\u5167\u6642\u6309\u4E0B Tab \u6703\u5275\u5EFA\u65B0\u8868\u683C\u6216\u8DF3\u5230\u4E0B\u4E00\u500B\u5132\u5B58\u683C\u3002\u9700\u8981\u5728\u9032\u968E\u8868\u683C\u63D2\u4EF6\u4E2D\u95DC\u9589\u300CBind tab to table navigation\u300D\u4E26\u91CD\u555F\u9ED1\u66DC\u77F3\u7B46\u8A18\u3002\u5EFA\u8B70\u7DAD\u6301\u539F\u6A23\uFF0C\u5728\u8868\u683C\u74B0\u5883\u5167\u4EA4\u7D66\u9032\u968E\u8868\u683C\u63D2\u4EF6\u8655\u7406 Tab \u9375\u7D81\u5B9A\u3002"
|
||||
},
|
||||
outliner: {
|
||||
"en-US": "Use with Obsidian Outliner plugin",
|
||||
"zh-CN": "\u548C Obsidian Outliner plugin \u5927\u7EB2\u63D2\u4EF6\u4E00\u8D77\u4F7F\u7528",
|
||||
"zh-TW": "\u548C Obsidian Outliner plugin \u5927\u7DB1\u63D2\u4EF6\u4E00\u8D77\u4F7F\u7528"
|
||||
},
|
||||
outlinerDesc: {
|
||||
"en-US": "Try execute Outliner indent operation when tab is pressed, if nothing changed, use default Restore Tab Key plugin behavior. Basically, if the selection is empty and cursor is on a list item, it will indent the item if Tab is pressed, unless it can't, in that case a tab will be inserted. A list item can't be indented if it is already one level deeper than the item above. This plugin can also indent everything under the selected item recursively, and relabel numbered lists.",
|
||||
"zh-CN": "\u5C1D\u8BD5\u6267\u884C Outliner \u7684\u7F29\u6392\u6307\u4EE4\uFF0C\u5982\u679C\u6CA1\u6709\u4EFB\u4F55\u66F4\u6539\u5219\u5957\u7528\u672C\u63D2\u4EF6\u7684\u8BBE\u5B9A\u3002\u57FA\u672C\u4E0A\u5F53\u6309\u4E0B Tab \u952E\uFF0C\u4E14\u6CA1\u6709\u6587\u5B57\u88AB\u9009\u53D6\uFF0C\u4E14\u5149\u6807\u5728\u6E05\u5355\u5217\u8868\u4E0A\u7684\u8BDD\uFF0C\u4F1A\u76F4\u63A5\u5C06\u8BE5\u6E05\u5355\u5217\u8868\u7B49\u7EA7",
|
||||
"zh-TW": "\u5617\u8A66\u57F7\u884C Outliner \u7684\u7E2E\u6392\u6307\u4EE4\uFF0C\u5982\u679C\u6C92\u6709\u4EFB\u4F55\u8B8A\u5316\u7684\u8A71\u5247\u5957\u7528\u672C\u63D2\u4EF6\u7684\u8A2D\u5B9A\u3002\u57FA\u672C\u4E0A\u7576\u6309\u4E0B Tab \u9375\uFF0C\u4E14\u6C92\u6709\u6587\u5B57\u88AB\u9078\u53D6\uFF0C\u4E14\u6E38\u6A19\u5728\u6E05\u55AE\u5217\u8868\u4E0A\u7684\u8A71\uFF0C\u6703\u76F4\u63A5\u5C07\u8A72\u6E05\u55AE\u5217\u8868\u7B49\u7D1A"
|
||||
},
|
||||
additional: {
|
||||
"en-US": "Additional Options",
|
||||
"zh-CN": "\u5176\u4ED6\u9009\u9879",
|
||||
"zh-TW": "\u5176\u4ED6\u9078\u9805"
|
||||
},
|
||||
customHotkey: {
|
||||
"en-US": "Custom hotkey",
|
||||
"zh-CN": "\u81EA\u5B9A\u4E49\u70ED\u952E",
|
||||
"zh-TW": "\u81EA\u5B9A\u7FA9\u71B1\u9375"
|
||||
},
|
||||
customHotkeyDesc: {
|
||||
"en-US": `Tab doesn't work for you? Try "Ctrl-Alt-Space", or "Shift-F6"? (Reload required. Go to "Community plugins" and disable then enable this plugin will do)`,
|
||||
"zh-CN": '\u4E0D\u60F3\u7528 Tab \u952E\uFF1F\u8BD5\u8BD5 "Ctrl-Alt-Space" \u6216\u8005 "Shift-F6"\uFF1F\uFF08\u9700\u8981\u91CD\u65B0\u542F\u52A8\u63D2\u4EF6\uFF0C\u5230\u300C\u7B2C\u4E09\u65B9\u63D2\u4EF6\u300D\u5173\u95ED\u6B64\u63D2\u4EF6\u540E\u518D\u5F00\u542F\u5373\u53EF\uFF09',
|
||||
"zh-TW": '\u4E0D\u60F3\u7528 Tab \u9375\uFF1F\u8A66\u8A66 "Ctrl-Alt-Space" \u6216\u8005 "Shift-F6"\uFF1F\uFF08\u9700\u8981\u91CD\u65B0\u555F\u52D5\u63D2\u4EF6\uFF0C\u5230\u300C\u7B2C\u4E09\u65B9\u63D2\u4EF6\u300D\u95DC\u9589\u6B64\u63D2\u4EF6\u5F8C\u518D\u958B\u555F\u5373\u53EF\uFF09'
|
||||
},
|
||||
language: {
|
||||
"en-US": "Settings page interface language",
|
||||
"zh-CN": "\u8BBE\u5B9A\u9875\u663E\u793A\u8BED\u8A00",
|
||||
"zh-TW": "\u8A2D\u5B9A\u9801\u986F\u793A\u8A9E\u8A00"
|
||||
},
|
||||
languageDesc: {
|
||||
"en-US": "Would Chinese be better?",
|
||||
"zh-CN": "\u82F1\u6587\u4F1A\u66F4\u9002\u5408\u5417\uFF1F",
|
||||
"zh-TW": "\u82F1\u6587\u6703\u66F4\u9069\u5408\u55CE\uFF1F"
|
||||
},
|
||||
developerMode: {
|
||||
"en-US": "Developer Mode",
|
||||
"zh-CN": "\u5F00\u53D1\u8005\u6A21\u5F0F",
|
||||
"zh-TW": "\u958B\u767C\u8005\u6A21\u5F0F"
|
||||
},
|
||||
developerModeDesc: {
|
||||
"en-US": 'Enable debug on the Obsidian Developer Console, accessible by pressing Ctrl+Shift+I and selecting the Console tab, and show hidden, deprecated settings. If you encounter problems with the plugin, please open an issue on Github. If the plugin is not working properly, check if the console shows that the tab key event is triggered. If not, either the hotkey is configured wrong, you may try other keys that are less likely to have a conflict, like "F6". If the tab key is not triggering, it is most likely that other plugins have acquired the tab key event. Lastly, you may try testing in a new vault (accessible at the bottom left toolbar).',
|
||||
"zh-CN": '\u5F00\u542F\u4FA6\u9519\u4FE1\u606F\uFF0C\u5E76\u663E\u793A\u88AB\u9690\u85CF\u3001\u9000\u5F79\u7684\u8BBE\u5B9A\u4EEC\u3002\u7EC8\u7AEF\u53EF\u4EE5\u900F\u8FC7\u6309\u4E0B Ctrl+Shift+I \u540E\u9009\u62E9 Console \u5206\u9875\u3002\u82E5\u9047\u5230\u95EE\u9898\uFF0C\u8BF7\u5728 Github \u53D1\u8D77 issue\u3002\u8BF7\u5148\u68C0\u67E5 Console \u662F\u5426\u5728\u6309\u4E0B Tab \u952E\u540E\u663E\u793A "[restore tab] Tab key event triggered"\u3002\u82E5\u5426\uFF0C\u5C1D\u8BD5\u5C06\u81EA\u5B9A\u4E49\u70ED\u952E\u6539\u4E3A\u6BD4\u5982\u51B2\u7A81\u6982\u7387\u8F83\u4F4E\u7684 "F6"\u3002\u82E5 Tab \u952E\u65E0\u6CD5\u89E6\u53D1\uFF0C\u6700\u6709\u53EF\u80FD\u7684\u662F\u5176\u4ED6\u63D2\u4EF6\u5C06 Tab \u952E\u4E8B\u4EF6\u62FF\u8D70\u4E86\u3002\u6700\u540E\uFF0C\u4F60\u8FD8\u53EF\u4EE5\u5F00\u542F\u65B0\u7684\u50A8\u5B58\u5E93\uFF08\u5DE6\u4E0B\u5DE5\u5177\u5217\uFF09\u8FDB\u884C\u6D4B\u8BD5\u3002',
|
||||
"zh-TW": '\u958B\u555F\u5075\u932F\u8A0A\u606F\uFF0C\u4E26\u986F\u793A\u88AB\u96B1\u85CF\u3001\u9000\u5F79\u7684\u8A2D\u5B9A\u5011\u3002\u7D42\u7AEF\u53EF\u4EE5\u900F\u904E\u6309\u4E0B Ctrl+Shift+I \u5F8C\u9078\u64C7 Console \u5206\u9801\u3002\u82E5\u9047\u5230\u554F\u984C\uFF0C\u8ACB\u5728 Github \u767C\u8D77 issue\u3002\u8ACB\u5148\u6AA2\u67E5 Console \u662F\u5426\u5728\u6309\u4E0B Tab \u9375\u5F8C\u986F\u793A "[restore tab] Tab key event triggered"\u3002\u82E5\u5426\uFF0C\u5617\u8A66\u5C07\u81EA\u5B9A\u7FA9\u71B1\u9375\u6539\u70BA\u6BD4\u5982\u885D\u7A81\u6A5F\u7387\u8F03\u4F4E\u7684 "F6"\u3002\u82E5 Tab \u9375\u7121\u6CD5\u89F8\u767C\uFF0C\u6700\u6709\u53EF\u80FD\u7684\u662F\u5176\u4ED6\u63D2\u4EF6\u5C07 Tab \u9375\u4E8B\u4EF6\u62FF\u8D70\u4E86\u3002\u6700\u5F8C\uFF0C\u4F60\u9084\u53EF\u4EE5\u958B\u555F\u65B0\u7684\u5132\u5B58\u5EAB\uFF08\u5DE6\u4E0B\u5DE5\u5177\u5217\uFF09\u9032\u884C\u6E2C\u8A66\u3002'
|
||||
},
|
||||
auto: {
|
||||
"en-US": "Auto",
|
||||
"zh-CN": "\u81EA\u52A8",
|
||||
"zh-TW": "\u81EA\u52D5"
|
||||
},
|
||||
bracesAutoIndent: {
|
||||
"en-US": "Braces Auto Indent",
|
||||
"zh-CN": "\u62EC\u5F27\u81EA\u52A8\u7F29\u8FDB",
|
||||
"zh-TW": "\u62EC\u5F27\u81EA\u52D5\u7E2E\u6392"
|
||||
},
|
||||
enableBracesAutoIndent: {
|
||||
"en-US": "Enable braces auto indent",
|
||||
"zh-CN": "\u542F\u7528\u62EC\u5F27\u81EA\u52A8\u7F29\u8FDB",
|
||||
"zh-TW": "\u555F\u7528\u62EC\u5F27\u81EA\u52D5\u7E2E\u6392"
|
||||
},
|
||||
enableBracesAutoIndentDesc: {
|
||||
"en-US": "When the cursor is next to a brace character, pressing the Enter key will duplicate the indentation from the current line and then add an additional indent according to Obsidian settings",
|
||||
"zh-CN": "\u7576\u5149\u6A19\u5728\u62EC\u5F27\u5B57\u5143\u65C1\u908A\u6642\uFF0C\u6309\u4E0B Enter \u9375\u6703\u8907\u88FD\u7576\u884C\u7684\u7E2E\u9032\uFF0C\u4E26\u518D\u52A0\u4E00\u500B\u7E2E\u9032",
|
||||
"zh-TW": "\u7576\u6E38\u6A19\u5728\u62EC\u5F27\u5B57\u5143\u65C1\u908A\u6642\uFF0C\u6309\u4E0B Enter \u9375\u6703\u8907\u88FD\u7576\u884C\u7684\u7E2E\u6392\uFF0C\u4E26\u518D\u52A0\u4E00\u500B\u7E2E\u6392"
|
||||
},
|
||||
braceSetCode: {
|
||||
"en-US": "Paired braces set (within code blocks)",
|
||||
"zh-CN": "\u6210\u5BF9\u6807\u70B9\u7B26\u53F7/\u62EC\u53F7\u96C6\u5408\uFF08\u5728\u4EE3\u7801\u533A\u5757\u5185\u65F6\uFF09",
|
||||
"zh-TW": "\u6210\u5C0D\u6A19\u9EDE\u7B26\u865F/\u62EC\u5F27\u96C6\u5408\uFF08\u5728\u7A0B\u5F0F\u78BC\u5340\u584A\u5167\u6642\uFF09"
|
||||
},
|
||||
braceSetCodeDesc: {
|
||||
"en-US": "Match the string before the cursor on the line, and after the line. If both match for the same index in the json array of regexes, a paired brace is detected.",
|
||||
"zh-CN": "\u5C06\u5149\u6807\u524D\u9762\u53CA\u540E\u9762\u7684\u5B57\u4E32\u8FDB\u884C\u6B63\u5219\u8868\u8FBE\u5F0F\u5339\u914D\uFF0C\u82E5\u5728json\u9635\u5217\u7684\u540C\u4E00\u4E2A\u4F4D\u7F6E\u6210\u529F\u5339\u914D\u5219\u89C6\u4E3A\u6210\u5BF9\u6807\u70B9\u7B26\u53F7\u3002",
|
||||
"zh-TW": "\u5C07\u6E38\u6A19\u524D\u9762\u53CA\u5F8C\u9762\u7684\u5B57\u4E32\u9032\u884C\u6B63\u898F\u8868\u9054\u5F0F\u5339\u914D\uFF0C\u82E5\u5728json\u9663\u5217\u7684\u540C\u4E00\u500B\u4F4D\u7F6E\u6210\u529F\u5339\u914D\u5247\u8996\u70BA\u6210\u5C0D\u6A19\u9EDE\u7B26\u865F\u3002"
|
||||
},
|
||||
braceSetMarkdown: {
|
||||
"en-US": "Brace regex (outside code blocks)",
|
||||
"zh-CN": "\u6210\u5BF9\u6807\u70B9\u7B26\u53F7/\u62EC\u53F7\u96C6\u5408\uFF08\u4E0D\u5728\u4EE3\u7801\u533A\u5757\u5185/\u4E00\u822C Markdown \u533A\u5757\u5185\u65F6\uFF09",
|
||||
"zh-TW": "\u6210\u5C0D\u6A19\u9EDE\u7B26\u865F/\u62EC\u5F27\u96C6\u5408\uFF08\u4E0D\u5728\u7A0B\u5F0F\u78BC\u5340\u584A\u5167/\u4E00\u822C Markdown \u5340\u584A\u5167\u6642\uFF09"
|
||||
},
|
||||
braceSetMarkdownDesc: {
|
||||
"en-US": "Same thing but when cursor is not in a code block. Default includes multi line math expression $$ and HTML tags. Note that indenting doesn't get rendered in Markdown.",
|
||||
"zh-CN": "\u548C\u524D\u8005\u4E00\u6837\uFF0C\u4F46\u5728\u5149\u6807\u4E0D\u5728\u4EE3\u7801\u533A\u5757\u5185\u65F6\u3002\u9002\u7528\u4E00\u822C Markdown \u8BED\u6CD5\u4F7F\u7528\u3002\u9884\u8BBE\u503C\u5305\u62EC\u591A\u884C\u6570\u5B66\u516C\u5F0F\u548C HTML tags\u3002\u6CE8\u610F\uFF1A\u7F29\u8FDB\u4E0D\u4F1A\u88AB Markdown \u6E32\u67D3\u51FA\u6765",
|
||||
"zh-TW": "\u548C\u524D\u8005\u4E00\u6A23\uFF0C\u4F46\u5728\u6E38\u6A19\u4E0D\u5728\u7A0B\u5F0F\u78BC\u5340\u584A\u5167\u6642\u3002\u9069\u7528\u4E00\u822C Markdown \u8A9E\u6CD5\u4F7F\u7528\u3002\u9810\u8A2D\u503C\u5305\u62EC\u591A\u884C\u6578\u5B78\u516C\u5F0F\u548C HTML tags\u3002 \u6CE8\u610F\uFF1A\u7E2E\u6392\u4E0D\u6703\u88AB Markdown \u6E32\u67D3\u51FA\u4F86"
|
||||
},
|
||||
extraButtonRestore: {
|
||||
"en-US": "Restore default",
|
||||
"zh-CN": "\u6062\u5FA9\u9ED8\u8BA4\u503C",
|
||||
"zh-TW": "\u6062\u5FA9\u9810\u8A2D\u503C"
|
||||
},
|
||||
extraButtonDisable: {
|
||||
"en-US": "Disable",
|
||||
"zh-CN": "\u5173\u95ED",
|
||||
"zh-TW": "\u95DC\u9589"
|
||||
}
|
||||
};
|
||||
|
||||
// main.ts
|
||||
var import_obsidian = require("obsidian");
|
||||
var DEFAULT_SETTINGS = {
|
||||
indentsIfSelection: true,
|
||||
indentsIfSelectionOnlyForMultipleLines: true,
|
||||
useSpaces: false,
|
||||
alignSpaces: true,
|
||||
useHardSpace: false,
|
||||
spacesCount: 4,
|
||||
allowException: false,
|
||||
exceptionRegex: "^[\\s\xA0]*(-|\\d+\\.)( \\[ \\])?\\s*$",
|
||||
useAdvancedTables: false,
|
||||
obsidianTableEditor: true,
|
||||
useOutlinerBetterTab: true,
|
||||
hotkey: "Tab",
|
||||
language: "auto",
|
||||
developerMode: false,
|
||||
enableBracesAutoIndent: true,
|
||||
braceCodeSetOpen: '["\\\\{$", "\\\\[$", "\\\\($", "\\"$", "\'$", "`$"]',
|
||||
braceCodeSetClose: '["^\\\\}", "^\\\\]", "^\\\\)", "^\\"", "^\'", "^`"]',
|
||||
braceMarkdownSetOpen: `["\\\\{$", "\\\\[$", "\\\\($", "\\"$", "'$", "\\\\$\\\\$$", "<.+>$", "\xA1$", "\xBF$"]`,
|
||||
braceMarkdownSetClose: `["^\\\\}", "^\\\\]", "^\\\\)", "^\\"", "^'", "^\\\\$\\\\$", "^<\\\\/\\\\w+>", "^!", "^?"]`,
|
||||
indentCharacters: " ",
|
||||
activateInCodeBlocks: true,
|
||||
activateInLists: false,
|
||||
activateInTables: false,
|
||||
activateInInlineCode: false,
|
||||
activateInOthers: false
|
||||
};
|
||||
var TabKeyPlugin = class extends import_obsidian.Plugin {
|
||||
constructor() {
|
||||
super(...arguments);
|
||||
this.getToken = (state) => {
|
||||
const ast = (0, import_language.syntaxTree)(state);
|
||||
return ast.resolveInner(state.selection.main.head, -1).type.name;
|
||||
};
|
||||
this.log = (msg) => {
|
||||
if (this.settings.developerMode)
|
||||
console.log("[restore tab] " + msg);
|
||||
};
|
||||
}
|
||||
async onload() {
|
||||
await this.loadSettings();
|
||||
this.addSettingTab(new SettingTab(this.app, this));
|
||||
let outlinerIndenting = false;
|
||||
this.registerEditorExtension(import_state.Prec.highest(import_view.keymap.of([
|
||||
{
|
||||
key: this.settings.hotkey,
|
||||
run: () => {
|
||||
this.log("Tab key event triggered");
|
||||
if (outlinerIndenting) {
|
||||
this.log("Failed to execute: Outliner recursive call blocked");
|
||||
return false;
|
||||
}
|
||||
const view = this.app.workspace.getActiveViewOfType(import_obsidian.MarkdownView);
|
||||
if (!view) {
|
||||
this.log("Failed to execute: Cannot get editor view");
|
||||
return false;
|
||||
}
|
||||
const editor = view.editor;
|
||||
const sourceMode = view.getState().source;
|
||||
const token = this.getToken(editor.cm.state);
|
||||
this.log("Current token: " + token);
|
||||
const cursorFrom = editor.getCursor("from");
|
||||
const cursorTo = editor.getCursor("to");
|
||||
const somethingSelected = cursorFrom.line != cursorTo.line || cursorFrom.ch != cursorTo.ch;
|
||||
const app = this.app;
|
||||
const isTable = RegExp(`^ *\\|`, "u").test(editor.getLine(cursorFrom.line)) || token.includes("HyperMD-table");
|
||||
if (token.includes("inline-code")) {
|
||||
if (!this.settings.activateInInlineCode) {
|
||||
this.log("Did not execute: Inline code environment not activated");
|
||||
return false;
|
||||
}
|
||||
} else if (token.includes("hmd-codeblock")) {
|
||||
if (!this.settings.activateInCodeBlocks) {
|
||||
this.log("Did not execute: Code block environment not activated");
|
||||
return false;
|
||||
}
|
||||
} else if (token.includes("list-1")) {
|
||||
if (!this.settings.activateInLists) {
|
||||
this.log("Did not execute: List environment not activated");
|
||||
return false;
|
||||
}
|
||||
} else if (!isTable) {
|
||||
if (!this.settings.activateInOthers) {
|
||||
this.log("Did not execute: Other environments not activated");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (this.settings.useOutlinerBetterTab && RegExp("^[\\s]*(-|\\d+\\.)", "u").test(editor.getLine(cursorFrom.line))) {
|
||||
const prevLine = editor.getLine(cursorFrom.line);
|
||||
outlinerIndenting = true;
|
||||
this.log("Trying Outliner indent");
|
||||
app.commands.executeCommandById("obsidian-outliner:indent-list");
|
||||
outlinerIndenting = false;
|
||||
if (prevLine != editor.getLine(cursorFrom.line)) {
|
||||
this.log("Did not execute: Handled by Outliner");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
if (isTable && !this.settings.activateInTables) {
|
||||
if (!sourceMode) {
|
||||
this.log("Table environment in Live Preview mode");
|
||||
if (this.settings.obsidianTableEditor) {
|
||||
this.log("Did not execute: Handled by Obsidian Table Editor");
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
this.log("Table environment in Source mode");
|
||||
if (this.settings.useAdvancedTables) {
|
||||
app.commands.executeCommandById("table-editor-obsidian:next-cell");
|
||||
this.log("Did not execute: Handled by Advanced Table");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (somethingSelected && this.settings.indentsIfSelection && (!this.settings.indentsIfSelectionOnlyForMultipleLines || cursorTo.line != cursorFrom.line)) {
|
||||
editor.exec("indentMore");
|
||||
this.log("Indented");
|
||||
} else {
|
||||
const cursorFrom2 = editor.getCursor("from");
|
||||
const tabStr = this.settings.useSpaces ? (this.settings.useHardSpace ? "\xA0" : " ").repeat(this.settings.alignSpaces ? this.settings.spacesCount - cursorFrom2.ch % this.settings.spacesCount : this.settings.spacesCount) : " ";
|
||||
if (!somethingSelected && this.settings.allowException) {
|
||||
if (RegExp(this.settings.exceptionRegex, "u").test(editor.getLine(cursorFrom2.line))) {
|
||||
editor.exec("indentMore");
|
||||
this.log("Indented (regex exception)");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
editor.replaceSelection(tabStr);
|
||||
editor.setCursor({
|
||||
line: cursorFrom2.line,
|
||||
ch: cursorFrom2.ch + tabStr.length
|
||||
});
|
||||
this.log("Tab inserted");
|
||||
}
|
||||
return true;
|
||||
},
|
||||
preventDefault: false
|
||||
},
|
||||
{
|
||||
key: "Enter",
|
||||
run: () => {
|
||||
this.log("Enter key event triggered");
|
||||
if (!this.settings.enableBracesAutoIndent)
|
||||
return false;
|
||||
const view = this.app.workspace.getActiveViewOfType(import_obsidian.MarkdownView);
|
||||
if (!view) {
|
||||
this.log("Failed to execute: Cannot get editor view");
|
||||
return false;
|
||||
}
|
||||
const editor = view.editor;
|
||||
if (editor.getCursor("from").line != editor.getCursor("to").line || editor.getCursor("from").ch != editor.getCursor("to").ch)
|
||||
return false;
|
||||
const cursor = editor.getCursor("from");
|
||||
const line = editor.getLine(cursor.line);
|
||||
const token = this.getToken(editor.cm.state);
|
||||
if (this.settings.developerMode) {
|
||||
this.log("Current token: " + token);
|
||||
this.log("which is" + (token.includes("hmd-codeblock") ? " " : " not ") + "a code block, matching regexes for " + (token.includes("hmd-codeblock") ? "code" : "markdown"));
|
||||
}
|
||||
let braceDetected = false;
|
||||
const bracesOpen = JSON.parse(token.includes("hmd-codeblock") ? this.settings.braceCodeSetOpen : this.settings.braceMarkdownSetOpen);
|
||||
const bracesClose = JSON.parse(token.includes("hmd-codeblock") ? this.settings.braceCodeSetClose : this.settings.braceMarkdownSetClose);
|
||||
const pairs = Math.min(bracesOpen.length, bracesClose.length);
|
||||
this.log("there are " + pairs + " pairs of braces defined");
|
||||
for (let i = 0; i < pairs; i++) {
|
||||
this.log("matching regex " + bracesOpen[i] + " and " + bracesClose[i]);
|
||||
if (RegExp(bracesOpen[i], "u").test(line.substring(0, cursor.ch)) && RegExp(bracesClose[i], "u").test(line.substring(cursor.ch))) {
|
||||
braceDetected = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (braceDetected) {
|
||||
this.log("Code Auto Indent: Brace detected");
|
||||
let indentPrefixLen = 0;
|
||||
while (this.settings.indentCharacters.includes(line[indentPrefixLen]))
|
||||
indentPrefixLen++;
|
||||
editor.exec("newlineAndIndent");
|
||||
if (cursor.ch == line.length) {
|
||||
this.log("Pressed enter without closing pair to the right of the cursor");
|
||||
} else if (editor.getLine(cursor.line + 1).length && !this.settings.indentCharacters.includes(editor.getLine(cursor.line + 1).charAt(editor.getLine(cursor.line + 1).length - 1))) {
|
||||
this.log("Closing pair or whatever was to the right of the cursor is still here, entering one more time");
|
||||
editor.exec("newlineAndIndent");
|
||||
} else {
|
||||
this.log("Closing pair was automatically moved one extra line down");
|
||||
}
|
||||
editor.setLine(cursor.line + 1, line.substring(0, indentPrefixLen));
|
||||
if (line.substring(cursor.ch)) {
|
||||
editor.setLine(cursor.line + 2, line.substring(0, indentPrefixLen) + line.substring(cursor.ch));
|
||||
}
|
||||
editor.setCursor(cursor.line + 1, editor.getLine(cursor.line + 1).length);
|
||||
editor.exec("indentMore");
|
||||
editor.setCursor(cursor.line + 1, editor.getLine(cursor.line + 1).length);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
])));
|
||||
}
|
||||
createKeymapRunCallback() {
|
||||
return (view) => {
|
||||
return true;
|
||||
};
|
||||
}
|
||||
onunload() {
|
||||
}
|
||||
async loadSettings() {
|
||||
this.settings = Object.assign({}, DEFAULT_SETTINGS, await this.loadData());
|
||||
}
|
||||
async saveSettings() {
|
||||
await this.saveData(this.settings);
|
||||
}
|
||||
};
|
||||
var SettingTab = class extends import_obsidian.PluginSettingTab {
|
||||
constructor(app, plugin) {
|
||||
super(app, plugin);
|
||||
this.plugin = plugin;
|
||||
}
|
||||
display() {
|
||||
const appLang = window.localStorage.getItem("language");
|
||||
this.plugin.log("Detected application language: " + appLang + (appLang == null ? " (aka English)" : ""));
|
||||
const lang = this.plugin.settings.language == "auto" ? appLang == "zh-TW" ? "zh-TW" : appLang == "zh" ? "zh-CN" : "en-US" : this.plugin.settings.language;
|
||||
this.plugin.log("Using localization: " + lang);
|
||||
const { containerEl } = this;
|
||||
containerEl.empty();
|
||||
containerEl.createEl("h3", {
|
||||
text: localization["title"][lang]
|
||||
});
|
||||
containerEl.createEl("i", {
|
||||
text: localization["description"][lang]
|
||||
});
|
||||
containerEl.createEl("br");
|
||||
containerEl.createEl("br");
|
||||
new import_obsidian.Setting(containerEl).setName(localization["language"][lang]).setDesc(localization["languageDesc"][lang]).addDropdown((toggle) => toggle.addOptions({
|
||||
auto: localization["auto"][lang],
|
||||
"en-US": "English (US)",
|
||||
"zh-CN": "\u7B80\u4F53\u4E2D\u6587",
|
||||
"zh-TW": "\u7E41\u9AD4\u4E2D\u6587"
|
||||
}).setValue(this.plugin.settings.language).onChange(async (value) => {
|
||||
this.plugin.settings.language = value;
|
||||
await this.plugin.saveSettings();
|
||||
this.display();
|
||||
}));
|
||||
containerEl.createEl("h5", {
|
||||
text: localization["tabOrSpace"][lang]
|
||||
});
|
||||
new import_obsidian.Setting(containerEl).setName(localization["useSpacesInsteadOfTab"][lang]).setDesc(localization["useSpacesInsteadOfTabDesc"][lang]).addToggle((toggle) => toggle.setValue(this.plugin.settings.useSpaces).onChange(async (value) => {
|
||||
this.plugin.settings.useSpaces = value;
|
||||
this.display();
|
||||
await this.plugin.saveSettings();
|
||||
}));
|
||||
if (this.plugin.settings.useSpaces) {
|
||||
new import_obsidian.Setting(containerEl).setName(localization["spaceCount"][lang]).setDesc(localization["spaceCountDesc"][lang]).addSlider((slider) => slider.setValue(this.plugin.settings.spacesCount).setLimits(2, 8, 1).setDynamicTooltip().onChange(async (value) => {
|
||||
this.plugin.settings.spacesCount = value;
|
||||
await this.plugin.saveSettings();
|
||||
}));
|
||||
new import_obsidian.Setting(containerEl).setName(localization["alignSpaces"][lang]).setDesc(localization["alignSpacesDesc"][lang]).addToggle((toggle) => toggle.setValue(this.plugin.settings.alignSpaces).onChange(async (value) => {
|
||||
this.plugin.settings.alignSpaces = value;
|
||||
await this.plugin.saveSettings();
|
||||
}));
|
||||
new import_obsidian.Setting(containerEl).setName(localization["useHardSpaces"][lang]).setDesc(localization["useHardSpacesDesc"][lang]).addToggle((toggle) => toggle.setValue(this.plugin.settings.useHardSpace).onChange(async (value) => {
|
||||
this.plugin.settings.useHardSpace = value;
|
||||
await this.plugin.saveSettings();
|
||||
}));
|
||||
}
|
||||
containerEl.createEl("h5", {
|
||||
text: localization["tabKeyBehavior"][lang]
|
||||
});
|
||||
new import_obsidian.Setting(containerEl).setName(localization["activateIn"][lang]).setDesc(localization["activateInDesc"][lang]);
|
||||
new import_obsidian.Setting(containerEl).setName("\xA0\xA0\xA0\xA0" + localization["activateInCodeBlocks"][lang]).addToggle((toggle) => toggle.setValue(this.plugin.settings.activateInCodeBlocks).onChange(async (value) => {
|
||||
this.plugin.settings.activateInCodeBlocks = value;
|
||||
await this.plugin.saveSettings();
|
||||
}));
|
||||
new import_obsidian.Setting(containerEl).setName("\xA0\xA0\xA0\xA0" + localization["activateInLists"][lang]).addToggle((toggle) => toggle.setValue(this.plugin.settings.activateInLists).onChange(async (value) => {
|
||||
this.plugin.settings.activateInLists = value;
|
||||
await this.plugin.saveSettings();
|
||||
}));
|
||||
new import_obsidian.Setting(containerEl).setName("\xA0\xA0\xA0\xA0" + localization["activateInTables"][lang]).addToggle((toggle) => toggle.setValue(this.plugin.settings.activateInTables).onChange(async (value) => {
|
||||
this.plugin.settings.activateInTables = value;
|
||||
await this.plugin.saveSettings();
|
||||
}));
|
||||
new import_obsidian.Setting(containerEl).setName("\xA0\xA0\xA0\xA0" + localization["activateInInlineCode"][lang]).addToggle((toggle) => toggle.setValue(this.plugin.settings.activateInInlineCode).onChange(async (value) => {
|
||||
this.plugin.settings.activateInInlineCode = value;
|
||||
await this.plugin.saveSettings();
|
||||
}));
|
||||
new import_obsidian.Setting(containerEl).setName("\xA0\xA0\xA0\xA0" + localization["activateInOthers"][lang]).addToggle((toggle) => toggle.setValue(this.plugin.settings.activateInOthers).onChange(async (value) => {
|
||||
this.plugin.settings.activateInOthers = value;
|
||||
await this.plugin.saveSettings();
|
||||
}));
|
||||
new import_obsidian.Setting(containerEl).setName(localization["indentWhenSelectionNotEmpty"][lang]).setDesc(localization["indentWhenSelectionNotEmptyDesc"][lang]).addToggle((toggle) => toggle.setValue(this.plugin.settings.indentsIfSelection).onChange(async (value) => {
|
||||
this.plugin.settings.indentsIfSelection = value;
|
||||
this.display();
|
||||
await this.plugin.saveSettings();
|
||||
}));
|
||||
if (this.plugin.settings.indentsIfSelection) {
|
||||
new import_obsidian.Setting(containerEl).setName(localization["indentOnlySelectionMultipleLine"][lang]).setDesc(localization["indentOnlySelectionMultipleLineDesc"][lang]).addToggle((toggle) => toggle.setValue(this.plugin.settings.indentsIfSelectionOnlyForMultipleLines).onChange(async (value) => {
|
||||
this.plugin.settings.indentsIfSelectionOnlyForMultipleLines = value;
|
||||
await this.plugin.saveSettings();
|
||||
}));
|
||||
}
|
||||
if (this.plugin.settings.developerMode) {
|
||||
new import_obsidian.Setting(containerEl).setName(localization["allowException"][lang]).setDesc(localization["allowExceptionDesc"][lang]).addToggle((toggle) => toggle.setValue(this.plugin.settings.allowException).onChange(async (value) => {
|
||||
this.plugin.settings.allowException = value;
|
||||
this.display();
|
||||
await this.plugin.saveSettings();
|
||||
}));
|
||||
if (this.plugin.settings.allowException) {
|
||||
new import_obsidian.Setting(containerEl).setName(localization["exceptionRegex"][lang]).setDesc(localization["exceptionRegexDesc"][lang]).addText((textbox) => textbox.setValue(this.plugin.settings.exceptionRegex).setPlaceholder("Regex").onChange(async (value) => {
|
||||
this.plugin.settings.exceptionRegex = value;
|
||||
await this.plugin.saveSettings();
|
||||
})).addExtraButton((button) => button.setIcon("rotate-ccw").setTooltip(localization["extraButtonRestore"][lang]).onClick(async () => {
|
||||
this.plugin.settings.exceptionRegex = DEFAULT_SETTINGS.exceptionRegex;
|
||||
this.display();
|
||||
await this.plugin.saveSettings();
|
||||
}));
|
||||
}
|
||||
}
|
||||
containerEl.createEl("h5", {
|
||||
text: localization["bracesAutoIndent"][lang]
|
||||
});
|
||||
new import_obsidian.Setting(containerEl).setName(localization["enableBracesAutoIndent"][lang]).setDesc(localization["enableBracesAutoIndentDesc"][lang]).addToggle((toggle) => toggle.setValue(this.plugin.settings.enableBracesAutoIndent).onChange(async (value) => {
|
||||
this.plugin.settings.enableBracesAutoIndent = value;
|
||||
this.display();
|
||||
await this.plugin.saveSettings();
|
||||
}));
|
||||
if (this.plugin.settings.enableBracesAutoIndent) {
|
||||
new import_obsidian.Setting(containerEl).setName(localization["braceSetCode"][lang]).setDesc(localization["braceSetCodeDesc"][lang]).addTextArea((textbox) => textbox.setValue(this.plugin.settings.braceCodeSetOpen).setPlaceholder("json array of regexes").onChange(async (value) => {
|
||||
this.plugin.settings.braceCodeSetOpen = value;
|
||||
await this.plugin.saveSettings();
|
||||
})).addTextArea((textbox) => textbox.setValue(this.plugin.settings.braceCodeSetClose).setPlaceholder("json array of regexes").onChange(async (value) => {
|
||||
this.plugin.settings.braceCodeSetClose = value;
|
||||
await this.plugin.saveSettings();
|
||||
})).addExtraButton((button) => button.setIcon("rotate-ccw").setTooltip(localization["extraButtonRestore"][lang]).onClick(async () => {
|
||||
this.plugin.settings.braceCodeSetOpen = DEFAULT_SETTINGS.braceCodeSetOpen;
|
||||
this.plugin.settings.braceCodeSetClose = DEFAULT_SETTINGS.braceCodeSetClose;
|
||||
this.display();
|
||||
await this.plugin.saveSettings();
|
||||
})).addExtraButton((button) => button.setIcon("ban").setTooltip(localization["extraButtonDisable"][lang]).onClick(async () => {
|
||||
this.plugin.settings.braceCodeSetOpen = "[]";
|
||||
this.plugin.settings.braceCodeSetClose = "[]";
|
||||
this.display();
|
||||
await this.plugin.saveSettings();
|
||||
}));
|
||||
new import_obsidian.Setting(containerEl).setName(localization["braceSetMarkdown"][lang]).setDesc(localization["braceSetMarkdownDesc"][lang]).addTextArea((textbox) => textbox.setValue(this.plugin.settings.braceMarkdownSetOpen).setPlaceholder("json array of regexes").onChange(async (value) => {
|
||||
this.plugin.settings.braceMarkdownSetOpen = value;
|
||||
await this.plugin.saveSettings();
|
||||
})).addTextArea((textbox) => textbox.setValue(this.plugin.settings.braceMarkdownSetClose).setPlaceholder("json array of regexes").onChange(async (value) => {
|
||||
this.plugin.settings.braceMarkdownSetClose = value;
|
||||
await this.plugin.saveSettings();
|
||||
})).addExtraButton((button) => button.setIcon("rotate-ccw").setTooltip(localization["extraButtonRestore"][lang]).onClick(async () => {
|
||||
this.plugin.settings.braceMarkdownSetOpen = DEFAULT_SETTINGS.braceMarkdownSetOpen;
|
||||
this.plugin.settings.braceMarkdownSetClose = DEFAULT_SETTINGS.braceMarkdownSetClose;
|
||||
this.display();
|
||||
await this.plugin.saveSettings();
|
||||
})).addExtraButton((button) => button.setIcon("ban").setTooltip(localization["extraButtonDisable"][lang]).onClick(async () => {
|
||||
this.plugin.settings.braceMarkdownSetOpen = "[]";
|
||||
this.plugin.settings.braceMarkdownSetClose = "[]";
|
||||
this.display();
|
||||
await this.plugin.saveSettings();
|
||||
}));
|
||||
}
|
||||
if (this.plugin.settings.developerMode) {
|
||||
containerEl.createEl("h5", {
|
||||
text: localization["pluginCompatibility"][lang]
|
||||
});
|
||||
new import_obsidian.Setting(containerEl).setName(localization["obsidianTableEditor"][lang]).setDesc(localization["obsidianTableEditorDesc"][lang]).addToggle((toggle) => toggle.setValue(this.plugin.settings.obsidianTableEditor).onChange(async (value) => {
|
||||
this.plugin.settings.obsidianTableEditor = value;
|
||||
await this.plugin.saveSettings();
|
||||
}));
|
||||
if (this.plugin.settings.developerMode) {
|
||||
new import_obsidian.Setting(containerEl).setName(localization["advancedTables"][lang]).setDesc(localization["advancedTablesDesc"][lang]).addToggle((toggle) => toggle.setValue(this.plugin.settings.useAdvancedTables).onChange(async (value) => {
|
||||
this.plugin.settings.useAdvancedTables = value;
|
||||
await this.plugin.saveSettings();
|
||||
}));
|
||||
}
|
||||
new import_obsidian.Setting(containerEl).setName(localization["outliner"][lang]).setDesc(localization["outlinerDesc"][lang]).addToggle((toggle) => toggle.setValue(this.plugin.settings.useOutlinerBetterTab).onChange(async (value) => {
|
||||
this.plugin.settings.useOutlinerBetterTab = value;
|
||||
await this.plugin.saveSettings();
|
||||
}));
|
||||
}
|
||||
containerEl.createEl("h5", {
|
||||
text: localization["additional"][lang]
|
||||
});
|
||||
new import_obsidian.Setting(containerEl).setName(localization["customHotkey"][lang]).setDesc(localization["customHotkeyDesc"][lang]).addText((textbox) => textbox.setValue(this.plugin.settings.hotkey).setPlaceholder("Ctrl-Alt-Space").onChange(async (value) => {
|
||||
this.plugin.settings.hotkey = value;
|
||||
await this.plugin.saveSettings();
|
||||
})).addExtraButton((button) => button.setIcon("rotate-ccw").setTooltip(localization["extraButtonRestore"][lang]).onClick(async () => {
|
||||
this.plugin.settings.hotkey = DEFAULT_SETTINGS.hotkey;
|
||||
this.display();
|
||||
await this.plugin.saveSettings();
|
||||
}));
|
||||
new import_obsidian.Setting(containerEl).setName(localization["developerMode"][lang]).setDesc(localization["developerModeDesc"][lang]).addToggle((toggle) => toggle.setValue(this.plugin.settings.developerMode).onChange(async (value) => {
|
||||
this.plugin.settings.developerMode = value;
|
||||
this.display();
|
||||
await this.plugin.saveSettings();
|
||||
}));
|
||||
}
|
||||
};
|
10
.obsidian/plugins/restore-tab-key/manifest.json
vendored
Normal file
10
.obsidian/plugins/restore-tab-key/manifest.json
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
{
|
||||
"id": "restore-tab-key",
|
||||
"name": "Restore Tab Key",
|
||||
"version": "1.18.5",
|
||||
"minAppVersion": "0.15.0",
|
||||
"description": "Restore tab key behaviour: tab key inserts a tab character, the way it should be.",
|
||||
"author": "jerrymk",
|
||||
"authorUrl": "https://github.com/jrymk",
|
||||
"isDesktopOnly": false
|
||||
}
|
4
.obsidian/plugins/surfing/data.json
vendored
4
.obsidian/plugins/surfing/data.json
vendored
@ -48,10 +48,10 @@
|
||||
},
|
||||
"treeData": [
|
||||
{
|
||||
"id": "c51b90d77f670fb2",
|
||||
"id": "e6ebe14ad3720265",
|
||||
"parent": 0,
|
||||
"droppable": true,
|
||||
"text": "The Advantages of Text-Based Information Versus Videos, Audio or Images",
|
||||
"text": "0SK42 - comment mieux apprendre",
|
||||
"data": {
|
||||
"fileType": "site",
|
||||
"fileSize": "",
|
||||
|
File diff suppressed because one or more lines are too long
@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "sync-graph-settings",
|
||||
"name": "Sync Graph Settings",
|
||||
"version": "1.2.0",
|
||||
"version": "1.3.0",
|
||||
"minAppVersion": "0.15.0",
|
||||
"description": "This is a plugin for syncing various graph settings to Local Graphs",
|
||||
"author": "xallt",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "tasks-calendar-wrapper",
|
||||
"name": "Tasks Calendar Wrapper",
|
||||
"version": "0.2.9",
|
||||
"version": "0.3.1",
|
||||
"minAppVersion": "0.15.0",
|
||||
"description": "This is a simple wrapper for Obsidian-Tasks-Calendar (https://github.com/702573N/Obsidian-Tasks-Calendar) and Obsidian-Tasks-Timeline (https://github.com/702573N/Obsidian-Tasks-Timeline).",
|
||||
"author": "zhuwenq",
|
||||
|
@ -22,6 +22,8 @@
|
||||
"syntax_highlighting": true,
|
||||
"syntax_highlighting_mobile": false,
|
||||
"enabled_templates_hotkeys": [
|
||||
"templates/note mathématique.md",
|
||||
"templates/flipside excalidraw note.md",
|
||||
""
|
||||
],
|
||||
"startup_templates": [
|
||||
|
5655
.obsidian/plugins/templater-obsidian/main.js
vendored
5655
.obsidian/plugins/templater-obsidian/main.js
vendored
File diff suppressed because one or more lines are too long
@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "templater-obsidian",
|
||||
"name": "Templater",
|
||||
"version": "2.3.3",
|
||||
"version": "2.7.1",
|
||||
"description": "Create and use templates",
|
||||
"minAppVersion": "1.5.0",
|
||||
"author": "SilentVoid",
|
||||
|
29
.obsidian/plugins/terminal/data.json
vendored
29
.obsidian/plugins/terminal/data.json
vendored
@ -6,6 +6,7 @@
|
||||
"exposeInternalModules": true,
|
||||
"focusOnNewInstance": true,
|
||||
"hideStatusBar": "focused",
|
||||
"interceptLogging": true,
|
||||
"language": "",
|
||||
"newInstanceBehavior": "newHorizontalSplit",
|
||||
"noticeTimeout": 5,
|
||||
@ -28,7 +29,9 @@
|
||||
"SIGINT",
|
||||
"SIGTERM"
|
||||
],
|
||||
"terminalOptions": {},
|
||||
"terminalOptions": {
|
||||
"documentOverride": null
|
||||
},
|
||||
"type": "external"
|
||||
},
|
||||
"darwinIntegratedDefault": {
|
||||
@ -45,7 +48,9 @@
|
||||
"SIGINT",
|
||||
"SIGTERM"
|
||||
],
|
||||
"terminalOptions": {},
|
||||
"terminalOptions": {
|
||||
"documentOverride": null
|
||||
},
|
||||
"type": "integrated",
|
||||
"useWin32Conhost": true
|
||||
},
|
||||
@ -57,7 +62,9 @@
|
||||
"SIGINT",
|
||||
"SIGTERM"
|
||||
],
|
||||
"terminalOptions": {},
|
||||
"terminalOptions": {
|
||||
"documentOverride": null
|
||||
},
|
||||
"type": "developerConsole"
|
||||
},
|
||||
"linuxExternalDefault": {
|
||||
@ -73,7 +80,9 @@
|
||||
"SIGINT",
|
||||
"SIGTERM"
|
||||
],
|
||||
"terminalOptions": {},
|
||||
"terminalOptions": {
|
||||
"documentOverride": null
|
||||
},
|
||||
"type": "external"
|
||||
},
|
||||
"linuxIntegratedDefault": {
|
||||
@ -90,7 +99,9 @@
|
||||
"SIGINT",
|
||||
"SIGTERM"
|
||||
],
|
||||
"terminalOptions": {},
|
||||
"terminalOptions": {
|
||||
"documentOverride": null
|
||||
},
|
||||
"type": "integrated",
|
||||
"useWin32Conhost": true
|
||||
},
|
||||
@ -107,7 +118,9 @@
|
||||
"SIGINT",
|
||||
"SIGTERM"
|
||||
],
|
||||
"terminalOptions": {},
|
||||
"terminalOptions": {
|
||||
"documentOverride": null
|
||||
},
|
||||
"type": "external"
|
||||
},
|
||||
"win32IntegratedDefault": {
|
||||
@ -124,7 +137,9 @@
|
||||
"SIGINT",
|
||||
"SIGTERM"
|
||||
],
|
||||
"terminalOptions": {},
|
||||
"terminalOptions": {
|
||||
"documentOverride": null
|
||||
},
|
||||
"type": "integrated",
|
||||
"useWin32Conhost": true
|
||||
}
|
||||
|
72
.obsidian/plugins/terminal/main.js
vendored
72
.obsidian/plugins/terminal/main.js
vendored
File diff suppressed because one or more lines are too long
2
.obsidian/plugins/terminal/manifest.json
vendored
2
.obsidian/plugins/terminal/manifest.json
vendored
@ -5,7 +5,7 @@
|
||||
"Buy Me a Coffee": "https://buymeacoffee.com/polyipseity",
|
||||
"GitHub Sponsors": "https://github.com/sponsors/polyipseity"
|
||||
},
|
||||
"version": "3.15.0",
|
||||
"version": "3.15.1",
|
||||
"authorUrl": "https://github.com/polyipseity",
|
||||
"id": "terminal",
|
||||
"isDesktopOnly": false,
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user