update
This commit is contained in:
@@ -1,20 +1,30 @@
|
|||||||
[
|
{
|
||||||
"file-explorer",
|
"file-explorer": true,
|
||||||
"global-search",
|
"global-search": true,
|
||||||
"switcher",
|
"switcher": true,
|
||||||
"graph",
|
"graph": true,
|
||||||
"backlink",
|
"backlink": true,
|
||||||
"outgoing-link",
|
"canvas": false,
|
||||||
"tag-pane",
|
"outgoing-link": true,
|
||||||
"page-preview",
|
"tag-pane": true,
|
||||||
"daily-notes",
|
"properties": false,
|
||||||
"templates",
|
"page-preview": true,
|
||||||
"note-composer",
|
"daily-notes": true,
|
||||||
"command-palette",
|
"templates": true,
|
||||||
"editor-status",
|
"note-composer": true,
|
||||||
"bookmarks",
|
"command-palette": true,
|
||||||
"random-note",
|
"slash-command": false,
|
||||||
"outline",
|
"editor-status": true,
|
||||||
"word-count",
|
"bookmarks": true,
|
||||||
"file-recovery"
|
"markdown-importer": false,
|
||||||
]
|
"zk-prefixer": false,
|
||||||
|
"random-note": true,
|
||||||
|
"outline": true,
|
||||||
|
"word-count": true,
|
||||||
|
"slides": false,
|
||||||
|
"audio-recorder": false,
|
||||||
|
"workspaces": false,
|
||||||
|
"file-recovery": true,
|
||||||
|
"publish": false,
|
||||||
|
"sync": false
|
||||||
|
}
|
||||||
Vendored
+2
-2
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"theme": "system",
|
"theme": "obsidian",
|
||||||
"cssTheme": "Minimal",
|
"cssTheme": "Minimal",
|
||||||
"baseFontSize": 33,
|
"baseFontSize": 28,
|
||||||
"enabledCssSnippets": [
|
"enabledCssSnippets": [
|
||||||
"pdf_darkmode",
|
"pdf_darkmode",
|
||||||
"query_header_title",
|
"query_header_title",
|
||||||
|
|||||||
Vendored
+2
-27
@@ -1,40 +1,15 @@
|
|||||||
[
|
[
|
||||||
"dataview",
|
"dataview",
|
||||||
"obsidian-excalidraw-plugin",
|
|
||||||
"obsidian-latex",
|
"obsidian-latex",
|
||||||
"obsidian-kanban",
|
|
||||||
"obsidian-latex-suite",
|
"obsidian-latex-suite",
|
||||||
"obsidian-minimal-settings",
|
"obsidian-minimal-settings",
|
||||||
"note-aliases",
|
|
||||||
"qmd-as-md-obsidian",
|
|
||||||
"quickadd",
|
|
||||||
"obsidian-quickshare",
|
|
||||||
"obsidian-rollover-daily-todos",
|
|
||||||
"obsidian-shellcommands",
|
|
||||||
"obsidian-spaced-repetition",
|
|
||||||
"tag-wrangler",
|
|
||||||
"obsidian-tasks-plugin",
|
|
||||||
"templater-obsidian",
|
|
||||||
"text-snippets-obsidian",
|
|
||||||
"txt-as-md-obsidian",
|
|
||||||
"obsidian-style-settings",
|
"obsidian-style-settings",
|
||||||
"obsidian-plugin-toc",
|
|
||||||
"omnisearch",
|
"omnisearch",
|
||||||
"restore-tab-key",
|
|
||||||
"obsidian-list-callouts",
|
|
||||||
"obsidian-vimrc-support",
|
"obsidian-vimrc-support",
|
||||||
"breadcrumbs",
|
"breadcrumbs",
|
||||||
"zotlit",
|
|
||||||
"number-headings-obsidian",
|
|
||||||
"obsidian-markmind",
|
|
||||||
"obsidian42-brat",
|
"obsidian42-brat",
|
||||||
"obsidian-completr",
|
|
||||||
"nldates-obsidian",
|
|
||||||
"obsidian-day-planner",
|
"obsidian-day-planner",
|
||||||
"calendar",
|
|
||||||
"share-note",
|
|
||||||
"languagetool",
|
|
||||||
"code-styler",
|
|
||||||
"obsidian-hider",
|
"obsidian-hider",
|
||||||
"math-in-callout"
|
"lazy-plugins",
|
||||||
|
"obsidian-path-finder"
|
||||||
]
|
]
|
||||||
Vendored
+5
-5
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"collapse-filter": false,
|
"collapse-filter": true,
|
||||||
"search": "",
|
"search": "",
|
||||||
"showTags": false,
|
"showTags": false,
|
||||||
"showAttachments": false,
|
"showAttachments": false,
|
||||||
@@ -120,16 +120,16 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"collapse-display": true,
|
"collapse-display": false,
|
||||||
"showArrow": false,
|
"showArrow": false,
|
||||||
"textFadeMultiplier": 0,
|
"textFadeMultiplier": 0,
|
||||||
"nodeSizeMultiplier": 1.29210205078125,
|
"nodeSizeMultiplier": 1.29210205078125,
|
||||||
"lineSizeMultiplier": 1.70143229166667,
|
"lineSizeMultiplier": 5,
|
||||||
"collapse-forces": true,
|
"collapse-forces": true,
|
||||||
"centerStrength": 0.238240559895833,
|
"centerStrength": 0.238240559895833,
|
||||||
"repelStrength": 6.47786458333333,
|
"repelStrength": 6.47786458333333,
|
||||||
"linkStrength": 1,
|
"linkStrength": 1,
|
||||||
"linkDistance": 30,
|
"linkDistance": 30,
|
||||||
"scale": 0.1499822636139426,
|
"scale": 0.934860444721763,
|
||||||
"close": true
|
"close": false
|
||||||
}
|
}
|
||||||
Vendored
+21
@@ -991,5 +991,26 @@
|
|||||||
],
|
],
|
||||||
"key": "K"
|
"key": "K"
|
||||||
}
|
}
|
||||||
|
],
|
||||||
|
"editor:toggle-comments": [
|
||||||
|
{
|
||||||
|
"modifiers": [
|
||||||
|
"Mod"
|
||||||
|
],
|
||||||
|
"key": "/"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"modifiers": [
|
||||||
|
"Ctrl"
|
||||||
|
],
|
||||||
|
"key": "\\"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"modifiers": [
|
||||||
|
"Mod",
|
||||||
|
"Shift"
|
||||||
|
],
|
||||||
|
"key": "/"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
BIN
Binary file not shown.
-1
File diff suppressed because one or more lines are too long
Vendored
+4
-2
File diff suppressed because one or more lines are too long
Vendored
+11
-11
@@ -1,11 +1,11 @@
|
|||||||
{
|
{
|
||||||
"id": "cmdr",
|
"id": "cmdr",
|
||||||
"name": "Commander",
|
"name": "Commander",
|
||||||
"version": "0.5.1",
|
"version": "0.5.2",
|
||||||
"minAppVersion": "1.4.0",
|
"minAppVersion": "1.4.0",
|
||||||
"description": "Customize your workspace by adding commands everywhere, create Macros and supercharge your mobile toolbar.",
|
"description": "Customize your workspace by adding commands everywhere, create Macros and supercharge your mobile toolbar.",
|
||||||
"author": "jsmorabito & phibr0",
|
"author": "jsmorabito & phibr0",
|
||||||
"authorUrl": "https://github.com/phibr0",
|
"authorUrl": "https://github.com/phibr0",
|
||||||
"fundingUrl": "https://ko-fi.com/phibr0",
|
"fundingUrl": "https://ko-fi.com/phibr0",
|
||||||
"isDesktopOnly": false
|
"isDesktopOnly": false
|
||||||
}
|
}
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+69
-88
@@ -1,93 +1,74 @@
|
|||||||
/*
|
/*
|
||||||
THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
|
THIS IS A GENERATED/BUNDLED FILE BY ROLLUP
|
||||||
if you want to view the source, please visit the github repository of this plugin
|
if you want to view the source, please visit the github repository of this plugin
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var __defProp = Object.defineProperty;
|
'use strict';
|
||||||
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 obsidian = require('obsidian');
|
||||||
var main_exports = {};
|
|
||||||
__export(main_exports, {
|
class CycleInSidebarPlugin extends obsidian.Plugin {
|
||||||
default: () => CycleInSidebarPlugin
|
getLeavesOfSidebar(split) {
|
||||||
});
|
const oneSideSplitRoot = split.getRoot();
|
||||||
module.exports = __toCommonJS(main_exports);
|
const leaves = [];
|
||||||
var import_obsidian = require("obsidian");
|
this.app.workspace.iterateAllLeaves(l => { leaves.push(l); });
|
||||||
var CycleInSidebarPlugin = class extends import_obsidian.Plugin {
|
const leavesInOneSide = leaves
|
||||||
getLeavesOfSidebar(split) {
|
.filter(l => l.getRoot() === oneSideSplitRoot)
|
||||||
const oneSideSplitRoot = split.getRoot();
|
.filter(l => l.view.getViewType() !== 'empty');
|
||||||
const leaves = [];
|
if (leavesInOneSide.length == 0)
|
||||||
this.app.workspace.iterateAllLeaves((l) => {
|
return leaves;
|
||||||
leaves.push(l);
|
// filter only first container (if top/ bottom views)
|
||||||
});
|
const parent = leavesInOneSide[0].parent;
|
||||||
return leaves.filter((l) => l.getRoot() === oneSideSplitRoot).filter((l) => l.view.getViewType() !== "empty");
|
return leavesInOneSide.filter(l => l.parent == parent);
|
||||||
}
|
}
|
||||||
isSidebarOpen(split) {
|
isSidebarOpen(split) {
|
||||||
return this.getLeavesOfSidebar(split).some((l) => l.view.containerEl.clientHeight > 0);
|
return this.getLeavesOfSidebar(split).some(l => l.view.containerEl.clientHeight > 0);
|
||||||
}
|
}
|
||||||
cycleInSideBar(split, offset) {
|
cycleInSideBar(split, offset) {
|
||||||
const leaves = this.getLeavesOfSidebar(split);
|
const leaves = this.getLeavesOfSidebar(split);
|
||||||
var currentIndex = 0;
|
var currentIndex = 0;
|
||||||
for (; currentIndex < leaves.length; currentIndex++) {
|
for (currentIndex = 0; currentIndex < leaves.length; currentIndex++) {
|
||||||
if (leaves[currentIndex].view.containerEl.clientHeight > 0)
|
if (leaves[currentIndex].view.containerEl.clientHeight > 0)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (currentIndex == leaves.length)
|
if (currentIndex == leaves.length)
|
||||||
return;
|
return;
|
||||||
const nextIndex = (currentIndex + offset < 0 ? leaves.length - 1 : currentIndex + offset) % leaves.length;
|
const nextIndex = ((currentIndex + offset) < 0 ? (leaves.length - 1) : (currentIndex + offset)) % leaves.length;
|
||||||
this.app.workspace.revealLeaf(leaves[nextIndex]);
|
this.app.workspace.revealLeaf(leaves[nextIndex]);
|
||||||
}
|
}
|
||||||
async cycleRightSideBar(offset) {
|
async cycleRightSideBar(offset) {
|
||||||
this.cycleInSideBar(this.app.workspace.rightSplit, offset);
|
this.cycleInSideBar(this.app.workspace.rightSplit, offset);
|
||||||
}
|
}
|
||||||
async cycleLeftSideBar(offset) {
|
async cycleLeftSideBar(offset) {
|
||||||
this.cycleInSideBar(this.app.workspace.leftSplit, offset);
|
this.cycleInSideBar(this.app.workspace.leftSplit, offset);
|
||||||
}
|
}
|
||||||
async onload() {
|
async onload() {
|
||||||
this.addCommand({
|
this.addCommand({
|
||||||
id: "cycle-right-sidebar",
|
id: 'cycle-right-sidebar',
|
||||||
name: "Cycle tabs of right sidebar",
|
name: 'Cycle tabs of right sidebar',
|
||||||
callback: () => {
|
callback: () => { this.cycleRightSideBar(1); }
|
||||||
this.cycleRightSideBar(1);
|
});
|
||||||
}
|
this.addCommand({
|
||||||
});
|
id: 'cycle-right-sidebar-reverse',
|
||||||
this.addCommand({
|
name: 'Cycle tabs of right sidebar in reverse',
|
||||||
id: "cycle-right-sidebar-reverse",
|
callback: () => { this.cycleRightSideBar(-1); }
|
||||||
name: "Cycle tabs of right sidebar in reverse",
|
});
|
||||||
callback: () => {
|
this.addCommand({
|
||||||
this.cycleRightSideBar(-1);
|
id: 'cycle-left-sidebar',
|
||||||
}
|
name: 'Cycle tabs of left sidebar',
|
||||||
});
|
callback: () => { this.cycleLeftSideBar(1); }
|
||||||
this.addCommand({
|
});
|
||||||
id: "cycle-left-sidebar",
|
this.addCommand({
|
||||||
name: "Cycle tabs of left sidebar",
|
id: 'cycle-left-sidebar-reverse',
|
||||||
callback: () => {
|
name: 'Cycle tabs of left sidebar in reverse',
|
||||||
this.cycleLeftSideBar(1);
|
callback: () => { this.cycleLeftSideBar(-1); }
|
||||||
}
|
});
|
||||||
});
|
}
|
||||||
this.addCommand({
|
onunload() {
|
||||||
id: "cycle-left-sidebar-reverse",
|
}
|
||||||
name: "Cycle tabs of left sidebar in reverse",
|
}
|
||||||
callback: () => {
|
|
||||||
this.cycleLeftSideBar(-1);
|
module.exports = CycleInSidebarPlugin;
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
/* nosourcemap */
|
||||||
onunload() {
|
|
||||||
}
|
|
||||||
};
|
|
||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"id": "cycle-in-sidebar",
|
"id": "cycle-in-sidebar",
|
||||||
"name": "Cycle In Sidebar",
|
"name": "Cycle In Sidebar",
|
||||||
"version": "1.0.2",
|
"version": "1.0.3",
|
||||||
"minAppVersion": "0.15.0",
|
"minAppVersion": "0.15.0",
|
||||||
"description": "This a plugin provides hotkeys to cycle through tabs in the left or right sidebars.",
|
"description": "This a plugin provides hotkeys to cycle through tabs in the left or right sidebars.",
|
||||||
"author": "Houcheng",
|
"author": "Houcheng",
|
||||||
|
|||||||
+3
-1
File diff suppressed because one or more lines are too long
+2
-2
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"id": "darlal-switcher-plus",
|
"id": "darlal-switcher-plus",
|
||||||
"name": "Quick Switcher++",
|
"name": "Quick Switcher++",
|
||||||
"version": "4.5.1",
|
"version": "4.6.2",
|
||||||
"minAppVersion": "1.6.7",
|
"minAppVersion": "1.7.4",
|
||||||
"description": "Enhanced Quick Switcher, search open panels, and symbols.",
|
"description": "Enhanced Quick Switcher, search open panels, and symbols.",
|
||||||
"author": "darlal",
|
"author": "darlal",
|
||||||
"authorUrl": "https://github.com/darlal/obsidian-switcher-plus",
|
"authorUrl": "https://github.com/darlal/obsidian-switcher-plus",
|
||||||
|
|||||||
+15
-56
@@ -57,8 +57,8 @@ var NoMoreFlickerSettingTab = class extends import_obsidian.PluginSettingTab {
|
|||||||
await this.plugin.saveSettings();
|
await this.plugin.saveSettings();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
containerEl.createEl("h4", { text: "Debug mode" });
|
new import_obsidian.Setting(containerEl).setName("Debug mode").setHeading();
|
||||||
new import_obsidian.Setting(containerEl).setName("Disable decorations").setDesc("If turned on, decorations to hide braces adjacent to dollar signs are disabled.").addToggle((toggle) => {
|
new import_obsidian.Setting(containerEl).setName("Disable decorations").setDesc("If turned on, decorations to hide braces adjacent to dollar signs are disabled. This is especially useful when you want to see what this plugin does under the hood.").addToggle((toggle) => {
|
||||||
toggle.setValue(this.plugin.settings.disableDecorations).onChange(async (disable) => {
|
toggle.setValue(this.plugin.settings.disableDecorations).onChange(async (disable) => {
|
||||||
this.plugin.settings.disableDecorations = disable;
|
this.plugin.settings.disableDecorations = disable;
|
||||||
this.plugin.remakeViewPlugin();
|
this.plugin.remakeViewPlugin();
|
||||||
@@ -88,7 +88,9 @@ var NoMoreFlickerSettingTab = class extends import_obsidian.PluginSettingTab {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
// src/cleaner.ts
|
// src/decoration-and-atomic-range.ts
|
||||||
|
var import_state = require("@codemirror/state");
|
||||||
|
var import_view = require("@codemirror/view");
|
||||||
var import_language2 = require("@codemirror/language");
|
var import_language2 = require("@codemirror/language");
|
||||||
|
|
||||||
// src/utils.ts
|
// src/utils.ts
|
||||||
@@ -122,35 +124,7 @@ function selectionSatisfies(state, predicate) {
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
// src/cleaner.ts
|
|
||||||
function cleaner(view) {
|
|
||||||
const changes = [];
|
|
||||||
(0, import_language2.syntaxTree)(view.state).iterate({
|
|
||||||
enter(node) {
|
|
||||||
if (isInlineMathBegin(node, view.state)) {
|
|
||||||
if (view.state.sliceDoc(node.to, node.to + 3) == "{} ") {
|
|
||||||
changes.push({ from: node.to, to: node.to + 3 });
|
|
||||||
}
|
|
||||||
} else if (isInlineMathEnd(node, view.state)) {
|
|
||||||
if (view.state.sliceDoc(node.from - 3, node.from) == " {}") {
|
|
||||||
changes.push({ from: node.from - 3, to: node.from });
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
view.dispatch({ changes });
|
|
||||||
}
|
|
||||||
function cleanerCallback(editor) {
|
|
||||||
const view = editor.cm;
|
|
||||||
if (view) {
|
|
||||||
cleaner(view);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// src/decoration-and-atomic-range.ts
|
// src/decoration-and-atomic-range.ts
|
||||||
var import_state = require("@codemirror/state");
|
|
||||||
var import_view = require("@codemirror/view");
|
|
||||||
var import_language3 = require("@codemirror/language");
|
|
||||||
var DummyRangeValue = class extends import_state.RangeValue {
|
var DummyRangeValue = class extends import_state.RangeValue {
|
||||||
};
|
};
|
||||||
var createViewPlugin = (plugin) => import_view.ViewPlugin.fromClass(
|
var createViewPlugin = (plugin) => import_view.ViewPlugin.fromClass(
|
||||||
@@ -164,7 +138,7 @@ var createViewPlugin = (plugin) => import_view.ViewPlugin.fromClass(
|
|||||||
impl(view) {
|
impl(view) {
|
||||||
const decorationBulder = new import_state.RangeSetBuilder();
|
const decorationBulder = new import_state.RangeSetBuilder();
|
||||||
const atomicRangeBulder = new import_state.RangeSetBuilder();
|
const atomicRangeBulder = new import_state.RangeSetBuilder();
|
||||||
const tree = (0, import_language3.syntaxTree)(view.state);
|
const tree = (0, import_language2.syntaxTree)(view.state);
|
||||||
for (const { from, to } of view.visibleRanges) {
|
for (const { from, to } of view.visibleRanges) {
|
||||||
tree.iterate({
|
tree.iterate({
|
||||||
from,
|
from,
|
||||||
@@ -215,11 +189,11 @@ var createViewPlugin = (plugin) => import_view.ViewPlugin.fromClass(
|
|||||||
|
|
||||||
// src/transaction-filter.ts
|
// src/transaction-filter.ts
|
||||||
var import_state3 = require("@codemirror/state");
|
var import_state3 = require("@codemirror/state");
|
||||||
var import_language5 = require("@codemirror/language");
|
var import_language4 = require("@codemirror/language");
|
||||||
|
|
||||||
// src/latex-suite.ts
|
// src/latex-suite.ts
|
||||||
var import_state2 = require("@codemirror/state");
|
var import_state2 = require("@codemirror/state");
|
||||||
var import_language4 = require("@codemirror/language");
|
var import_language3 = require("@codemirror/language");
|
||||||
function handleLatexSuite(tr, plugin) {
|
function handleLatexSuite(tr, plugin) {
|
||||||
if (tr.docChanged && !tr.selection) {
|
if (tr.docChanged && !tr.selection) {
|
||||||
const changes = handleLatexSuiteBoxing(tr.startState, tr.changes);
|
const changes = handleLatexSuiteBoxing(tr.startState, tr.changes);
|
||||||
@@ -238,7 +212,7 @@ function handleLatexSuite(tr, plugin) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
function handleLatexSuiteTabout(state, newSelection) {
|
function handleLatexSuiteTabout(state, newSelection) {
|
||||||
const tree = (0, import_language4.syntaxTree)(state);
|
const tree = (0, import_language3.syntaxTree)(state);
|
||||||
const doc = state.doc.toString();
|
const doc = state.doc.toString();
|
||||||
const newRanges = [];
|
const newRanges = [];
|
||||||
for (const range of newSelection.ranges) {
|
for (const range of newSelection.ranges) {
|
||||||
@@ -255,7 +229,7 @@ function handleLatexSuiteTabout(state, newSelection) {
|
|||||||
return import_state2.EditorSelection.create(newRanges, newSelection.mainIndex);
|
return import_state2.EditorSelection.create(newRanges, newSelection.mainIndex);
|
||||||
}
|
}
|
||||||
function handleLatexSuiteBoxing(state, changes) {
|
function handleLatexSuiteBoxing(state, changes) {
|
||||||
const tree = (0, import_language4.syntaxTree)(state);
|
const tree = (0, import_language3.syntaxTree)(state);
|
||||||
let changeToReplace;
|
let changeToReplace;
|
||||||
changes.iterChanges((fromA, toA, fromB, toB, inserted) => {
|
changes.iterChanges((fromA, toA, fromB, toB, inserted) => {
|
||||||
if (inserted.toString() === "\\boxed{" + state.sliceDoc(fromA, toA) + "}") {
|
if (inserted.toString() === "\\boxed{" + state.sliceDoc(fromA, toA) + "}") {
|
||||||
@@ -302,7 +276,7 @@ var makeTransactionFilter = (plugin) => {
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
function getChangesForDeletion(state) {
|
function getChangesForDeletion(state) {
|
||||||
const tree = (0, import_language5.syntaxTree)(state);
|
const tree = (0, import_language4.syntaxTree)(state);
|
||||||
const doc = state.doc.toString();
|
const doc = state.doc.toString();
|
||||||
const changes = [];
|
const changes = [];
|
||||||
for (const range of state.selection.ranges) {
|
for (const range of state.selection.ranges) {
|
||||||
@@ -330,7 +304,7 @@ function getChangesForDeletion(state) {
|
|||||||
return changes;
|
return changes;
|
||||||
}
|
}
|
||||||
function getChangesForInsertion(state, changes) {
|
function getChangesForInsertion(state, changes) {
|
||||||
const tree = (0, import_language5.syntaxTree)(state);
|
const tree = (0, import_language4.syntaxTree)(state);
|
||||||
const doc = state.doc.toString();
|
const doc = state.doc.toString();
|
||||||
const changesToAdd = [];
|
const changesToAdd = [];
|
||||||
const beginningOfChanges = /* @__PURE__ */ new Set();
|
const beginningOfChanges = /* @__PURE__ */ new Set();
|
||||||
@@ -374,7 +348,7 @@ function getChangesForInsertion(state, changes) {
|
|||||||
return changesToAdd;
|
return changesToAdd;
|
||||||
}
|
}
|
||||||
function getChangesForSelection(state, newSelection) {
|
function getChangesForSelection(state, newSelection) {
|
||||||
const tree = (0, import_language5.syntaxTree)(state);
|
const tree = (0, import_language4.syntaxTree)(state);
|
||||||
const doc = state.doc.toString();
|
const doc = state.doc.toString();
|
||||||
const changes = [];
|
const changes = [];
|
||||||
for (let i = 0; i < newSelection.ranges.length; i++) {
|
for (let i = 0; i < newSelection.ranges.length; i++) {
|
||||||
@@ -425,16 +399,6 @@ var NoMoreFlicker = class extends import_obsidian3.Plugin {
|
|||||||
this.registerEditorExtension(this.viewPlugin);
|
this.registerEditorExtension(this.viewPlugin);
|
||||||
this.remakeViewPlugin();
|
this.remakeViewPlugin();
|
||||||
this.registerEditorExtension(makeTransactionFilter(this));
|
this.registerEditorExtension(makeTransactionFilter(this));
|
||||||
this.addCommand({
|
|
||||||
id: "clean",
|
|
||||||
name: "Clean up braces in this note",
|
|
||||||
editorCallback: cleanerCallback
|
|
||||||
});
|
|
||||||
this.addCommand({
|
|
||||||
id: "clean-all",
|
|
||||||
name: "Clean up braces in all the opened notes",
|
|
||||||
editorCallback: this.cleanAllMarkdownViews.bind(this)
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
async loadSettings() {
|
async loadSettings() {
|
||||||
this.settings = Object.assign({}, DEFAULT_SETTINGS, await this.loadData());
|
this.settings = Object.assign({}, DEFAULT_SETTINGS, await this.loadData());
|
||||||
@@ -448,16 +412,11 @@ var NoMoreFlicker = class extends import_obsidian3.Plugin {
|
|||||||
(node) => node.name.includes("HyperMD-table") || node.name.includes("hmd-table")
|
(node) => node.name.includes("HyperMD-table") || node.name.includes("hmd-table")
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
cleanAllMarkdownViews() {
|
|
||||||
this.app.workspace.iterateAllLeaves((leaf) => {
|
|
||||||
if (leaf.view instanceof import_obsidian3.MarkdownView) {
|
|
||||||
cleanerCallback(leaf.view.editor);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
remakeViewPlugin() {
|
remakeViewPlugin() {
|
||||||
this.viewPlugin.length = 0;
|
this.viewPlugin.length = 0;
|
||||||
this.viewPlugin.push(createViewPlugin(this));
|
this.viewPlugin.push(createViewPlugin(this));
|
||||||
this.app.workspace.updateOptions();
|
this.app.workspace.updateOptions();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/* nosourcemap */
|
||||||
+7
-3
@@ -1,11 +1,15 @@
|
|||||||
{
|
{
|
||||||
"id": "inline-math",
|
"id": "inline-math",
|
||||||
"name": "No more flickering inline math",
|
"name": "No more flickering inline math",
|
||||||
"version": "0.3.5",
|
"version": "0.3.6",
|
||||||
"minAppVersion": "1.3.0",
|
"minAppVersion": "1.3.0",
|
||||||
"description": "No longer disturbed by flickering inline math in Obsidian.",
|
"description": "Remove flickering inline math.",
|
||||||
"author": "Ryota Ushio",
|
"author": "Ryota Ushio",
|
||||||
"authorUrl": "https://github.com/RyotaUshio",
|
"authorUrl": "https://github.com/RyotaUshio",
|
||||||
"fundingUrl": "https://www.buymeacoffee.com/ryotaushio",
|
"fundingUrl": {
|
||||||
|
"GitHub Sponsor": "https://github.com/sponsors/RyotaUshio",
|
||||||
|
"Buy Me a Coffee": "https://www.buymeacoffee.com/ryotaushio",
|
||||||
|
"Ko-fi": "https://ko-fi.com/ryotaushio"
|
||||||
|
},
|
||||||
"isDesktopOnly": false
|
"isDesktopOnly": false
|
||||||
}
|
}
|
||||||
|
|||||||
+20
-17
File diff suppressed because one or more lines are too long
+3
-3
@@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
"id": "languagetool",
|
"id": "languagetool",
|
||||||
"name": "LanguageTool",
|
"name": "LanguageTool",
|
||||||
"version": "1.0.9",
|
"version": "1.0.12",
|
||||||
"minAppVersion": "1.5.0",
|
"minAppVersion": "1.7.0",
|
||||||
"description": "Inofficial integration of the LanguageTool spell and grammar checker.",
|
"description": "Unofficial integration of the LanguageTool spell and grammar checker.",
|
||||||
"author": "Lars Wrenger, Clemens Ertle",
|
"author": "Lars Wrenger, Clemens Ertle",
|
||||||
"authorUrl": "https://github.com/wrenger",
|
"authorUrl": "https://github.com/wrenger",
|
||||||
"isDesktopOnly": false
|
"isDesktopOnly": false
|
||||||
|
|||||||
+346
@@ -0,0 +1,346 @@
|
|||||||
|
{
|
||||||
|
"dualConfigs": false,
|
||||||
|
"showConsoleLog": false,
|
||||||
|
"desktop": {
|
||||||
|
"shortDelaySeconds": 5,
|
||||||
|
"longDelaySeconds": 15,
|
||||||
|
"delayBetweenPlugins": 40,
|
||||||
|
"defaultStartupType": null,
|
||||||
|
"showDescriptions": true,
|
||||||
|
"plugins": {
|
||||||
|
"3d-graph": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"obsidian-advanced-slides": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"obsidian-asciimath": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"better-fn": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"math-in-callout": {
|
||||||
|
"startupType": "short"
|
||||||
|
},
|
||||||
|
"obsidian42-brat": {
|
||||||
|
"startupType": "instant"
|
||||||
|
},
|
||||||
|
"breadcrumbs": {
|
||||||
|
"startupType": "instant"
|
||||||
|
},
|
||||||
|
"calendar": {
|
||||||
|
"startupType": "short"
|
||||||
|
},
|
||||||
|
"canvas-presentation": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"obsidian-card-view-mode": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"obsidian-charts": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"cloze": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"code-styler": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"cmdr": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"obsidian-completr": {
|
||||||
|
"startupType": "short"
|
||||||
|
},
|
||||||
|
"obsidian-contextual-typography": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"crumbs-obsidian": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"obsidian-custom-frames": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"cycle-in-sidebar": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"dataview": {
|
||||||
|
"startupType": "instant"
|
||||||
|
},
|
||||||
|
"obsidian-day-planner": {
|
||||||
|
"startupType": "instant"
|
||||||
|
},
|
||||||
|
"desk": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"obsidian-desmos": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"drawio-obsidian": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"dynamic-text-concealer": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"excalibrain": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"obsidian-excalidraw-plugin": {
|
||||||
|
"startupType": "short"
|
||||||
|
},
|
||||||
|
"obsidian-latex": {
|
||||||
|
"startupType": "instant"
|
||||||
|
},
|
||||||
|
"floating-toc": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"obsidian-footnotes": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"garble-text": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"graph-analysis": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"heatmap-calendar": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"obsidian-hider": {
|
||||||
|
"startupType": "instant"
|
||||||
|
},
|
||||||
|
"obsidian-hover-editor": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"obsidian-icon-shortcodes": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"juggl": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"mrj-jump-to-link": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"obsidian-kanban": {
|
||||||
|
"startupType": "long"
|
||||||
|
},
|
||||||
|
"languagetool": {
|
||||||
|
"startupType": "long"
|
||||||
|
},
|
||||||
|
"obsidian-latex-suite": {
|
||||||
|
"startupType": "instant"
|
||||||
|
},
|
||||||
|
"latex-to-unicode": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"math-booster": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"obsidian-list-callouts": {
|
||||||
|
"startupType": "short"
|
||||||
|
},
|
||||||
|
"lovely-mindmap": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"obsidian-markmind": {
|
||||||
|
"startupType": "long"
|
||||||
|
},
|
||||||
|
"mathlinks": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"obsidian-meta-bind-plugin": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"metaedit": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"obsidian-mind-map": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"obsidian-minimal-settings": {
|
||||||
|
"startupType": "instant"
|
||||||
|
},
|
||||||
|
"nldates-obsidian": {
|
||||||
|
"startupType": "long"
|
||||||
|
},
|
||||||
|
"nlp": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"inline-math": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"note-aliases": {
|
||||||
|
"startupType": "short"
|
||||||
|
},
|
||||||
|
"number-headings-obsidian": {
|
||||||
|
"startupType": "long"
|
||||||
|
},
|
||||||
|
"obsidian-better-internal-link-inserter": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"obsidian-functionplot": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"obsidian-ocr": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"obsidian-query-language": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"omnisearch": {
|
||||||
|
"startupType": "instant"
|
||||||
|
},
|
||||||
|
"obsidian-outliner": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"obsidian-pandoc": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"obsidian-pandoc-reference-list": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"pane-relief": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"url-into-selection": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"obsidian-path-finder": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"break-page": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"persistent-graph": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"obsidian-pocket": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"podnotes": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"postfix": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"qmd-as-md-obsidian": {
|
||||||
|
"startupType": "long"
|
||||||
|
},
|
||||||
|
"obsidian-qrcode-plugin": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"quick-preview": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"darlal-switcher-plus": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"quickadd": {
|
||||||
|
"startupType": "short"
|
||||||
|
},
|
||||||
|
"obsidian-quickshare": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"restore-tab-key": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"obsidian-rollover-daily-todos": {
|
||||||
|
"startupType": "long"
|
||||||
|
},
|
||||||
|
"rss-reader": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"run": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"obsidian-sequence-hotkeys": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"obsidian-share-as-gist": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"share-note": {
|
||||||
|
"startupType": "long"
|
||||||
|
},
|
||||||
|
"obsidian-shellcommands": {
|
||||||
|
"startupType": "short"
|
||||||
|
},
|
||||||
|
"obsidian-spaced-repetition": {
|
||||||
|
"startupType": "long"
|
||||||
|
},
|
||||||
|
"obsidian42-strange-new-worlds": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"obsidian-style-settings": {
|
||||||
|
"startupType": "instant"
|
||||||
|
},
|
||||||
|
"supercharged-links-obsidian": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"surfing": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"sync-graph-settings": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"ob-table-enhancer": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"obsidian-plugin-toc": {
|
||||||
|
"startupType": "long"
|
||||||
|
},
|
||||||
|
"tag-word-cloud": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"tag-wrangler": {
|
||||||
|
"startupType": "long"
|
||||||
|
},
|
||||||
|
"obsidian-task-progress-bar": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"obsidian-tasks-plugin": {
|
||||||
|
"startupType": "long"
|
||||||
|
},
|
||||||
|
"tasks-calendar-wrapper": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"templater-obsidian": {
|
||||||
|
"startupType": "short"
|
||||||
|
},
|
||||||
|
"terminal": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"text-snippets-obsidian": {
|
||||||
|
"startupType": "long"
|
||||||
|
},
|
||||||
|
"time-ruler": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"txt-as-md-obsidian": {
|
||||||
|
"startupType": "long"
|
||||||
|
},
|
||||||
|
"unicode-search": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"various-complements": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"obsidian-vault-statistics-plugin": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"vertical-tabs": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"vertical-tabs-view": {
|
||||||
|
"startupType": "disabled"
|
||||||
|
},
|
||||||
|
"obsidian-vimrc-support": {
|
||||||
|
"startupType": "instant"
|
||||||
|
},
|
||||||
|
"zotlit": {
|
||||||
|
"startupType": "long"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
+322
@@ -0,0 +1,322 @@
|
|||||||
|
/*
|
||||||
|
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 __commonJS = (cb, mod) => function __require() {
|
||||||
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
||||||
|
};
|
||||||
|
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);
|
||||||
|
|
||||||
|
// manifest.json
|
||||||
|
var require_manifest = __commonJS({
|
||||||
|
"manifest.json"(exports, module2) {
|
||||||
|
module2.exports = {
|
||||||
|
id: "lazy-plugins",
|
||||||
|
name: "Lazy Plugin Loader",
|
||||||
|
version: "1.0.18",
|
||||||
|
minAppVersion: "1.6.0",
|
||||||
|
description: "Load plugins with a delay on startup, so that you can get your app startup down into the sub-second loading time.",
|
||||||
|
author: "Alan Grainger",
|
||||||
|
authorUrl: "https://github.com/alangrainger",
|
||||||
|
fundingUrl: "https://ko-fi.com/alan_",
|
||||||
|
isDesktopOnly: false
|
||||||
|
};
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
// src/main.ts
|
||||||
|
var main_exports = {};
|
||||||
|
__export(main_exports, {
|
||||||
|
default: () => LazyPlugin
|
||||||
|
});
|
||||||
|
module.exports = __toCommonJS(main_exports);
|
||||||
|
var import_obsidian2 = require("obsidian");
|
||||||
|
|
||||||
|
// src/settings.ts
|
||||||
|
var import_obsidian = require("obsidian");
|
||||||
|
var DEFAULT_DEVICE_SETTINGS = {
|
||||||
|
shortDelaySeconds: 5,
|
||||||
|
longDelaySeconds: 15,
|
||||||
|
delayBetweenPlugins: 40,
|
||||||
|
// milliseconds
|
||||||
|
defaultStartupType: null,
|
||||||
|
showDescriptions: true,
|
||||||
|
plugins: {}
|
||||||
|
};
|
||||||
|
var DEFAULT_SETTINGS = {
|
||||||
|
dualConfigs: false,
|
||||||
|
showConsoleLog: false,
|
||||||
|
desktop: DEFAULT_DEVICE_SETTINGS
|
||||||
|
};
|
||||||
|
var LoadingMethods = {
|
||||||
|
disabled: "\u26D4 Disable plugin",
|
||||||
|
instant: "\u26A1 Instant",
|
||||||
|
short: "\u231A Short delay",
|
||||||
|
long: "\u{1F4A4} Long delay"
|
||||||
|
};
|
||||||
|
var SettingsTab = class extends import_obsidian.PluginSettingTab {
|
||||||
|
constructor(app, plugin) {
|
||||||
|
super(app, plugin);
|
||||||
|
this.dropdowns = [];
|
||||||
|
this.app = app;
|
||||||
|
this.lazyPlugin = plugin;
|
||||||
|
}
|
||||||
|
async display() {
|
||||||
|
const { containerEl } = this;
|
||||||
|
this.containerEl = containerEl;
|
||||||
|
await this.lazyPlugin.loadSettings();
|
||||||
|
this.buildDom();
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Build the Settings modal DOM elements
|
||||||
|
*/
|
||||||
|
buildDom() {
|
||||||
|
const pluginSettings = this.lazyPlugin.settings.plugins;
|
||||||
|
this.containerEl.empty();
|
||||||
|
new import_obsidian.Setting(this.containerEl).setName("Separate desktop/mobile configuration").setDesc(`Enable this if you want to have different settings depending whether you're using a desktop or mobile device. All of the settings below can be configured differently on desktop and mobile. You're currently using the ${this.lazyPlugin.device} settings.`).addToggle((toggle) => {
|
||||||
|
toggle.setValue(this.lazyPlugin.data.dualConfigs).onChange(async (value) => {
|
||||||
|
this.lazyPlugin.data.dualConfigs = value;
|
||||||
|
await this.lazyPlugin.saveSettings();
|
||||||
|
await this.lazyPlugin.loadSettings();
|
||||||
|
this.buildDom();
|
||||||
|
});
|
||||||
|
});
|
||||||
|
new import_obsidian.Setting(this.containerEl).setName("Lazy Loader settings").setHeading();
|
||||||
|
Object.entries({
|
||||||
|
shortDelaySeconds: "Short delay (seconds)",
|
||||||
|
longDelaySeconds: "Long delay (seconds)"
|
||||||
|
}).forEach(([key, name]) => {
|
||||||
|
new import_obsidian.Setting(this.containerEl).setName(name).addText((text) => text.setValue(this.lazyPlugin.settings[key].toString()).onChange(async (value) => {
|
||||||
|
this.lazyPlugin.settings[key] = parseFloat(parseFloat(value).toFixed(3));
|
||||||
|
await this.lazyPlugin.saveSettings();
|
||||||
|
}));
|
||||||
|
});
|
||||||
|
new import_obsidian.Setting(this.containerEl).setName("Default startup type for new plugins").addDropdown((dropdown) => {
|
||||||
|
dropdown.addOption("", "Nothing configured");
|
||||||
|
this.addDelayOptions(dropdown);
|
||||||
|
dropdown.setValue(this.lazyPlugin.settings.defaultStartupType || "").onChange(async (value) => {
|
||||||
|
this.lazyPlugin.settings.defaultStartupType = value || null;
|
||||||
|
await this.lazyPlugin.saveSettings();
|
||||||
|
});
|
||||||
|
});
|
||||||
|
new import_obsidian.Setting(this.containerEl).setName("Show plugin descriptions").addToggle((toggle) => {
|
||||||
|
toggle.setValue(this.lazyPlugin.settings.showDescriptions).onChange(async (value) => {
|
||||||
|
this.lazyPlugin.settings.showDescriptions = value;
|
||||||
|
await this.lazyPlugin.saveSettings();
|
||||||
|
this.buildDom();
|
||||||
|
});
|
||||||
|
});
|
||||||
|
new import_obsidian.Setting(this.containerEl).setName("Set the delay for all plugins at once").addDropdown((dropdown) => {
|
||||||
|
dropdown.addOption("", "Set all plugins to be:");
|
||||||
|
this.addDelayOptions(dropdown);
|
||||||
|
dropdown.onChange(async (value) => {
|
||||||
|
this.lazyPlugin.manifests.forEach((plugin) => {
|
||||||
|
pluginSettings[plugin.id] = { startupType: value };
|
||||||
|
});
|
||||||
|
this.dropdowns.forEach((dropdown2) => dropdown2.setValue(value));
|
||||||
|
dropdown.setValue("");
|
||||||
|
await this.lazyPlugin.saveSettings();
|
||||||
|
});
|
||||||
|
});
|
||||||
|
new import_obsidian.Setting(this.containerEl).setName("Plugins").setHeading().setDesc("Filter by: ").then((setting) => {
|
||||||
|
this.addFilterButton(setting.descEl, "All");
|
||||||
|
Object.keys(LoadingMethods).forEach((key) => this.addFilterButton(setting.descEl, LoadingMethods[key], key));
|
||||||
|
});
|
||||||
|
this.lazyPlugin.manifests.forEach((plugin) => {
|
||||||
|
const currentValue = this.lazyPlugin.getPluginStartup(plugin.id);
|
||||||
|
if (this.filter && currentValue !== this.filter)
|
||||||
|
return;
|
||||||
|
new import_obsidian.Setting(this.containerEl).setName(plugin.name).addDropdown((dropdown) => {
|
||||||
|
this.dropdowns.push(dropdown);
|
||||||
|
this.addDelayOptions(dropdown);
|
||||||
|
dropdown.setValue(currentValue).onChange(async (value) => {
|
||||||
|
await this.lazyPlugin.updatePluginSettings(plugin.id, value);
|
||||||
|
this.lazyPlugin.setPluginStartup(plugin.id).then();
|
||||||
|
});
|
||||||
|
}).then((setting) => {
|
||||||
|
if (this.lazyPlugin.settings.showDescriptions) {
|
||||||
|
setting.setDesc(plugin.description);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Add the dropdown select options for each delay type
|
||||||
|
*/
|
||||||
|
addDelayOptions(el) {
|
||||||
|
Object.keys(LoadingMethods).forEach((key) => {
|
||||||
|
el.addOption(key, LoadingMethods[key]);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Add a filter button in the header of the plugin list
|
||||||
|
*/
|
||||||
|
addFilterButton(el, text, value) {
|
||||||
|
const link = el.createEl("button", { text });
|
||||||
|
link.addClass("lazy-plugin-filter");
|
||||||
|
link.onclick = () => {
|
||||||
|
this.filter = value;
|
||||||
|
this.buildDom();
|
||||||
|
};
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
// src/main.ts
|
||||||
|
var lazyPluginId = require_manifest().id;
|
||||||
|
var LazyPlugin = class extends import_obsidian2.Plugin {
|
||||||
|
constructor() {
|
||||||
|
super(...arguments);
|
||||||
|
this.device = "desktop/global";
|
||||||
|
this.pendingTimeouts = [];
|
||||||
|
}
|
||||||
|
async onload() {
|
||||||
|
await this.loadSettings();
|
||||||
|
this.manifests = Object.values(this.app.plugins.manifests).filter((plugin) => plugin.id !== lazyPluginId && // Filter out the Lazy Loader plugin
|
||||||
|
!(import_obsidian2.Platform.isMobile && plugin.isDesktopOnly)).sort((a, b) => a.name.localeCompare(b.name));
|
||||||
|
await this.setInitialPluginsConfiguration();
|
||||||
|
this.addSettingTab(new SettingsTab(this.app, this));
|
||||||
|
this.manifests.forEach((plugin) => this.setPluginStartup(plugin.id));
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Configure and load a plugin based on its startup settings.
|
||||||
|
*/
|
||||||
|
async setPluginStartup(pluginId) {
|
||||||
|
var _a, _b;
|
||||||
|
const obsidian = this.app.plugins;
|
||||||
|
const startupType = this.getPluginStartup(pluginId);
|
||||||
|
const isActiveOnStartup = obsidian.enabledPlugins.has(pluginId);
|
||||||
|
const isRunning = (_b = (_a = obsidian.plugins) == null ? void 0 : _a[pluginId]) == null ? void 0 : _b._loaded;
|
||||||
|
switch (startupType) {
|
||||||
|
case "disabled" /* disabled */:
|
||||||
|
await obsidian.disablePluginAndSave(pluginId);
|
||||||
|
break;
|
||||||
|
case "instant" /* instant */:
|
||||||
|
if (!isActiveOnStartup && !isRunning)
|
||||||
|
await obsidian.enablePluginAndSave(pluginId);
|
||||||
|
break;
|
||||||
|
case "short" /* short */:
|
||||||
|
case "long" /* long */:
|
||||||
|
if (isActiveOnStartup) {
|
||||||
|
await obsidian.disablePluginAndSave(pluginId);
|
||||||
|
await obsidian.enablePlugin(pluginId);
|
||||||
|
} else if (!isRunning) {
|
||||||
|
const seconds = startupType === "short" /* short */ ? this.settings.shortDelaySeconds : this.settings.longDelaySeconds;
|
||||||
|
const stagger = isNaN(this.settings.delayBetweenPlugins) ? 40 : this.settings.delayBetweenPlugins;
|
||||||
|
const delay = this.manifests.findIndex((x) => x.id === pluginId) * stagger;
|
||||||
|
const timeout = setTimeout(async () => {
|
||||||
|
var _a2, _b2;
|
||||||
|
if (!((_b2 = (_a2 = obsidian.plugins) == null ? void 0 : _a2[pluginId]) == null ? void 0 : _b2._loaded)) {
|
||||||
|
if (this.data.showConsoleLog) {
|
||||||
|
console.log(`Starting ${pluginId} after a ${startupType} delay`);
|
||||||
|
}
|
||||||
|
await obsidian.enablePlugin(pluginId);
|
||||||
|
}
|
||||||
|
}, seconds * 1e3 + delay);
|
||||||
|
this.pendingTimeouts.push(timeout);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Get the startup type for a given pluginId, falling back to Obsidian's current
|
||||||
|
* loading method (enabled/disabled) if no configuration is found for this plugin.
|
||||||
|
*/
|
||||||
|
getPluginStartup(pluginId) {
|
||||||
|
var _a, _b;
|
||||||
|
return ((_b = (_a = this.settings.plugins) == null ? void 0 : _a[pluginId]) == null ? void 0 : _b.startupType) || this.settings.defaultStartupType || (this.app.plugins.enabledPlugins.has(pluginId) ? "instant" /* instant */ : "disabled" /* disabled */);
|
||||||
|
}
|
||||||
|
async loadSettings() {
|
||||||
|
this.data = Object.assign({}, DEFAULT_SETTINGS, await this.loadData());
|
||||||
|
this.data.desktop = Object.assign({}, DEFAULT_DEVICE_SETTINGS, this.data.desktop);
|
||||||
|
if (this.data.dualConfigs && import_obsidian2.Platform.isMobile) {
|
||||||
|
if (!this.data.mobile) {
|
||||||
|
this.data.mobile = Object.assign({}, this.data.desktop);
|
||||||
|
} else {
|
||||||
|
this.data.mobile = Object.assign({}, DEFAULT_DEVICE_SETTINGS, this.data.mobile);
|
||||||
|
}
|
||||||
|
this.settings = this.data.mobile;
|
||||||
|
this.device = "mobile";
|
||||||
|
} else {
|
||||||
|
this.settings = this.data.desktop;
|
||||||
|
this.device = "desktop/global";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
async saveSettings() {
|
||||||
|
await this.saveData(this.data);
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Set the initial config value for all installed plugins. This will also set the value
|
||||||
|
* for any new plugin in the future, depending on what default value is chosen in the
|
||||||
|
* Settings page.
|
||||||
|
*/
|
||||||
|
async setInitialPluginsConfiguration() {
|
||||||
|
var _a, _b;
|
||||||
|
for (const plugin of this.manifests) {
|
||||||
|
if (!((_b = (_a = this.settings.plugins) == null ? void 0 : _a[plugin.id]) == null ? void 0 : _b.startupType)) {
|
||||||
|
await this.updatePluginSettings(plugin.id, this.getPluginStartup(plugin.id));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Update an individual plugin's configuration in the settings file
|
||||||
|
*/
|
||||||
|
async updatePluginSettings(pluginId, startupType) {
|
||||||
|
this.settings.plugins[pluginId] = { startupType };
|
||||||
|
await this.saveSettings();
|
||||||
|
}
|
||||||
|
/*
|
||||||
|
* Originally this was set up so that when the plugin unloaded, it would enablePluginAndSave()
|
||||||
|
* the other plugins based on their Lazy Loader startup config.
|
||||||
|
*
|
||||||
|
* The problem with that is that the onunload() function is called during plugin *update* also,
|
||||||
|
* which means that every time you get an update for this plugin, it would cause:
|
||||||
|
*
|
||||||
|
* a) A slowdown across the vault for the next 1-2 restarts.
|
||||||
|
* b) The possibility of plugins being loaded twice / duplicated.
|
||||||
|
*
|
||||||
|
* Since across all users, updating the plugin is common, and uninstalling the plugin is less
|
||||||
|
* common, I decided to remove this function.
|
||||||
|
*
|
||||||
|
* I apologise to the people who have to manually re-enable their plugins once they uninstall this one :(
|
||||||
|
*
|
||||||
|
* --------------------
|
||||||
|
*
|
||||||
|
* When the Lazy Loader plugin is disabled / deleted from Obsidian, iterate over
|
||||||
|
* the configured plugins and re-enable any that are set to be delayed.
|
||||||
|
*
|
||||||
|
* This will cause a short slowdown as each plugin has to be disabled and then
|
||||||
|
* re-enabled to save its new startup state.
|
||||||
|
*
|
||||||
|
async onunload () {
|
||||||
|
// Clear any pending timeouts
|
||||||
|
this.pendingTimeouts.forEach(timeout => clearTimeout(timeout))
|
||||||
|
// Iterate over the configured plugins
|
||||||
|
for (const plugin of this.manifests) {
|
||||||
|
const startupType = this.settings.plugins?.[plugin.id]?.startupType
|
||||||
|
if (startupType !== LoadingMethod.disabled) {
|
||||||
|
await this.app.plugins.disablePlugin(plugin.id)
|
||||||
|
await this.app.plugins.enablePluginAndSave(plugin.id)
|
||||||
|
console.log(`Set ${plugin.id} back to instant start`)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} */
|
||||||
|
};
|
||||||
|
|
||||||
|
/* nosourcemap */
|
||||||
+11
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"id": "lazy-plugins",
|
||||||
|
"name": "Lazy Plugin Loader",
|
||||||
|
"version": "1.0.18",
|
||||||
|
"minAppVersion": "1.6.0",
|
||||||
|
"description": "Load plugins with a delay on startup, so that you can get your app startup down into the sub-second loading time.",
|
||||||
|
"author": "Alan Grainger",
|
||||||
|
"authorUrl": "https://github.com/alangrainger",
|
||||||
|
"fundingUrl": "https://ko-fi.com/alan_",
|
||||||
|
"isDesktopOnly": false
|
||||||
|
}
|
||||||
+4
@@ -0,0 +1,4 @@
|
|||||||
|
.lazy-plugin-filter {
|
||||||
|
margin: 4px;
|
||||||
|
font-size: 90%;
|
||||||
|
}
|
||||||
+5
-2
@@ -24,7 +24,7 @@
|
|||||||
"showUnscheduledNestedTasks": false,
|
"showUnscheduledNestedTasks": false,
|
||||||
"showNow": true,
|
"showNow": true,
|
||||||
"showNext": true,
|
"showNext": true,
|
||||||
"pluginVersion": "0.24.0",
|
"pluginVersion": "0.27.0",
|
||||||
"showCompletedTasks": true,
|
"showCompletedTasks": true,
|
||||||
"showSubtasksInTaskBlocks": true,
|
"showSubtasksInTaskBlocks": true,
|
||||||
"icals": [
|
"icals": [
|
||||||
@@ -88,5 +88,8 @@
|
|||||||
"releaseNotes": true,
|
"releaseNotes": true,
|
||||||
"taskStatusOnCreation": " ",
|
"taskStatusOnCreation": " ",
|
||||||
"eventFormatOnCreation": "task",
|
"eventFormatOnCreation": "task",
|
||||||
"sortTasksInPlanAfterEdit": false
|
"sortTasksInPlanAfterEdit": false,
|
||||||
|
"firstDayOfWeek": "monday",
|
||||||
|
"multiDayRange": "3-days",
|
||||||
|
"showTimeTracker": false
|
||||||
}
|
}
|
||||||
+220
-156
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"id": "obsidian-day-planner",
|
"id": "obsidian-day-planner",
|
||||||
"name": "Day Planner",
|
"name": "Day Planner",
|
||||||
"version": "0.24.0",
|
"version": "0.27.0",
|
||||||
"minAppVersion": "0.16.0",
|
"minAppVersion": "0.16.0",
|
||||||
"description": "A day planner with clean UI and readable syntax",
|
"description": "A day planner with clean UI and readable syntax",
|
||||||
"author": "James Lynch, continued by Ivan Lednev",
|
"author": "James Lynch, continued by Ivan Lednev",
|
||||||
|
|||||||
+2
-2
File diff suppressed because one or more lines are too long
@@ -0,0 +1,788 @@
|
|||||||
|
{
|
||||||
|
"folder": "Excalidraw",
|
||||||
|
"cropFolder": "",
|
||||||
|
"annotateFolder": "",
|
||||||
|
"embedUseExcalidrawFolder": false,
|
||||||
|
"templateFilePath": "Excalidraw/Template.excalidraw",
|
||||||
|
"scriptFolderPath": "Excalidraw/Scripts",
|
||||||
|
"fontAssetsPath": "Excalidraw/CJK Fonts",
|
||||||
|
"loadChineseFonts": false,
|
||||||
|
"loadJapaneseFonts": false,
|
||||||
|
"loadKoreanFonts": false,
|
||||||
|
"compress": true,
|
||||||
|
"decompressForMDView": false,
|
||||||
|
"onceOffCompressFlagReset": true,
|
||||||
|
"onceOffGPTVersionReset": false,
|
||||||
|
"autosave": true,
|
||||||
|
"autosaveIntervalDesktop": 60000,
|
||||||
|
"autosaveIntervalMobile": 30000,
|
||||||
|
"drawingFilenamePrefix": "Drawing ",
|
||||||
|
"drawingEmbedPrefixWithFilename": true,
|
||||||
|
"drawingFilnameEmbedPostfix": " ",
|
||||||
|
"drawingFilenameDateTime": "YYYY-MM-DD HH.mm.ss",
|
||||||
|
"useExcalidrawExtension": true,
|
||||||
|
"cropPrefix": "cropped_",
|
||||||
|
"annotatePrefix": "annotated_",
|
||||||
|
"annotatePreserveSize": false,
|
||||||
|
"previewImageType": "SVGIMG",
|
||||||
|
"allowImageCache": true,
|
||||||
|
"allowImageCacheInScene": true,
|
||||||
|
"displayExportedImageIfAvailable": false,
|
||||||
|
"previewMatchObsidianTheme": false,
|
||||||
|
"width": "400",
|
||||||
|
"height": "",
|
||||||
|
"overrideObsidianFontSize": false,
|
||||||
|
"dynamicStyling": "colorful",
|
||||||
|
"isLeftHanded": false,
|
||||||
|
"iframeMatchExcalidrawTheme": true,
|
||||||
|
"matchTheme": false,
|
||||||
|
"matchThemeAlways": false,
|
||||||
|
"matchThemeTrigger": false,
|
||||||
|
"defaultMode": "normal",
|
||||||
|
"defaultPenMode": "never",
|
||||||
|
"penModeDoubleTapEraser": true,
|
||||||
|
"penModeSingleFingerPanning": true,
|
||||||
|
"penModeCrosshairVisible": true,
|
||||||
|
"renderImageInMarkdownReadingMode": false,
|
||||||
|
"renderImageInHoverPreviewForMDNotes": false,
|
||||||
|
"renderImageInMarkdownToPDF": false,
|
||||||
|
"allowPinchZoom": false,
|
||||||
|
"allowWheelZoom": false,
|
||||||
|
"zoomToFitOnOpen": true,
|
||||||
|
"zoomToFitOnResize": true,
|
||||||
|
"zoomToFitMaxLevel": 2,
|
||||||
|
"linkPrefix": "📍",
|
||||||
|
"urlPrefix": "🌐",
|
||||||
|
"parseTODO": false,
|
||||||
|
"todo": "☐",
|
||||||
|
"done": "🗹",
|
||||||
|
"hoverPreviewWithoutCTRL": false,
|
||||||
|
"linkOpacity": 1,
|
||||||
|
"openInAdjacentPane": true,
|
||||||
|
"showSecondOrderLinks": true,
|
||||||
|
"focusOnFileTab": true,
|
||||||
|
"openInMainWorkspace": true,
|
||||||
|
"showLinkBrackets": true,
|
||||||
|
"allowCtrlClick": true,
|
||||||
|
"forceWrap": false,
|
||||||
|
"pageTransclusionCharLimit": 200,
|
||||||
|
"wordWrappingDefault": 0,
|
||||||
|
"removeTransclusionQuoteSigns": true,
|
||||||
|
"iframelyAllowed": true,
|
||||||
|
"pngExportScale": 1,
|
||||||
|
"exportWithTheme": true,
|
||||||
|
"exportWithBackground": true,
|
||||||
|
"exportPaddingSVG": 10,
|
||||||
|
"exportEmbedScene": false,
|
||||||
|
"keepInSync": false,
|
||||||
|
"autoexportSVG": false,
|
||||||
|
"autoexportPNG": false,
|
||||||
|
"autoExportLightAndDark": false,
|
||||||
|
"autoexportExcalidraw": false,
|
||||||
|
"embedType": "excalidraw",
|
||||||
|
"embedMarkdownCommentLinks": true,
|
||||||
|
"embedWikiLink": true,
|
||||||
|
"syncExcalidraw": false,
|
||||||
|
"experimentalFileType": false,
|
||||||
|
"experimentalFileTag": "✏️",
|
||||||
|
"experimentalLivePreview": true,
|
||||||
|
"fadeOutExcalidrawMarkup": false,
|
||||||
|
"loadPropertySuggestions": true,
|
||||||
|
"experimentalEnableFourthFont": false,
|
||||||
|
"experimantalFourthFont": "Virgil",
|
||||||
|
"addDummyTextElement": false,
|
||||||
|
"zoteroCompatibility": false,
|
||||||
|
"fieldSuggester": true,
|
||||||
|
"compatibilityMode": false,
|
||||||
|
"drawingOpenCount": 0,
|
||||||
|
"library": "deprecated",
|
||||||
|
"library2": {
|
||||||
|
"type": "excalidrawlib",
|
||||||
|
"version": 2,
|
||||||
|
"source": "https://github.com/zsviczian/obsidian-excalidraw-plugin/releases/tag/2.6.8",
|
||||||
|
"libraryItems": []
|
||||||
|
},
|
||||||
|
"imageElementNotice": true,
|
||||||
|
"mdSVGwidth": 500,
|
||||||
|
"mdSVGmaxHeight": 800,
|
||||||
|
"mdFont": "Virgil",
|
||||||
|
"mdFontColor": "Black",
|
||||||
|
"mdBorderColor": "Black",
|
||||||
|
"mdCSS": "",
|
||||||
|
"scriptEngineSettings": {},
|
||||||
|
"defaultTrayMode": true,
|
||||||
|
"previousRelease": "0.0.0",
|
||||||
|
"showReleaseNotes": true,
|
||||||
|
"showNewVersionNotification": true,
|
||||||
|
"latexBoilerplate": "\\color{blue}",
|
||||||
|
"taskboneEnabled": false,
|
||||||
|
"taskboneAPIkey": "",
|
||||||
|
"pinnedScripts": [],
|
||||||
|
"customPens": [
|
||||||
|
{
|
||||||
|
"type": "default",
|
||||||
|
"freedrawOnly": false,
|
||||||
|
"strokeColor": "#000000",
|
||||||
|
"backgroundColor": "transparent",
|
||||||
|
"fillStyle": "hachure",
|
||||||
|
"strokeWidth": 0,
|
||||||
|
"roughness": 0,
|
||||||
|
"penOptions": {
|
||||||
|
"highlighter": false,
|
||||||
|
"constantPressure": false,
|
||||||
|
"hasOutline": false,
|
||||||
|
"outlineWidth": 1,
|
||||||
|
"options": {
|
||||||
|
"thinning": 0.6,
|
||||||
|
"smoothing": 0.5,
|
||||||
|
"streamline": 0.5,
|
||||||
|
"easing": "easeOutSine",
|
||||||
|
"start": {
|
||||||
|
"cap": true,
|
||||||
|
"taper": 0,
|
||||||
|
"easing": "linear"
|
||||||
|
},
|
||||||
|
"end": {
|
||||||
|
"cap": true,
|
||||||
|
"taper": 0,
|
||||||
|
"easing": "linear"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "highlighter",
|
||||||
|
"freedrawOnly": true,
|
||||||
|
"strokeColor": "#FFC47C",
|
||||||
|
"backgroundColor": "#FFC47C",
|
||||||
|
"fillStyle": "solid",
|
||||||
|
"strokeWidth": 2,
|
||||||
|
"roughness": null,
|
||||||
|
"penOptions": {
|
||||||
|
"highlighter": true,
|
||||||
|
"constantPressure": true,
|
||||||
|
"hasOutline": true,
|
||||||
|
"outlineWidth": 4,
|
||||||
|
"options": {
|
||||||
|
"thinning": 1,
|
||||||
|
"smoothing": 0.5,
|
||||||
|
"streamline": 0.5,
|
||||||
|
"easing": "linear",
|
||||||
|
"start": {
|
||||||
|
"taper": 0,
|
||||||
|
"cap": true,
|
||||||
|
"easing": "linear"
|
||||||
|
},
|
||||||
|
"end": {
|
||||||
|
"taper": 0,
|
||||||
|
"cap": true,
|
||||||
|
"easing": "linear"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "finetip",
|
||||||
|
"freedrawOnly": false,
|
||||||
|
"strokeColor": "#3E6F8D",
|
||||||
|
"backgroundColor": "transparent",
|
||||||
|
"fillStyle": "hachure",
|
||||||
|
"strokeWidth": 0.5,
|
||||||
|
"roughness": 0,
|
||||||
|
"penOptions": {
|
||||||
|
"highlighter": false,
|
||||||
|
"hasOutline": false,
|
||||||
|
"outlineWidth": 1,
|
||||||
|
"constantPressure": true,
|
||||||
|
"options": {
|
||||||
|
"smoothing": 0.4,
|
||||||
|
"thinning": -0.5,
|
||||||
|
"streamline": 0.4,
|
||||||
|
"easing": "linear",
|
||||||
|
"start": {
|
||||||
|
"taper": 5,
|
||||||
|
"cap": false,
|
||||||
|
"easing": "linear"
|
||||||
|
},
|
||||||
|
"end": {
|
||||||
|
"taper": 5,
|
||||||
|
"cap": false,
|
||||||
|
"easing": "linear"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "fountain",
|
||||||
|
"freedrawOnly": false,
|
||||||
|
"strokeColor": "#000000",
|
||||||
|
"backgroundColor": "transparent",
|
||||||
|
"fillStyle": "hachure",
|
||||||
|
"strokeWidth": 2,
|
||||||
|
"roughness": 0,
|
||||||
|
"penOptions": {
|
||||||
|
"highlighter": false,
|
||||||
|
"constantPressure": false,
|
||||||
|
"hasOutline": false,
|
||||||
|
"outlineWidth": 1,
|
||||||
|
"options": {
|
||||||
|
"smoothing": 0.2,
|
||||||
|
"thinning": 0.6,
|
||||||
|
"streamline": 0.2,
|
||||||
|
"easing": "easeInOutSine",
|
||||||
|
"start": {
|
||||||
|
"taper": 150,
|
||||||
|
"cap": true,
|
||||||
|
"easing": "linear"
|
||||||
|
},
|
||||||
|
"end": {
|
||||||
|
"taper": 1,
|
||||||
|
"cap": true,
|
||||||
|
"easing": "linear"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "marker",
|
||||||
|
"freedrawOnly": true,
|
||||||
|
"strokeColor": "#B83E3E",
|
||||||
|
"backgroundColor": "#FF7C7C",
|
||||||
|
"fillStyle": "dashed",
|
||||||
|
"strokeWidth": 2,
|
||||||
|
"roughness": 3,
|
||||||
|
"penOptions": {
|
||||||
|
"highlighter": false,
|
||||||
|
"constantPressure": true,
|
||||||
|
"hasOutline": true,
|
||||||
|
"outlineWidth": 4,
|
||||||
|
"options": {
|
||||||
|
"thinning": 1,
|
||||||
|
"smoothing": 0.5,
|
||||||
|
"streamline": 0.5,
|
||||||
|
"easing": "linear",
|
||||||
|
"start": {
|
||||||
|
"taper": 0,
|
||||||
|
"cap": true,
|
||||||
|
"easing": "linear"
|
||||||
|
},
|
||||||
|
"end": {
|
||||||
|
"taper": 0,
|
||||||
|
"cap": true,
|
||||||
|
"easing": "linear"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "thick-thin",
|
||||||
|
"freedrawOnly": true,
|
||||||
|
"strokeColor": "#CECDCC",
|
||||||
|
"backgroundColor": "transparent",
|
||||||
|
"fillStyle": "hachure",
|
||||||
|
"strokeWidth": 0,
|
||||||
|
"roughness": null,
|
||||||
|
"penOptions": {
|
||||||
|
"highlighter": true,
|
||||||
|
"constantPressure": true,
|
||||||
|
"hasOutline": false,
|
||||||
|
"outlineWidth": 1,
|
||||||
|
"options": {
|
||||||
|
"thinning": 1,
|
||||||
|
"smoothing": 0.5,
|
||||||
|
"streamline": 0.5,
|
||||||
|
"easing": "linear",
|
||||||
|
"start": {
|
||||||
|
"taper": 0,
|
||||||
|
"cap": true,
|
||||||
|
"easing": "linear"
|
||||||
|
},
|
||||||
|
"end": {
|
||||||
|
"cap": true,
|
||||||
|
"taper": true,
|
||||||
|
"easing": "linear"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "thin-thick-thin",
|
||||||
|
"freedrawOnly": true,
|
||||||
|
"strokeColor": "#CECDCC",
|
||||||
|
"backgroundColor": "transparent",
|
||||||
|
"fillStyle": "hachure",
|
||||||
|
"strokeWidth": 0,
|
||||||
|
"roughness": null,
|
||||||
|
"penOptions": {
|
||||||
|
"highlighter": true,
|
||||||
|
"constantPressure": true,
|
||||||
|
"hasOutline": false,
|
||||||
|
"outlineWidth": 1,
|
||||||
|
"options": {
|
||||||
|
"thinning": 1,
|
||||||
|
"smoothing": 0.5,
|
||||||
|
"streamline": 0.5,
|
||||||
|
"easing": "linear",
|
||||||
|
"start": {
|
||||||
|
"cap": true,
|
||||||
|
"taper": true,
|
||||||
|
"easing": "linear"
|
||||||
|
},
|
||||||
|
"end": {
|
||||||
|
"cap": true,
|
||||||
|
"taper": true,
|
||||||
|
"easing": "linear"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "default",
|
||||||
|
"freedrawOnly": false,
|
||||||
|
"strokeColor": "#000000",
|
||||||
|
"backgroundColor": "transparent",
|
||||||
|
"fillStyle": "hachure",
|
||||||
|
"strokeWidth": 0,
|
||||||
|
"roughness": 0,
|
||||||
|
"penOptions": {
|
||||||
|
"highlighter": false,
|
||||||
|
"constantPressure": false,
|
||||||
|
"hasOutline": false,
|
||||||
|
"outlineWidth": 1,
|
||||||
|
"options": {
|
||||||
|
"thinning": 0.6,
|
||||||
|
"smoothing": 0.5,
|
||||||
|
"streamline": 0.5,
|
||||||
|
"easing": "easeOutSine",
|
||||||
|
"start": {
|
||||||
|
"cap": true,
|
||||||
|
"taper": 0,
|
||||||
|
"easing": "linear"
|
||||||
|
},
|
||||||
|
"end": {
|
||||||
|
"cap": true,
|
||||||
|
"taper": 0,
|
||||||
|
"easing": "linear"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "default",
|
||||||
|
"freedrawOnly": false,
|
||||||
|
"strokeColor": "#000000",
|
||||||
|
"backgroundColor": "transparent",
|
||||||
|
"fillStyle": "hachure",
|
||||||
|
"strokeWidth": 0,
|
||||||
|
"roughness": 0,
|
||||||
|
"penOptions": {
|
||||||
|
"highlighter": false,
|
||||||
|
"constantPressure": false,
|
||||||
|
"hasOutline": false,
|
||||||
|
"outlineWidth": 1,
|
||||||
|
"options": {
|
||||||
|
"thinning": 0.6,
|
||||||
|
"smoothing": 0.5,
|
||||||
|
"streamline": 0.5,
|
||||||
|
"easing": "easeOutSine",
|
||||||
|
"start": {
|
||||||
|
"cap": true,
|
||||||
|
"taper": 0,
|
||||||
|
"easing": "linear"
|
||||||
|
},
|
||||||
|
"end": {
|
||||||
|
"cap": true,
|
||||||
|
"taper": 0,
|
||||||
|
"easing": "linear"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "default",
|
||||||
|
"freedrawOnly": false,
|
||||||
|
"strokeColor": "#000000",
|
||||||
|
"backgroundColor": "transparent",
|
||||||
|
"fillStyle": "hachure",
|
||||||
|
"strokeWidth": 0,
|
||||||
|
"roughness": 0,
|
||||||
|
"penOptions": {
|
||||||
|
"highlighter": false,
|
||||||
|
"constantPressure": false,
|
||||||
|
"hasOutline": false,
|
||||||
|
"outlineWidth": 1,
|
||||||
|
"options": {
|
||||||
|
"thinning": 0.6,
|
||||||
|
"smoothing": 0.5,
|
||||||
|
"streamline": 0.5,
|
||||||
|
"easing": "easeOutSine",
|
||||||
|
"start": {
|
||||||
|
"cap": true,
|
||||||
|
"taper": 0,
|
||||||
|
"easing": "linear"
|
||||||
|
},
|
||||||
|
"end": {
|
||||||
|
"cap": true,
|
||||||
|
"taper": 0,
|
||||||
|
"easing": "linear"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"numberOfCustomPens": 0,
|
||||||
|
"pdfScale": 4,
|
||||||
|
"pdfBorderBox": true,
|
||||||
|
"pdfFrame": false,
|
||||||
|
"pdfGapSize": 20,
|
||||||
|
"pdfGroupPages": false,
|
||||||
|
"pdfLockAfterImport": true,
|
||||||
|
"pdfNumColumns": 1,
|
||||||
|
"pdfNumRows": 1,
|
||||||
|
"pdfDirection": "right",
|
||||||
|
"pdfImportScale": 0.3,
|
||||||
|
"gridSettings": {
|
||||||
|
"DYNAMIC_COLOR": true,
|
||||||
|
"COLOR": "#000000",
|
||||||
|
"OPACITY": 50
|
||||||
|
},
|
||||||
|
"laserSettings": {
|
||||||
|
"DECAY_LENGTH": 50,
|
||||||
|
"DECAY_TIME": 1000,
|
||||||
|
"COLOR": "#ff0000"
|
||||||
|
},
|
||||||
|
"embeddableMarkdownDefaults": {
|
||||||
|
"useObsidianDefaults": false,
|
||||||
|
"backgroundMatchCanvas": false,
|
||||||
|
"backgroundMatchElement": true,
|
||||||
|
"backgroundColor": "#fff",
|
||||||
|
"backgroundOpacity": 60,
|
||||||
|
"borderMatchElement": true,
|
||||||
|
"borderColor": "#fff",
|
||||||
|
"borderOpacity": 0,
|
||||||
|
"filenameVisible": false
|
||||||
|
},
|
||||||
|
"markdownNodeOneClickEditing": false,
|
||||||
|
"canvasImmersiveEmbed": true,
|
||||||
|
"startupScriptPath": "",
|
||||||
|
"openAIAPIToken": "",
|
||||||
|
"openAIDefaultTextModel": "gpt-3.5-turbo-1106",
|
||||||
|
"openAIDefaultVisionModel": "gpt-4o",
|
||||||
|
"openAIDefaultImageGenerationModel": "dall-e-3",
|
||||||
|
"openAIURL": "https://api.openai.com/v1/chat/completions",
|
||||||
|
"openAIImageGenerationURL": "https://api.openai.com/v1/images/generations",
|
||||||
|
"openAIImageEditsURL": "https://api.openai.com/v1/images/edits",
|
||||||
|
"openAIImageVariationURL": "https://api.openai.com/v1/images/variations",
|
||||||
|
"modifierKeyConfig": {
|
||||||
|
"Mac": {
|
||||||
|
"LocalFileDragAction": {
|
||||||
|
"defaultAction": "image-import",
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"shift": false,
|
||||||
|
"ctrl_cmd": false,
|
||||||
|
"alt_opt": false,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "image-import"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": true,
|
||||||
|
"ctrl_cmd": false,
|
||||||
|
"alt_opt": true,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "link"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": true,
|
||||||
|
"ctrl_cmd": false,
|
||||||
|
"alt_opt": false,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "image-url"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": false,
|
||||||
|
"ctrl_cmd": false,
|
||||||
|
"alt_opt": true,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "embeddable"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"WebBrowserDragAction": {
|
||||||
|
"defaultAction": "image-url",
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"shift": false,
|
||||||
|
"ctrl_cmd": false,
|
||||||
|
"alt_opt": false,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "image-url"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": true,
|
||||||
|
"ctrl_cmd": false,
|
||||||
|
"alt_opt": true,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "link"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": false,
|
||||||
|
"ctrl_cmd": false,
|
||||||
|
"alt_opt": true,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "embeddable"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": true,
|
||||||
|
"ctrl_cmd": false,
|
||||||
|
"alt_opt": false,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "image-import"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"InternalDragAction": {
|
||||||
|
"defaultAction": "link",
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"shift": false,
|
||||||
|
"ctrl_cmd": false,
|
||||||
|
"alt_opt": false,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "link"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": false,
|
||||||
|
"ctrl_cmd": false,
|
||||||
|
"alt_opt": false,
|
||||||
|
"meta_ctrl": true,
|
||||||
|
"result": "embeddable"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": true,
|
||||||
|
"ctrl_cmd": false,
|
||||||
|
"alt_opt": false,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "image"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": true,
|
||||||
|
"ctrl_cmd": false,
|
||||||
|
"alt_opt": false,
|
||||||
|
"meta_ctrl": true,
|
||||||
|
"result": "image-fullsize"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"LinkClickAction": {
|
||||||
|
"defaultAction": "new-tab",
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"shift": false,
|
||||||
|
"ctrl_cmd": false,
|
||||||
|
"alt_opt": false,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "active-pane"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": false,
|
||||||
|
"ctrl_cmd": true,
|
||||||
|
"alt_opt": false,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "new-tab"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": false,
|
||||||
|
"ctrl_cmd": true,
|
||||||
|
"alt_opt": true,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "new-pane"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": true,
|
||||||
|
"ctrl_cmd": true,
|
||||||
|
"alt_opt": true,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "popout-window"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": false,
|
||||||
|
"ctrl_cmd": true,
|
||||||
|
"alt_opt": false,
|
||||||
|
"meta_ctrl": true,
|
||||||
|
"result": "md-properties"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Win": {
|
||||||
|
"LocalFileDragAction": {
|
||||||
|
"defaultAction": "image-import",
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"shift": false,
|
||||||
|
"ctrl_cmd": false,
|
||||||
|
"alt_opt": false,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "image-import"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": false,
|
||||||
|
"ctrl_cmd": true,
|
||||||
|
"alt_opt": false,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "link"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": true,
|
||||||
|
"ctrl_cmd": false,
|
||||||
|
"alt_opt": false,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "image-url"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": true,
|
||||||
|
"ctrl_cmd": true,
|
||||||
|
"alt_opt": false,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "embeddable"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"WebBrowserDragAction": {
|
||||||
|
"defaultAction": "image-url",
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"shift": false,
|
||||||
|
"ctrl_cmd": false,
|
||||||
|
"alt_opt": false,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "image-url"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": false,
|
||||||
|
"ctrl_cmd": true,
|
||||||
|
"alt_opt": false,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "link"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": true,
|
||||||
|
"ctrl_cmd": true,
|
||||||
|
"alt_opt": false,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "embeddable"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": true,
|
||||||
|
"ctrl_cmd": false,
|
||||||
|
"alt_opt": false,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "image-import"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"InternalDragAction": {
|
||||||
|
"defaultAction": "link",
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"shift": false,
|
||||||
|
"ctrl_cmd": false,
|
||||||
|
"alt_opt": false,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "link"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": true,
|
||||||
|
"ctrl_cmd": true,
|
||||||
|
"alt_opt": false,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "embeddable"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": true,
|
||||||
|
"ctrl_cmd": false,
|
||||||
|
"alt_opt": false,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "image"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": false,
|
||||||
|
"ctrl_cmd": true,
|
||||||
|
"alt_opt": true,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "image-fullsize"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"LinkClickAction": {
|
||||||
|
"defaultAction": "new-tab",
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"shift": false,
|
||||||
|
"ctrl_cmd": false,
|
||||||
|
"alt_opt": false,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "active-pane"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": false,
|
||||||
|
"ctrl_cmd": true,
|
||||||
|
"alt_opt": false,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "new-tab"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": false,
|
||||||
|
"ctrl_cmd": true,
|
||||||
|
"alt_opt": true,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "new-pane"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": true,
|
||||||
|
"ctrl_cmd": true,
|
||||||
|
"alt_opt": true,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "popout-window"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": false,
|
||||||
|
"ctrl_cmd": true,
|
||||||
|
"alt_opt": false,
|
||||||
|
"meta_ctrl": true,
|
||||||
|
"result": "md-properties"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"slidingPanesSupport": false,
|
||||||
|
"areaZoomLimit": 1,
|
||||||
|
"longPressDesktop": 500,
|
||||||
|
"longPressMobile": 500,
|
||||||
|
"doubleClickLinkOpenViewMode": true,
|
||||||
|
"isDebugMode": false,
|
||||||
|
"rank": "Bronze",
|
||||||
|
"modifierKeyOverrides": [
|
||||||
|
{
|
||||||
|
"modifiers": [
|
||||||
|
"Mod"
|
||||||
|
],
|
||||||
|
"key": "Enter"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"modifiers": [
|
||||||
|
"Mod"
|
||||||
|
],
|
||||||
|
"key": "k"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"modifiers": [
|
||||||
|
"Mod"
|
||||||
|
],
|
||||||
|
"key": "G"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"showSplashscreen": true
|
||||||
|
}
|
||||||
@@ -0,0 +1,788 @@
|
|||||||
|
{
|
||||||
|
"folder": "Excalidraw",
|
||||||
|
"cropFolder": "",
|
||||||
|
"annotateFolder": "",
|
||||||
|
"embedUseExcalidrawFolder": false,
|
||||||
|
"templateFilePath": "Excalidraw/Template.excalidraw",
|
||||||
|
"scriptFolderPath": "Excalidraw/Scripts",
|
||||||
|
"fontAssetsPath": "Excalidraw/CJK Fonts",
|
||||||
|
"loadChineseFonts": false,
|
||||||
|
"loadJapaneseFonts": false,
|
||||||
|
"loadKoreanFonts": false,
|
||||||
|
"compress": true,
|
||||||
|
"decompressForMDView": false,
|
||||||
|
"onceOffCompressFlagReset": true,
|
||||||
|
"onceOffGPTVersionReset": false,
|
||||||
|
"autosave": true,
|
||||||
|
"autosaveIntervalDesktop": 60000,
|
||||||
|
"autosaveIntervalMobile": 30000,
|
||||||
|
"drawingFilenamePrefix": "Drawing ",
|
||||||
|
"drawingEmbedPrefixWithFilename": true,
|
||||||
|
"drawingFilnameEmbedPostfix": " ",
|
||||||
|
"drawingFilenameDateTime": "YYYY-MM-DD HH.mm.ss",
|
||||||
|
"useExcalidrawExtension": true,
|
||||||
|
"cropPrefix": "cropped_",
|
||||||
|
"annotatePrefix": "annotated_",
|
||||||
|
"annotatePreserveSize": false,
|
||||||
|
"previewImageType": "SVGIMG",
|
||||||
|
"allowImageCache": true,
|
||||||
|
"allowImageCacheInScene": true,
|
||||||
|
"displayExportedImageIfAvailable": false,
|
||||||
|
"previewMatchObsidianTheme": false,
|
||||||
|
"width": "400",
|
||||||
|
"height": "",
|
||||||
|
"overrideObsidianFontSize": false,
|
||||||
|
"dynamicStyling": "colorful",
|
||||||
|
"isLeftHanded": false,
|
||||||
|
"iframeMatchExcalidrawTheme": true,
|
||||||
|
"matchTheme": false,
|
||||||
|
"matchThemeAlways": false,
|
||||||
|
"matchThemeTrigger": false,
|
||||||
|
"defaultMode": "normal",
|
||||||
|
"defaultPenMode": "never",
|
||||||
|
"penModeDoubleTapEraser": true,
|
||||||
|
"penModeSingleFingerPanning": true,
|
||||||
|
"penModeCrosshairVisible": true,
|
||||||
|
"renderImageInMarkdownReadingMode": false,
|
||||||
|
"renderImageInHoverPreviewForMDNotes": false,
|
||||||
|
"renderImageInMarkdownToPDF": false,
|
||||||
|
"allowPinchZoom": false,
|
||||||
|
"allowWheelZoom": false,
|
||||||
|
"zoomToFitOnOpen": true,
|
||||||
|
"zoomToFitOnResize": true,
|
||||||
|
"zoomToFitMaxLevel": 2,
|
||||||
|
"linkPrefix": "📍",
|
||||||
|
"urlPrefix": "🌐",
|
||||||
|
"parseTODO": false,
|
||||||
|
"todo": "☐",
|
||||||
|
"done": "🗹",
|
||||||
|
"hoverPreviewWithoutCTRL": false,
|
||||||
|
"linkOpacity": 1,
|
||||||
|
"openInAdjacentPane": true,
|
||||||
|
"showSecondOrderLinks": true,
|
||||||
|
"focusOnFileTab": true,
|
||||||
|
"openInMainWorkspace": true,
|
||||||
|
"showLinkBrackets": true,
|
||||||
|
"allowCtrlClick": true,
|
||||||
|
"forceWrap": false,
|
||||||
|
"pageTransclusionCharLimit": 200,
|
||||||
|
"wordWrappingDefault": 0,
|
||||||
|
"removeTransclusionQuoteSigns": true,
|
||||||
|
"iframelyAllowed": true,
|
||||||
|
"pngExportScale": 1,
|
||||||
|
"exportWithTheme": true,
|
||||||
|
"exportWithBackground": true,
|
||||||
|
"exportPaddingSVG": 10,
|
||||||
|
"exportEmbedScene": false,
|
||||||
|
"keepInSync": false,
|
||||||
|
"autoexportSVG": false,
|
||||||
|
"autoexportPNG": false,
|
||||||
|
"autoExportLightAndDark": false,
|
||||||
|
"autoexportExcalidraw": false,
|
||||||
|
"embedType": "excalidraw",
|
||||||
|
"embedMarkdownCommentLinks": true,
|
||||||
|
"embedWikiLink": true,
|
||||||
|
"syncExcalidraw": false,
|
||||||
|
"experimentalFileType": false,
|
||||||
|
"experimentalFileTag": "✏️",
|
||||||
|
"experimentalLivePreview": true,
|
||||||
|
"fadeOutExcalidrawMarkup": false,
|
||||||
|
"loadPropertySuggestions": true,
|
||||||
|
"experimentalEnableFourthFont": false,
|
||||||
|
"experimantalFourthFont": "Virgil",
|
||||||
|
"addDummyTextElement": false,
|
||||||
|
"zoteroCompatibility": false,
|
||||||
|
"fieldSuggester": true,
|
||||||
|
"compatibilityMode": false,
|
||||||
|
"drawingOpenCount": 0,
|
||||||
|
"library": "deprecated",
|
||||||
|
"library2": {
|
||||||
|
"type": "excalidrawlib",
|
||||||
|
"version": 2,
|
||||||
|
"source": "https://github.com/zsviczian/obsidian-excalidraw-plugin/releases/tag/2.6.8",
|
||||||
|
"libraryItems": []
|
||||||
|
},
|
||||||
|
"imageElementNotice": true,
|
||||||
|
"mdSVGwidth": 500,
|
||||||
|
"mdSVGmaxHeight": 800,
|
||||||
|
"mdFont": "Virgil",
|
||||||
|
"mdFontColor": "Black",
|
||||||
|
"mdBorderColor": "Black",
|
||||||
|
"mdCSS": "",
|
||||||
|
"scriptEngineSettings": {},
|
||||||
|
"defaultTrayMode": true,
|
||||||
|
"previousRelease": "2.6.8",
|
||||||
|
"showReleaseNotes": true,
|
||||||
|
"showNewVersionNotification": true,
|
||||||
|
"latexBoilerplate": "\\color{blue}",
|
||||||
|
"taskboneEnabled": false,
|
||||||
|
"taskboneAPIkey": "",
|
||||||
|
"pinnedScripts": [],
|
||||||
|
"customPens": [
|
||||||
|
{
|
||||||
|
"type": "default",
|
||||||
|
"freedrawOnly": false,
|
||||||
|
"strokeColor": "#000000",
|
||||||
|
"backgroundColor": "transparent",
|
||||||
|
"fillStyle": "hachure",
|
||||||
|
"strokeWidth": 0,
|
||||||
|
"roughness": 0,
|
||||||
|
"penOptions": {
|
||||||
|
"highlighter": false,
|
||||||
|
"constantPressure": false,
|
||||||
|
"hasOutline": false,
|
||||||
|
"outlineWidth": 1,
|
||||||
|
"options": {
|
||||||
|
"thinning": 0.6,
|
||||||
|
"smoothing": 0.5,
|
||||||
|
"streamline": 0.5,
|
||||||
|
"easing": "easeOutSine",
|
||||||
|
"start": {
|
||||||
|
"cap": true,
|
||||||
|
"taper": 0,
|
||||||
|
"easing": "linear"
|
||||||
|
},
|
||||||
|
"end": {
|
||||||
|
"cap": true,
|
||||||
|
"taper": 0,
|
||||||
|
"easing": "linear"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "highlighter",
|
||||||
|
"freedrawOnly": true,
|
||||||
|
"strokeColor": "#FFC47C",
|
||||||
|
"backgroundColor": "#FFC47C",
|
||||||
|
"fillStyle": "solid",
|
||||||
|
"strokeWidth": 2,
|
||||||
|
"roughness": null,
|
||||||
|
"penOptions": {
|
||||||
|
"highlighter": true,
|
||||||
|
"constantPressure": true,
|
||||||
|
"hasOutline": true,
|
||||||
|
"outlineWidth": 4,
|
||||||
|
"options": {
|
||||||
|
"thinning": 1,
|
||||||
|
"smoothing": 0.5,
|
||||||
|
"streamline": 0.5,
|
||||||
|
"easing": "linear",
|
||||||
|
"start": {
|
||||||
|
"taper": 0,
|
||||||
|
"cap": true,
|
||||||
|
"easing": "linear"
|
||||||
|
},
|
||||||
|
"end": {
|
||||||
|
"taper": 0,
|
||||||
|
"cap": true,
|
||||||
|
"easing": "linear"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "finetip",
|
||||||
|
"freedrawOnly": false,
|
||||||
|
"strokeColor": "#3E6F8D",
|
||||||
|
"backgroundColor": "transparent",
|
||||||
|
"fillStyle": "hachure",
|
||||||
|
"strokeWidth": 0.5,
|
||||||
|
"roughness": 0,
|
||||||
|
"penOptions": {
|
||||||
|
"highlighter": false,
|
||||||
|
"hasOutline": false,
|
||||||
|
"outlineWidth": 1,
|
||||||
|
"constantPressure": true,
|
||||||
|
"options": {
|
||||||
|
"smoothing": 0.4,
|
||||||
|
"thinning": -0.5,
|
||||||
|
"streamline": 0.4,
|
||||||
|
"easing": "linear",
|
||||||
|
"start": {
|
||||||
|
"taper": 5,
|
||||||
|
"cap": false,
|
||||||
|
"easing": "linear"
|
||||||
|
},
|
||||||
|
"end": {
|
||||||
|
"taper": 5,
|
||||||
|
"cap": false,
|
||||||
|
"easing": "linear"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "fountain",
|
||||||
|
"freedrawOnly": false,
|
||||||
|
"strokeColor": "#000000",
|
||||||
|
"backgroundColor": "transparent",
|
||||||
|
"fillStyle": "hachure",
|
||||||
|
"strokeWidth": 2,
|
||||||
|
"roughness": 0,
|
||||||
|
"penOptions": {
|
||||||
|
"highlighter": false,
|
||||||
|
"constantPressure": false,
|
||||||
|
"hasOutline": false,
|
||||||
|
"outlineWidth": 1,
|
||||||
|
"options": {
|
||||||
|
"smoothing": 0.2,
|
||||||
|
"thinning": 0.6,
|
||||||
|
"streamline": 0.2,
|
||||||
|
"easing": "easeInOutSine",
|
||||||
|
"start": {
|
||||||
|
"taper": 150,
|
||||||
|
"cap": true,
|
||||||
|
"easing": "linear"
|
||||||
|
},
|
||||||
|
"end": {
|
||||||
|
"taper": 1,
|
||||||
|
"cap": true,
|
||||||
|
"easing": "linear"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "marker",
|
||||||
|
"freedrawOnly": true,
|
||||||
|
"strokeColor": "#B83E3E",
|
||||||
|
"backgroundColor": "#FF7C7C",
|
||||||
|
"fillStyle": "dashed",
|
||||||
|
"strokeWidth": 2,
|
||||||
|
"roughness": 3,
|
||||||
|
"penOptions": {
|
||||||
|
"highlighter": false,
|
||||||
|
"constantPressure": true,
|
||||||
|
"hasOutline": true,
|
||||||
|
"outlineWidth": 4,
|
||||||
|
"options": {
|
||||||
|
"thinning": 1,
|
||||||
|
"smoothing": 0.5,
|
||||||
|
"streamline": 0.5,
|
||||||
|
"easing": "linear",
|
||||||
|
"start": {
|
||||||
|
"taper": 0,
|
||||||
|
"cap": true,
|
||||||
|
"easing": "linear"
|
||||||
|
},
|
||||||
|
"end": {
|
||||||
|
"taper": 0,
|
||||||
|
"cap": true,
|
||||||
|
"easing": "linear"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "thick-thin",
|
||||||
|
"freedrawOnly": true,
|
||||||
|
"strokeColor": "#CECDCC",
|
||||||
|
"backgroundColor": "transparent",
|
||||||
|
"fillStyle": "hachure",
|
||||||
|
"strokeWidth": 0,
|
||||||
|
"roughness": null,
|
||||||
|
"penOptions": {
|
||||||
|
"highlighter": true,
|
||||||
|
"constantPressure": true,
|
||||||
|
"hasOutline": false,
|
||||||
|
"outlineWidth": 1,
|
||||||
|
"options": {
|
||||||
|
"thinning": 1,
|
||||||
|
"smoothing": 0.5,
|
||||||
|
"streamline": 0.5,
|
||||||
|
"easing": "linear",
|
||||||
|
"start": {
|
||||||
|
"taper": 0,
|
||||||
|
"cap": true,
|
||||||
|
"easing": "linear"
|
||||||
|
},
|
||||||
|
"end": {
|
||||||
|
"cap": true,
|
||||||
|
"taper": true,
|
||||||
|
"easing": "linear"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "thin-thick-thin",
|
||||||
|
"freedrawOnly": true,
|
||||||
|
"strokeColor": "#CECDCC",
|
||||||
|
"backgroundColor": "transparent",
|
||||||
|
"fillStyle": "hachure",
|
||||||
|
"strokeWidth": 0,
|
||||||
|
"roughness": null,
|
||||||
|
"penOptions": {
|
||||||
|
"highlighter": true,
|
||||||
|
"constantPressure": true,
|
||||||
|
"hasOutline": false,
|
||||||
|
"outlineWidth": 1,
|
||||||
|
"options": {
|
||||||
|
"thinning": 1,
|
||||||
|
"smoothing": 0.5,
|
||||||
|
"streamline": 0.5,
|
||||||
|
"easing": "linear",
|
||||||
|
"start": {
|
||||||
|
"cap": true,
|
||||||
|
"taper": true,
|
||||||
|
"easing": "linear"
|
||||||
|
},
|
||||||
|
"end": {
|
||||||
|
"cap": true,
|
||||||
|
"taper": true,
|
||||||
|
"easing": "linear"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "default",
|
||||||
|
"freedrawOnly": false,
|
||||||
|
"strokeColor": "#000000",
|
||||||
|
"backgroundColor": "transparent",
|
||||||
|
"fillStyle": "hachure",
|
||||||
|
"strokeWidth": 0,
|
||||||
|
"roughness": 0,
|
||||||
|
"penOptions": {
|
||||||
|
"highlighter": false,
|
||||||
|
"constantPressure": false,
|
||||||
|
"hasOutline": false,
|
||||||
|
"outlineWidth": 1,
|
||||||
|
"options": {
|
||||||
|
"thinning": 0.6,
|
||||||
|
"smoothing": 0.5,
|
||||||
|
"streamline": 0.5,
|
||||||
|
"easing": "easeOutSine",
|
||||||
|
"start": {
|
||||||
|
"cap": true,
|
||||||
|
"taper": 0,
|
||||||
|
"easing": "linear"
|
||||||
|
},
|
||||||
|
"end": {
|
||||||
|
"cap": true,
|
||||||
|
"taper": 0,
|
||||||
|
"easing": "linear"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "default",
|
||||||
|
"freedrawOnly": false,
|
||||||
|
"strokeColor": "#000000",
|
||||||
|
"backgroundColor": "transparent",
|
||||||
|
"fillStyle": "hachure",
|
||||||
|
"strokeWidth": 0,
|
||||||
|
"roughness": 0,
|
||||||
|
"penOptions": {
|
||||||
|
"highlighter": false,
|
||||||
|
"constantPressure": false,
|
||||||
|
"hasOutline": false,
|
||||||
|
"outlineWidth": 1,
|
||||||
|
"options": {
|
||||||
|
"thinning": 0.6,
|
||||||
|
"smoothing": 0.5,
|
||||||
|
"streamline": 0.5,
|
||||||
|
"easing": "easeOutSine",
|
||||||
|
"start": {
|
||||||
|
"cap": true,
|
||||||
|
"taper": 0,
|
||||||
|
"easing": "linear"
|
||||||
|
},
|
||||||
|
"end": {
|
||||||
|
"cap": true,
|
||||||
|
"taper": 0,
|
||||||
|
"easing": "linear"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "default",
|
||||||
|
"freedrawOnly": false,
|
||||||
|
"strokeColor": "#000000",
|
||||||
|
"backgroundColor": "transparent",
|
||||||
|
"fillStyle": "hachure",
|
||||||
|
"strokeWidth": 0,
|
||||||
|
"roughness": 0,
|
||||||
|
"penOptions": {
|
||||||
|
"highlighter": false,
|
||||||
|
"constantPressure": false,
|
||||||
|
"hasOutline": false,
|
||||||
|
"outlineWidth": 1,
|
||||||
|
"options": {
|
||||||
|
"thinning": 0.6,
|
||||||
|
"smoothing": 0.5,
|
||||||
|
"streamline": 0.5,
|
||||||
|
"easing": "easeOutSine",
|
||||||
|
"start": {
|
||||||
|
"cap": true,
|
||||||
|
"taper": 0,
|
||||||
|
"easing": "linear"
|
||||||
|
},
|
||||||
|
"end": {
|
||||||
|
"cap": true,
|
||||||
|
"taper": 0,
|
||||||
|
"easing": "linear"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"numberOfCustomPens": 0,
|
||||||
|
"pdfScale": 4,
|
||||||
|
"pdfBorderBox": true,
|
||||||
|
"pdfFrame": false,
|
||||||
|
"pdfGapSize": 20,
|
||||||
|
"pdfGroupPages": false,
|
||||||
|
"pdfLockAfterImport": true,
|
||||||
|
"pdfNumColumns": 1,
|
||||||
|
"pdfNumRows": 1,
|
||||||
|
"pdfDirection": "right",
|
||||||
|
"pdfImportScale": 0.3,
|
||||||
|
"gridSettings": {
|
||||||
|
"DYNAMIC_COLOR": true,
|
||||||
|
"COLOR": "#000000",
|
||||||
|
"OPACITY": 50
|
||||||
|
},
|
||||||
|
"laserSettings": {
|
||||||
|
"DECAY_LENGTH": 50,
|
||||||
|
"DECAY_TIME": 1000,
|
||||||
|
"COLOR": "#ff0000"
|
||||||
|
},
|
||||||
|
"embeddableMarkdownDefaults": {
|
||||||
|
"useObsidianDefaults": false,
|
||||||
|
"backgroundMatchCanvas": false,
|
||||||
|
"backgroundMatchElement": true,
|
||||||
|
"backgroundColor": "#fff",
|
||||||
|
"backgroundOpacity": 60,
|
||||||
|
"borderMatchElement": true,
|
||||||
|
"borderColor": "#fff",
|
||||||
|
"borderOpacity": 0,
|
||||||
|
"filenameVisible": false
|
||||||
|
},
|
||||||
|
"markdownNodeOneClickEditing": false,
|
||||||
|
"canvasImmersiveEmbed": true,
|
||||||
|
"startupScriptPath": "",
|
||||||
|
"openAIAPIToken": "",
|
||||||
|
"openAIDefaultTextModel": "gpt-3.5-turbo-1106",
|
||||||
|
"openAIDefaultVisionModel": "gpt-4o",
|
||||||
|
"openAIDefaultImageGenerationModel": "dall-e-3",
|
||||||
|
"openAIURL": "https://api.openai.com/v1/chat/completions",
|
||||||
|
"openAIImageGenerationURL": "https://api.openai.com/v1/images/generations",
|
||||||
|
"openAIImageEditsURL": "https://api.openai.com/v1/images/edits",
|
||||||
|
"openAIImageVariationURL": "https://api.openai.com/v1/images/variations",
|
||||||
|
"modifierKeyConfig": {
|
||||||
|
"Mac": {
|
||||||
|
"LocalFileDragAction": {
|
||||||
|
"defaultAction": "image-import",
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"shift": false,
|
||||||
|
"ctrl_cmd": false,
|
||||||
|
"alt_opt": false,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "image-import"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": true,
|
||||||
|
"ctrl_cmd": false,
|
||||||
|
"alt_opt": true,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "link"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": true,
|
||||||
|
"ctrl_cmd": false,
|
||||||
|
"alt_opt": false,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "image-url"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": false,
|
||||||
|
"ctrl_cmd": false,
|
||||||
|
"alt_opt": true,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "embeddable"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"WebBrowserDragAction": {
|
||||||
|
"defaultAction": "image-url",
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"shift": false,
|
||||||
|
"ctrl_cmd": false,
|
||||||
|
"alt_opt": false,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "image-url"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": true,
|
||||||
|
"ctrl_cmd": false,
|
||||||
|
"alt_opt": true,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "link"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": false,
|
||||||
|
"ctrl_cmd": false,
|
||||||
|
"alt_opt": true,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "embeddable"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": true,
|
||||||
|
"ctrl_cmd": false,
|
||||||
|
"alt_opt": false,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "image-import"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"InternalDragAction": {
|
||||||
|
"defaultAction": "link",
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"shift": false,
|
||||||
|
"ctrl_cmd": false,
|
||||||
|
"alt_opt": false,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "link"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": false,
|
||||||
|
"ctrl_cmd": false,
|
||||||
|
"alt_opt": false,
|
||||||
|
"meta_ctrl": true,
|
||||||
|
"result": "embeddable"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": true,
|
||||||
|
"ctrl_cmd": false,
|
||||||
|
"alt_opt": false,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "image"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": true,
|
||||||
|
"ctrl_cmd": false,
|
||||||
|
"alt_opt": false,
|
||||||
|
"meta_ctrl": true,
|
||||||
|
"result": "image-fullsize"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"LinkClickAction": {
|
||||||
|
"defaultAction": "new-tab",
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"shift": false,
|
||||||
|
"ctrl_cmd": false,
|
||||||
|
"alt_opt": false,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "active-pane"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": false,
|
||||||
|
"ctrl_cmd": true,
|
||||||
|
"alt_opt": false,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "new-tab"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": false,
|
||||||
|
"ctrl_cmd": true,
|
||||||
|
"alt_opt": true,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "new-pane"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": true,
|
||||||
|
"ctrl_cmd": true,
|
||||||
|
"alt_opt": true,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "popout-window"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": false,
|
||||||
|
"ctrl_cmd": true,
|
||||||
|
"alt_opt": false,
|
||||||
|
"meta_ctrl": true,
|
||||||
|
"result": "md-properties"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Win": {
|
||||||
|
"LocalFileDragAction": {
|
||||||
|
"defaultAction": "image-import",
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"shift": false,
|
||||||
|
"ctrl_cmd": false,
|
||||||
|
"alt_opt": false,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "image-import"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": false,
|
||||||
|
"ctrl_cmd": true,
|
||||||
|
"alt_opt": false,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "link"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": true,
|
||||||
|
"ctrl_cmd": false,
|
||||||
|
"alt_opt": false,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "image-url"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": true,
|
||||||
|
"ctrl_cmd": true,
|
||||||
|
"alt_opt": false,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "embeddable"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"WebBrowserDragAction": {
|
||||||
|
"defaultAction": "image-url",
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"shift": false,
|
||||||
|
"ctrl_cmd": false,
|
||||||
|
"alt_opt": false,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "image-url"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": false,
|
||||||
|
"ctrl_cmd": true,
|
||||||
|
"alt_opt": false,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "link"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": true,
|
||||||
|
"ctrl_cmd": true,
|
||||||
|
"alt_opt": false,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "embeddable"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": true,
|
||||||
|
"ctrl_cmd": false,
|
||||||
|
"alt_opt": false,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "image-import"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"InternalDragAction": {
|
||||||
|
"defaultAction": "link",
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"shift": false,
|
||||||
|
"ctrl_cmd": false,
|
||||||
|
"alt_opt": false,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "link"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": true,
|
||||||
|
"ctrl_cmd": true,
|
||||||
|
"alt_opt": false,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "embeddable"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": true,
|
||||||
|
"ctrl_cmd": false,
|
||||||
|
"alt_opt": false,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "image"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": false,
|
||||||
|
"ctrl_cmd": true,
|
||||||
|
"alt_opt": true,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "image-fullsize"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"LinkClickAction": {
|
||||||
|
"defaultAction": "new-tab",
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"shift": false,
|
||||||
|
"ctrl_cmd": false,
|
||||||
|
"alt_opt": false,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "active-pane"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": false,
|
||||||
|
"ctrl_cmd": true,
|
||||||
|
"alt_opt": false,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "new-tab"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": false,
|
||||||
|
"ctrl_cmd": true,
|
||||||
|
"alt_opt": true,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "new-pane"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": true,
|
||||||
|
"ctrl_cmd": true,
|
||||||
|
"alt_opt": true,
|
||||||
|
"meta_ctrl": false,
|
||||||
|
"result": "popout-window"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shift": false,
|
||||||
|
"ctrl_cmd": true,
|
||||||
|
"alt_opt": false,
|
||||||
|
"meta_ctrl": true,
|
||||||
|
"result": "md-properties"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"slidingPanesSupport": false,
|
||||||
|
"areaZoomLimit": 1,
|
||||||
|
"longPressDesktop": 500,
|
||||||
|
"longPressMobile": 500,
|
||||||
|
"doubleClickLinkOpenViewMode": true,
|
||||||
|
"isDebugMode": false,
|
||||||
|
"rank": "Bronze",
|
||||||
|
"modifierKeyOverrides": [
|
||||||
|
{
|
||||||
|
"modifiers": [
|
||||||
|
"Mod"
|
||||||
|
],
|
||||||
|
"key": "Enter"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"modifiers": [
|
||||||
|
"Mod"
|
||||||
|
],
|
||||||
|
"key": "k"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"modifiers": [
|
||||||
|
"Mod"
|
||||||
|
],
|
||||||
|
"key": "G"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"showSplashscreen": true
|
||||||
|
}
|
||||||
+32
-79637
File diff suppressed because it is too large
Load Diff
+8
-4
File diff suppressed because one or more lines are too long
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"id": "obsidian-excalidraw-plugin",
|
"id": "obsidian-excalidraw-plugin",
|
||||||
"name": "Excalidraw",
|
"name": "Excalidraw",
|
||||||
"version": "2.5.1",
|
"version": "2.6.8",
|
||||||
"minAppVersion": "1.1.6",
|
"minAppVersion": "1.1.6",
|
||||||
"description": "An Obsidian plugin to edit and view Excalidraw drawings",
|
"description": "An Obsidian plugin to edit and view Excalidraw drawings",
|
||||||
"author": "Zsolt Viczian",
|
"author": "Zsolt Viczian",
|
||||||
|
|||||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+616
-457
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"id": "obsidian-latex-suite",
|
"id": "obsidian-latex-suite",
|
||||||
"name": "Latex Suite",
|
"name": "Latex Suite",
|
||||||
"version": "1.9.5",
|
"version": "1.9.7",
|
||||||
"minAppVersion": "1.0.0",
|
"minAppVersion": "1.0.0",
|
||||||
"description": "Make typesetting LaTeX math as fast as handwriting through snippets, text expansion, and editor enhancements",
|
"description": "Make typesetting LaTeX math as fast as handwriting through snippets, text expansion, and editor enhancements",
|
||||||
"author": "artisticat",
|
"author": "artisticat",
|
||||||
|
|||||||
+3
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"preamblePath": ".obsidian/preamble.sty"
|
||||||
|
}
|
||||||
@@ -150,5 +150,23 @@
|
|||||||
"color": "110, 48, 198",
|
"color": "110, 48, 198",
|
||||||
"icon": "lucide-github",
|
"icon": "lucide-github",
|
||||||
"custom": true
|
"custom": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"char": "A",
|
||||||
|
"color": "189, 66, 66",
|
||||||
|
"icon": null,
|
||||||
|
"custom": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"char": "B",
|
||||||
|
"color": "87, 140, 244",
|
||||||
|
"icon": null,
|
||||||
|
"custom": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"char": "C",
|
||||||
|
"color": "41, 158, 60",
|
||||||
|
"icon": null,
|
||||||
|
"custom": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
+8
-6
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"id": "obsidian-markmind",
|
"id": "obsidian-markmind",
|
||||||
"name": "Markmind",
|
"name": "Markmind",
|
||||||
"version": "3.0.4",
|
"version": "3.0.8",
|
||||||
"minAppVersion": "0.9.12",
|
"minAppVersion": "0.9.12",
|
||||||
"description": "This is a mindmap , outline tool for obsidian.",
|
"description": "This is a mindmap , outline tool for obsidian.",
|
||||||
"author": "Mark",
|
"author": "Mark",
|
||||||
|
|||||||
+36
-14
@@ -300,7 +300,8 @@
|
|||||||
display: block;
|
display: block;
|
||||||
border: 1px solid #ccc;
|
border: 1px solid #ccc;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
height: 28px
|
height: 28px;
|
||||||
|
box-shadow: none
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-dark .cm-form-row select {
|
.theme-dark .cm-form-row select {
|
||||||
@@ -1045,7 +1046,8 @@ th {
|
|||||||
max-width: 100%
|
max-width: 100%
|
||||||
}
|
}
|
||||||
|
|
||||||
.cm-node-text {
|
.cm-node-text,
|
||||||
|
.mm-node-edit {
|
||||||
max-width: 450px;
|
max-width: 450px;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
outline: 0;
|
outline: 0;
|
||||||
@@ -1055,6 +1057,12 @@ th {
|
|||||||
word-wrap: break-word
|
word-wrap: break-word
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.cm-node-text mjx-math,
|
||||||
|
.mm-node-edit mjx-math {
|
||||||
|
max-width: 100%;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
.cm-edit-node .cm-node-text {
|
.cm-edit-node .cm-node-text {
|
||||||
padding-right: 2px
|
padding-right: 2px
|
||||||
}
|
}
|
||||||
@@ -1205,15 +1213,20 @@ th {
|
|||||||
overflow: visible
|
overflow: visible
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.cm-node-floatmenus {
|
||||||
|
position: fixed;
|
||||||
|
width: 320px;
|
||||||
|
background: #fff;
|
||||||
|
border-radius: 5px;
|
||||||
|
padding: 6px;
|
||||||
|
border: 1px solid #666
|
||||||
|
}
|
||||||
|
|
||||||
/* @font-face{
|
.theme-dark .cm-node-floatmenus {
|
||||||
font-family: 'myFont';
|
background: #333;
|
||||||
src:url('http://cdn.ghost-jack.top/chinese.ttf');
|
color: #a3a3a3;
|
||||||
} */
|
box-shadow: 0 0 10px #222;
|
||||||
|
border: 1px solid #000
|
||||||
|
|
||||||
.mm-handdraw-theme {
|
|
||||||
font-family: 'myFont';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.mm-app-container {
|
.mm-app-container {
|
||||||
@@ -1223,7 +1236,7 @@ th {
|
|||||||
right: 0;
|
right: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
font-family: Helvetica, Tahoma, Arial, "PingFang SC", STXihei, "Microsoft yahei", "WenQuanYi Micro Hei", sans-serif;
|
/* font-family: Helvetica, Tahoma, Arial, "PingFang SC", STXihei, "Microsoft yahei", "WenQuanYi Micro Hei", sans-serif; */
|
||||||
}
|
}
|
||||||
|
|
||||||
.mm-mindmap-container {
|
.mm-mindmap-container {
|
||||||
@@ -1304,9 +1317,6 @@ th {
|
|||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mm-node .mm-node-edit {
|
|
||||||
max-width: 450px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.mm-node .mm-node-content img {
|
.mm-node .mm-node-content img {
|
||||||
min-width: 50px;
|
min-width: 50px;
|
||||||
@@ -3479,4 +3489,16 @@ span.mm-sline .line {
|
|||||||
.mm-node-text-input,
|
.mm-node-text-input,
|
||||||
.mm-node-stroke-input {
|
.mm-node-stroke-input {
|
||||||
border: 0 !important;
|
border: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.mm-node-image-embed {
|
||||||
|
position: relative;
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mm-node-image-control {
|
||||||
|
position: absolute;
|
||||||
|
right: -14px;
|
||||||
|
top: -2px;
|
||||||
}
|
}
|
||||||
+100
-94
File diff suppressed because one or more lines are too long
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"id": "obsidian-meta-bind-plugin",
|
"id": "obsidian-meta-bind-plugin",
|
||||||
"name": "Meta Bind",
|
"name": "Meta Bind",
|
||||||
"version": "1.1.3",
|
"version": "1.2.5",
|
||||||
"minAppVersion": "1.4.0",
|
"minAppVersion": "1.4.0",
|
||||||
"description": "Make your notes interactive with inline input fields, metadata displays, and buttons.",
|
"description": "Make your notes interactive with inline input fields, metadata displays, and buttons.",
|
||||||
"author": "Moritz Jung",
|
"author": "Moritz Jung",
|
||||||
|
|||||||
+189
-3
@@ -97,6 +97,24 @@ div.mb-view-wrapper {
|
|||||||
|
|
||||||
.mb-button-inner {
|
.mb-button-inner {
|
||||||
vertical-align: bottom;
|
vertical-align: bottom;
|
||||||
|
/* Add a gap between text and icons. */
|
||||||
|
gap: var(--size-4-1);
|
||||||
|
|
||||||
|
&.mod-plain {
|
||||||
|
background: none;
|
||||||
|
box-shadow: none;
|
||||||
|
border: none;
|
||||||
|
|
||||||
|
color: var(--text-muted);
|
||||||
|
}
|
||||||
|
|
||||||
|
&.mod-plain:hover {
|
||||||
|
color: var(--text-normal);
|
||||||
|
}
|
||||||
|
|
||||||
|
&.disabled {
|
||||||
|
opacity: 0.6;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Toggle Input */
|
/* Toggle Input */
|
||||||
@@ -345,6 +363,35 @@ div.mb-view-wrapper {
|
|||||||
resize: vertical;
|
resize: vertical;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* editor */
|
||||||
|
|
||||||
|
.mb-editor-input {
|
||||||
|
background: var(--background-secondary);
|
||||||
|
width: 100%;
|
||||||
|
height: 500px;
|
||||||
|
padding: 0;
|
||||||
|
position: relative;
|
||||||
|
margin-left: 0;
|
||||||
|
overflow: scroll;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mb-editor-input > textarea {
|
||||||
|
background: var(--background-secondary);
|
||||||
|
border: none;
|
||||||
|
padding: var(--size-4-4) var(--size-4-8);
|
||||||
|
margin: 0;
|
||||||
|
position: absolute;
|
||||||
|
inset: 0;
|
||||||
|
resize: none;
|
||||||
|
border-radius: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mb-editor-input > div {
|
||||||
|
padding: var(--size-4-4) var(--size-4-8);
|
||||||
|
position: absolute;
|
||||||
|
inset: 0;
|
||||||
|
}
|
||||||
|
|
||||||
/* Card */
|
/* Card */
|
||||||
.mb-card {
|
.mb-card {
|
||||||
padding: var(--size-4-2);
|
padding: var(--size-4-2);
|
||||||
@@ -465,7 +512,7 @@ div.mb-view-wrapper {
|
|||||||
|
|
||||||
/* Date Picker Input */
|
/* Date Picker Input */
|
||||||
|
|
||||||
.date-picker-input {
|
.mb-date-picker-input {
|
||||||
background: var(--background-modifier-form-field);
|
background: var(--background-modifier-form-field);
|
||||||
border: var(--mb-border-width) solid var(--background-modifier-border);
|
border: var(--mb-border-width) solid var(--background-modifier-border);
|
||||||
color: var(--text-normal);
|
color: var(--text-normal);
|
||||||
@@ -491,10 +538,118 @@ div.mb-view-wrapper {
|
|||||||
&:focus-visible {
|
&:focus-visible {
|
||||||
box-shadow: 0 0 0 2px var(--background-modifier-border-focus);
|
box-shadow: 0 0 0 2px var(--background-modifier-border-focus);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
& > .mb-date-picker-text {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.date-picker-text {
|
.mb-date-picker {
|
||||||
display: inline-block;
|
display: block;
|
||||||
|
padding: var(--size-4-4);
|
||||||
|
}
|
||||||
|
|
||||||
|
.mb-date-picker-header {
|
||||||
|
display: flex;
|
||||||
|
gap: var(--size-4-2);
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-around;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mb-date-picker-header-text {
|
||||||
|
flex: 1;
|
||||||
|
text-align: center;
|
||||||
|
display: flex;
|
||||||
|
gap: var(--size-4-2);
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
width: min-content;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mb-date-picker-header-text-year {
|
||||||
|
width: 60px;
|
||||||
|
padding: var(--size-4-2);
|
||||||
|
}
|
||||||
|
|
||||||
|
.mb-date-picker-header-text-month {
|
||||||
|
height: min-content;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mb-date-picker-month-switch-button {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mb-date-picker-util-button {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mb-date-picker-footer {
|
||||||
|
display: flex;
|
||||||
|
gap: var(--size-4-2);
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mb-calendar {
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mb-calendar-header {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-around;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
gap: var(--size-4-1);
|
||||||
|
background: var(--background-secondary);
|
||||||
|
border-radius: var(--mb-border-radius);
|
||||||
|
margin-bottom: var(--size-4-1);
|
||||||
|
}
|
||||||
|
|
||||||
|
.mb-calendar-content {
|
||||||
|
display: grid;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
grid-template-columns: repeat(7, 1fr);
|
||||||
|
gap: var(--size-4-1);
|
||||||
|
}
|
||||||
|
|
||||||
|
.mb-calendar-cell {
|
||||||
|
min-width: 40px;
|
||||||
|
padding: var(--size-4-2);
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
border-radius: var(--mb-border-radius);
|
||||||
|
}
|
||||||
|
|
||||||
|
.mb-calendar-content-cell {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mb-calendar-cell-text {
|
||||||
|
margin: auto;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mb-calendar-cell.mb-calendar-selected {
|
||||||
|
background: var(--interactive-accent);
|
||||||
|
color: var(--text-on-accent);
|
||||||
|
}
|
||||||
|
|
||||||
|
.mb-calendar-cell.mb-calendar-highlight:hover {
|
||||||
|
background: var(--interactive-hover);
|
||||||
|
}
|
||||||
|
|
||||||
|
.mb-calendar-cell.mb-calendar-selected.mb-calendar-highlight:hover {
|
||||||
|
background: var(--interactive-accent-hover);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Embed */
|
||||||
|
|
||||||
|
.mb-embed > .mb-embed-message {
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
text-align: center;
|
||||||
|
color: var(--text-muted);
|
||||||
|
font-size: var(--font-smaller);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Error */
|
/* Error */
|
||||||
@@ -585,6 +740,24 @@ code.mb-warning {
|
|||||||
|
|
||||||
/* --- Misc --- */
|
/* --- Misc --- */
|
||||||
|
|
||||||
|
.mb-whitespace-pre {
|
||||||
|
white-space: pre;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mb-excluded-folders-table-input-cell {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mb-excluded-folders-table-input-cell > input {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mb-textarea {
|
||||||
|
width: 100%;
|
||||||
|
height: 100px;
|
||||||
|
resize: vertical;
|
||||||
|
}
|
||||||
|
|
||||||
.mb-icon-wrapper {
|
.mb-icon-wrapper {
|
||||||
display: block;
|
display: block;
|
||||||
position: relative;
|
position: relative;
|
||||||
@@ -668,6 +841,19 @@ th.mb-html-table-button-cell {
|
|||||||
resize: vertical;
|
resize: vertical;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.setting-item.mb-vertical {
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: flex-start;
|
||||||
|
gap: var(--size-4-1);
|
||||||
|
}
|
||||||
|
|
||||||
|
div.setting-item > div.setting-item-control.mb-vertical-control {
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: flex-start;
|
||||||
|
gap: var(--size-4-1);
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
/* --- HIGHLIGHTING CLASSES --- */
|
/* --- HIGHLIGHTING CLASSES --- */
|
||||||
.mb-highlight-test {
|
.mb-highlight-test {
|
||||||
color: #00bfbc;
|
color: #00bfbc;
|
||||||
|
|||||||
+1
-1
@@ -8,7 +8,7 @@
|
|||||||
"lineWidth": 40,
|
"lineWidth": 40,
|
||||||
"lineWidthWide": 50,
|
"lineWidthWide": 50,
|
||||||
"maxWidth": 98,
|
"maxWidth": 98,
|
||||||
"textNormal": 33,
|
"textNormal": 28,
|
||||||
"textSmall": 18,
|
"textSmall": 18,
|
||||||
"imgGrid": false,
|
"imgGrid": false,
|
||||||
"imgWidth": "img-default-width",
|
"imgWidth": "img-default-width",
|
||||||
|
|||||||
+323
-231
@@ -4013,11 +4013,11 @@ var RequestError = class extends Error {
|
|||||||
* Response object if a response was received
|
* Response object if a response was received
|
||||||
*/
|
*/
|
||||||
__publicField(this, "response");
|
__publicField(this, "response");
|
||||||
if (Error.captureStackTrace) {
|
|
||||||
Error.captureStackTrace(this, this.constructor);
|
|
||||||
}
|
|
||||||
this.name = "HttpError";
|
this.name = "HttpError";
|
||||||
this.status = statusCode;
|
this.status = Number.parseInt(statusCode);
|
||||||
|
if (Number.isNaN(this.status)) {
|
||||||
|
this.status = 0;
|
||||||
|
}
|
||||||
if ("response" in options2) {
|
if ("response" in options2) {
|
||||||
this.response = options2.response;
|
this.response = options2.response;
|
||||||
}
|
}
|
||||||
@@ -4037,129 +4037,115 @@ var RequestError = class extends Error {
|
|||||||
|
|
||||||
// node_modules/@octokit/rest/node_modules/@octokit/request/dist-bundle/index.js
|
// node_modules/@octokit/rest/node_modules/@octokit/request/dist-bundle/index.js
|
||||||
var VERSION2 = "0.0.0-development";
|
var VERSION2 = "0.0.0-development";
|
||||||
|
var defaults_default = {
|
||||||
|
headers: {
|
||||||
|
"user-agent": `octokit-request.js/${VERSION2} ${getUserAgent()}`
|
||||||
|
}
|
||||||
|
};
|
||||||
function isPlainObject2(value) {
|
function isPlainObject2(value) {
|
||||||
if (typeof value !== "object" || value === null)
|
if (typeof value !== "object" || value === null) return false;
|
||||||
return false;
|
if (Object.prototype.toString.call(value) !== "[object Object]") return false;
|
||||||
if (Object.prototype.toString.call(value) !== "[object Object]")
|
|
||||||
return false;
|
|
||||||
const proto = Object.getPrototypeOf(value);
|
const proto = Object.getPrototypeOf(value);
|
||||||
if (proto === null)
|
if (proto === null) return true;
|
||||||
return true;
|
|
||||||
const Ctor = Object.prototype.hasOwnProperty.call(proto, "constructor") && proto.constructor;
|
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);
|
return typeof Ctor === "function" && Ctor instanceof Ctor && Function.prototype.call(Ctor) === Function.prototype.call(value);
|
||||||
}
|
}
|
||||||
function getBufferResponse(response) {
|
|
||||||
return response.arrayBuffer();
|
|
||||||
}
|
|
||||||
function fetchWrapper(requestOptions) {
|
function fetchWrapper(requestOptions) {
|
||||||
var _a, _b, _c, _d;
|
return __async(this, null, function* () {
|
||||||
const log = requestOptions.request && requestOptions.request.log ? requestOptions.request.log : console;
|
var _a, _b, _c, _d, _e;
|
||||||
const parseSuccessResponseBody = ((_a = requestOptions.request) == null ? void 0 : _a.parseSuccessResponseBody) !== false;
|
const fetch = ((_a = requestOptions.request) == null ? void 0 : _a.fetch) || globalThis.fetch;
|
||||||
if (isPlainObject2(requestOptions.body) || Array.isArray(requestOptions.body)) {
|
if (!fetch) {
|
||||||
requestOptions.body = JSON.stringify(requestOptions.body);
|
throw new Error(
|
||||||
}
|
"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"
|
||||||
let headers = {};
|
);
|
||||||
let status;
|
}
|
||||||
let url;
|
const log = ((_b = requestOptions.request) == null ? void 0 : _b.log) || console;
|
||||||
let { fetch } = globalThis;
|
const parseSuccessResponseBody = ((_c = requestOptions.request) == null ? void 0 : _c.parseSuccessResponseBody) !== false;
|
||||||
if ((_b = requestOptions.request) == null ? void 0 : _b.fetch) {
|
const body = isPlainObject2(requestOptions.body) || Array.isArray(requestOptions.body) ? JSON.stringify(requestOptions.body) : requestOptions.body;
|
||||||
fetch = requestOptions.request.fetch;
|
const requestHeaders = Object.fromEntries(
|
||||||
}
|
|
||||||
if (!fetch) {
|
|
||||||
throw new Error(
|
|
||||||
"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,
|
|
||||||
redirect: (_c = requestOptions.request) == null ? void 0 : _c.redirect,
|
|
||||||
// Header values must be `string`
|
|
||||||
headers: Object.fromEntries(
|
|
||||||
Object.entries(requestOptions.headers).map(([name, value]) => [
|
Object.entries(requestOptions.headers).map(([name, value]) => [
|
||||||
name,
|
name,
|
||||||
String(value)
|
String(value)
|
||||||
])
|
])
|
||||||
),
|
);
|
||||||
signal: (_d = requestOptions.request) == null ? void 0 : _d.signal
|
let fetchResponse;
|
||||||
}, requestOptions.body && { duplex: "half" })).then((response) => __async(this, null, function* () {
|
try {
|
||||||
url = response.url;
|
fetchResponse = yield fetch(requestOptions.url, __spreadValues({
|
||||||
status = response.status;
|
method: requestOptions.method,
|
||||||
for (const keyAndValue of response.headers) {
|
body,
|
||||||
headers[keyAndValue[0]] = keyAndValue[1];
|
redirect: (_d = requestOptions.request) == null ? void 0 : _d.redirect,
|
||||||
|
headers: requestHeaders,
|
||||||
|
signal: (_e = requestOptions.request) == null ? void 0 : _e.signal
|
||||||
|
}, requestOptions.body && { duplex: "half" }));
|
||||||
|
} catch (error) {
|
||||||
|
let message = "Unknown Error";
|
||||||
|
if (error instanceof Error) {
|
||||||
|
if (error.name === "AbortError") {
|
||||||
|
error.status = 500;
|
||||||
|
throw error;
|
||||||
|
}
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
const requestError = new RequestError(message, 500, {
|
||||||
|
request: requestOptions
|
||||||
|
});
|
||||||
|
requestError.cause = error;
|
||||||
|
throw requestError;
|
||||||
}
|
}
|
||||||
if ("deprecation" in headers) {
|
const status = fetchResponse.status;
|
||||||
const matches = headers.link && headers.link.match(/<([^>]+)>; rel="deprecation"/);
|
const url = fetchResponse.url;
|
||||||
|
const responseHeaders = {};
|
||||||
|
for (const [key, value] of fetchResponse.headers) {
|
||||||
|
responseHeaders[key] = value;
|
||||||
|
}
|
||||||
|
const octokitResponse = {
|
||||||
|
url,
|
||||||
|
status,
|
||||||
|
headers: responseHeaders,
|
||||||
|
data: ""
|
||||||
|
};
|
||||||
|
if ("deprecation" in responseHeaders) {
|
||||||
|
const matches = responseHeaders.link && responseHeaders.link.match(/<([^>]+)>; rel="deprecation"/);
|
||||||
const deprecationLink = matches && matches.pop();
|
const deprecationLink = matches && matches.pop();
|
||||||
log.warn(
|
log.warn(
|
||||||
`[@octokit/request] "${requestOptions.method} ${requestOptions.url}" is deprecated. It is scheduled to be removed on ${headers.sunset}${deprecationLink ? `. See ${deprecationLink}` : ""}`
|
`[@octokit/request] "${requestOptions.method} ${requestOptions.url}" is deprecated. It is scheduled to be removed on ${responseHeaders.sunset}${deprecationLink ? `. See ${deprecationLink}` : ""}`
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
if (status === 204 || status === 205) {
|
if (status === 204 || status === 205) {
|
||||||
return;
|
return octokitResponse;
|
||||||
}
|
}
|
||||||
if (requestOptions.method === "HEAD") {
|
if (requestOptions.method === "HEAD") {
|
||||||
if (status < 400) {
|
if (status < 400) {
|
||||||
return;
|
return octokitResponse;
|
||||||
}
|
}
|
||||||
throw new RequestError(response.statusText, status, {
|
throw new RequestError(fetchResponse.statusText, status, {
|
||||||
response: {
|
response: octokitResponse,
|
||||||
url,
|
|
||||||
status,
|
|
||||||
headers,
|
|
||||||
data: void 0
|
|
||||||
},
|
|
||||||
request: requestOptions
|
request: requestOptions
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (status === 304) {
|
if (status === 304) {
|
||||||
|
octokitResponse.data = yield getResponseData(fetchResponse);
|
||||||
throw new RequestError("Not modified", status, {
|
throw new RequestError("Not modified", status, {
|
||||||
response: {
|
response: octokitResponse,
|
||||||
url,
|
|
||||||
status,
|
|
||||||
headers,
|
|
||||||
data: yield getResponseData(response)
|
|
||||||
},
|
|
||||||
request: requestOptions
|
request: requestOptions
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (status >= 400) {
|
if (status >= 400) {
|
||||||
const data = yield getResponseData(response);
|
octokitResponse.data = yield getResponseData(fetchResponse);
|
||||||
const error = new RequestError(toErrorMessage(data), status, {
|
throw new RequestError(toErrorMessage(octokitResponse.data), status, {
|
||||||
response: {
|
response: octokitResponse,
|
||||||
url,
|
|
||||||
status,
|
|
||||||
headers,
|
|
||||||
data
|
|
||||||
},
|
|
||||||
request: requestOptions
|
request: requestOptions
|
||||||
});
|
});
|
||||||
throw error;
|
|
||||||
}
|
}
|
||||||
return parseSuccessResponseBody ? yield getResponseData(response) : response.body;
|
octokitResponse.data = parseSuccessResponseBody ? yield getResponseData(fetchResponse) : fetchResponse.body;
|
||||||
})).then((data) => {
|
return octokitResponse;
|
||||||
return {
|
|
||||||
status,
|
|
||||||
url,
|
|
||||||
headers,
|
|
||||||
data
|
|
||||||
};
|
|
||||||
}).catch((error) => {
|
|
||||||
if (error instanceof RequestError)
|
|
||||||
throw error;
|
|
||||||
else if (error.name === "AbortError")
|
|
||||||
throw error;
|
|
||||||
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
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
function getResponseData(response) {
|
function getResponseData(response) {
|
||||||
@@ -4171,23 +4157,19 @@ function getResponseData(response) {
|
|||||||
if (!contentType || /^text\/|charset=utf-8$/.test(contentType)) {
|
if (!contentType || /^text\/|charset=utf-8$/.test(contentType)) {
|
||||||
return response.text();
|
return response.text();
|
||||||
}
|
}
|
||||||
return getBufferResponse(response);
|
return response.arrayBuffer();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
function toErrorMessage(data) {
|
function toErrorMessage(data) {
|
||||||
if (typeof data === "string")
|
if (typeof data === "string") {
|
||||||
return data;
|
return data;
|
||||||
let suffix;
|
}
|
||||||
if ("documentation_url" in data) {
|
if (data instanceof ArrayBuffer) {
|
||||||
suffix = ` - ${data.documentation_url}`;
|
return "Unknown error";
|
||||||
} else {
|
|
||||||
suffix = "";
|
|
||||||
}
|
}
|
||||||
if ("message" in data) {
|
if ("message" in data) {
|
||||||
if (Array.isArray(data.errors)) {
|
const suffix = "documentation_url" in data ? ` - ${data.documentation_url}` : "";
|
||||||
return `${data.message}: ${data.errors.map(JSON.stringify).join(", ")}${suffix}`;
|
return Array.isArray(data.errors) ? `${data.message}: ${data.errors.map((v) => JSON.stringify(v)).join(", ")}${suffix}` : `${data.message}${suffix}`;
|
||||||
}
|
|
||||||
return `${data.message}${suffix}`;
|
|
||||||
}
|
}
|
||||||
return `Unknown error: ${JSON.stringify(data)}`;
|
return `Unknown error: ${JSON.stringify(data)}`;
|
||||||
}
|
}
|
||||||
@@ -4214,11 +4196,7 @@ function withDefaults2(oldEndpoint, newDefaults) {
|
|||||||
defaults: withDefaults2.bind(null, endpoint2)
|
defaults: withDefaults2.bind(null, endpoint2)
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
var request = withDefaults2(endpoint, {
|
var request = withDefaults2(endpoint, defaults_default);
|
||||||
headers: {
|
|
||||||
"user-agent": `octokit-request.js/${VERSION2} ${getUserAgent()}`
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
// node_modules/@octokit/rest/node_modules/@octokit/graphql/dist-bundle/index.js
|
// node_modules/@octokit/rest/node_modules/@octokit/graphql/dist-bundle/index.js
|
||||||
var VERSION3 = "0.0.0-development";
|
var VERSION3 = "0.0.0-development";
|
||||||
@@ -4508,7 +4486,7 @@ __publicField(Octokit, "VERSION", VERSION4);
|
|||||||
__publicField(Octokit, "plugins", []);
|
__publicField(Octokit, "plugins", []);
|
||||||
|
|
||||||
// node_modules/@octokit/rest/node_modules/@octokit/plugin-request-log/dist-src/version.js
|
// node_modules/@octokit/rest/node_modules/@octokit/plugin-request-log/dist-src/version.js
|
||||||
var VERSION5 = "5.3.0";
|
var VERSION5 = "5.3.1";
|
||||||
|
|
||||||
// node_modules/@octokit/rest/node_modules/@octokit/plugin-request-log/dist-src/index.js
|
// node_modules/@octokit/rest/node_modules/@octokit/plugin-request-log/dist-src/index.js
|
||||||
function requestLog(octokit) {
|
function requestLog(octokit) {
|
||||||
@@ -4524,7 +4502,8 @@ function requestLog(octokit) {
|
|||||||
);
|
);
|
||||||
return response;
|
return response;
|
||||||
}).catch((error) => {
|
}).catch((error) => {
|
||||||
const requestId = error.response.headers["x-github-request-id"] || "UNKNOWN";
|
var _a;
|
||||||
|
const requestId = ((_a = error.response) == null ? void 0 : _a.headers["x-github-request-id"]) || "UNKNOWN";
|
||||||
octokit.log.error(
|
octokit.log.error(
|
||||||
`${requestOptions.method} ${path} - ${error.status} with id ${requestId} in ${Date.now() - start}ms`
|
`${requestOptions.method} ${path} - ${error.status} with id ${requestId} in ${Date.now() - start}ms`
|
||||||
);
|
);
|
||||||
@@ -6719,7 +6698,7 @@ function legacyRestEndpointMethods(octokit) {
|
|||||||
legacyRestEndpointMethods.VERSION = VERSION7;
|
legacyRestEndpointMethods.VERSION = VERSION7;
|
||||||
|
|
||||||
// node_modules/@octokit/rest/dist-src/version.js
|
// node_modules/@octokit/rest/dist-src/version.js
|
||||||
var VERSION8 = "21.0.0";
|
var VERSION8 = "21.0.1";
|
||||||
|
|
||||||
// node_modules/@octokit/rest/dist-src/index.js
|
// node_modules/@octokit/rest/dist-src/index.js
|
||||||
var Octokit2 = Octokit.plugin(requestLog, legacyRestEndpointMethods, paginateRest).defaults(
|
var Octokit2 = Octokit.plugin(requestLog, legacyRestEndpointMethods, paginateRest).defaults(
|
||||||
@@ -6728,12 +6707,85 @@ var Octokit2 = Octokit.plugin(requestLog, legacyRestEndpointMethods, paginateRes
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// src/shared-gists.ts
|
||||||
|
var import_gray_matter = __toESM(require_gray_matter());
|
||||||
|
var getBaseUrlForSharedGist = (sharedGist) => sharedGist.baseUrl || DOTCOM_BASE_URL;
|
||||||
|
var getTargetForSharedGist = (sharedGist) => getBaseUrlForSharedGist(sharedGist) === DOTCOM_BASE_URL ? "dotcom" /* Dotcom */ : "github_enterprise_server" /* GitHubEnterpriseServer */;
|
||||||
|
var getSharedGistsForFile = (fileContents, target) => {
|
||||||
|
const { data } = (0, import_gray_matter.default)(fileContents);
|
||||||
|
const gists = data.gists || [];
|
||||||
|
return gists.filter((gist) => {
|
||||||
|
if (typeof target === "undefined") {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
return getTargetForSharedGist(gist) === target;
|
||||||
|
});
|
||||||
|
};
|
||||||
|
var upsertSharedGistForFile = (sharedGist, fileContents) => {
|
||||||
|
const { data, content } = (0, import_gray_matter.default)(fileContents);
|
||||||
|
const existingSharedGists = data.gists || [];
|
||||||
|
const matchingGist = existingSharedGists.find(
|
||||||
|
(existingSharedGist) => existingSharedGist.id === sharedGist.id
|
||||||
|
);
|
||||||
|
if (matchingGist) {
|
||||||
|
const otherGists = existingSharedGists.filter(
|
||||||
|
(existingSharedGist) => existingSharedGist !== matchingGist
|
||||||
|
);
|
||||||
|
const gists = [...otherGists, sharedGist];
|
||||||
|
const updatedData = __spreadProps(__spreadValues({}, data), { gists });
|
||||||
|
return import_gray_matter.default.stringify(content, updatedData);
|
||||||
|
} else {
|
||||||
|
const gists = [...existingSharedGists, sharedGist];
|
||||||
|
const updatedData = __spreadProps(__spreadValues({}, data), { gists });
|
||||||
|
return import_gray_matter.default.stringify(content, updatedData);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
// src/storage.ts
|
||||||
|
var DOTCOM_ACCESS_TOKEN_LOCAL_STORAGE_KEY = "share_as_gist_dotcom_access_token";
|
||||||
|
var GHES_BASE_URL_LOCAL_STORAGE_KEY = "share_as_gist_ghes_base_url";
|
||||||
|
var GHES_ACCESS_TOKEN_LOCAL_STORAGE_KEY = "share_as_gist_ghes_access_token";
|
||||||
|
var getDotcomAccessToken = () => localStorage.getItem(DOTCOM_ACCESS_TOKEN_LOCAL_STORAGE_KEY);
|
||||||
|
var setDotcomAccessToken = (accessToken) => localStorage.setItem(DOTCOM_ACCESS_TOKEN_LOCAL_STORAGE_KEY, accessToken);
|
||||||
|
var isDotcomEnabled = () => !!getDotcomAccessToken();
|
||||||
|
var getGhesBaseUrl = () => localStorage.getItem(GHES_BASE_URL_LOCAL_STORAGE_KEY);
|
||||||
|
var setGhesBaseUrl = (baseUrl) => localStorage.setItem(GHES_BASE_URL_LOCAL_STORAGE_KEY, baseUrl);
|
||||||
|
var getGhesAccessToken = () => localStorage.getItem(GHES_ACCESS_TOKEN_LOCAL_STORAGE_KEY);
|
||||||
|
var setGhesAccessToken = (accessToken) => localStorage.setItem(GHES_ACCESS_TOKEN_LOCAL_STORAGE_KEY, accessToken);
|
||||||
|
var isGhesEnabled = () => !!getGhesBaseUrl() && !!getGhesAccessToken();
|
||||||
|
var getTargetBaseUrl = (target) => {
|
||||||
|
switch (target) {
|
||||||
|
case "dotcom" /* Dotcom */:
|
||||||
|
return DOTCOM_BASE_URL;
|
||||||
|
case "github_enterprise_server" /* GitHubEnterpriseServer */:
|
||||||
|
return getGhesBaseUrl();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
var getAccessTokenForBaseUrl = (baseUrl) => {
|
||||||
|
if (baseUrl === DOTCOM_BASE_URL) {
|
||||||
|
return getDotcomAccessToken();
|
||||||
|
} else {
|
||||||
|
return getGhesAccessToken();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
// src/gists.ts
|
// src/gists.ts
|
||||||
|
var DOTCOM_BASE_URL = "https://api.github.com";
|
||||||
var updateGist = (opts) => __async(void 0, null, function* () {
|
var updateGist = (opts) => __async(void 0, null, function* () {
|
||||||
const { accessToken, sharedGist, content } = opts;
|
const { sharedGist, content } = opts;
|
||||||
|
const baseUrl = getBaseUrlForSharedGist(sharedGist);
|
||||||
|
const accessToken = getAccessTokenForBaseUrl(baseUrl);
|
||||||
|
if (!accessToken) {
|
||||||
|
return {
|
||||||
|
status: "failed" /* Failed */,
|
||||||
|
sharedGist,
|
||||||
|
errorMessage: `No access token found for the ${baseUrl} target.`
|
||||||
|
};
|
||||||
|
}
|
||||||
try {
|
try {
|
||||||
const octokit = new Octokit2({
|
const octokit = new Octokit2({
|
||||||
auth: accessToken
|
auth: accessToken,
|
||||||
|
baseUrl
|
||||||
});
|
});
|
||||||
const response = yield octokit.rest.gists.update({
|
const response = yield octokit.rest.gists.update({
|
||||||
gist_id: sharedGist.id,
|
gist_id: sharedGist.id,
|
||||||
@@ -6756,9 +6808,12 @@ var updateGist = (opts) => __async(void 0, null, function* () {
|
|||||||
});
|
});
|
||||||
var createGist = (opts) => __async(void 0, null, function* () {
|
var createGist = (opts) => __async(void 0, null, function* () {
|
||||||
try {
|
try {
|
||||||
const { accessToken, content, description, filename, isPublic } = opts;
|
const { content, description, filename, isPublic, target } = opts;
|
||||||
|
const baseUrl = getTargetBaseUrl(target);
|
||||||
|
const accessToken = getAccessTokenForBaseUrl(baseUrl);
|
||||||
const octokit = new Octokit2({
|
const octokit = new Octokit2({
|
||||||
auth: accessToken
|
auth: accessToken,
|
||||||
|
baseUrl
|
||||||
});
|
});
|
||||||
const response = yield octokit.rest.gists.create({
|
const response = yield octokit.rest.gists.create({
|
||||||
description: description || filename,
|
description: description || filename,
|
||||||
@@ -6775,7 +6830,8 @@ var createGist = (opts) => __async(void 0, null, function* () {
|
|||||||
createdAt: response.data.created_at,
|
createdAt: response.data.created_at,
|
||||||
updatedAt: response.data.updated_at,
|
updatedAt: response.data.updated_at,
|
||||||
filename,
|
filename,
|
||||||
isPublic
|
isPublic,
|
||||||
|
baseUrl
|
||||||
},
|
},
|
||||||
errorMessage: null
|
errorMessage: null
|
||||||
};
|
};
|
||||||
@@ -6788,38 +6844,6 @@ var createGist = (opts) => __async(void 0, null, function* () {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// src/storage.ts
|
|
||||||
var ACCESS_TOKEN_LOCAL_STORAGE_KEY = "share_as_gist_dotcom_access_token";
|
|
||||||
var getAccessToken = () => localStorage.getItem(ACCESS_TOKEN_LOCAL_STORAGE_KEY);
|
|
||||||
var setAccessToken = (accessToken) => localStorage.setItem(ACCESS_TOKEN_LOCAL_STORAGE_KEY, accessToken);
|
|
||||||
|
|
||||||
// src/shared-gists.ts
|
|
||||||
var import_gray_matter = __toESM(require_gray_matter());
|
|
||||||
var getSharedGistsForFile = (fileContents) => {
|
|
||||||
const { data } = (0, import_gray_matter.default)(fileContents);
|
|
||||||
const gists = data.gists || [];
|
|
||||||
return gists;
|
|
||||||
};
|
|
||||||
var upsertSharedGistForFile = (sharedGist, fileContents) => {
|
|
||||||
const { data, content } = (0, import_gray_matter.default)(fileContents);
|
|
||||||
const existingSharedGists = data.gists || [];
|
|
||||||
const matchingGist = existingSharedGists.find(
|
|
||||||
(existingSharedGist) => existingSharedGist.id === sharedGist.id
|
|
||||||
);
|
|
||||||
if (matchingGist) {
|
|
||||||
const otherGists = existingSharedGists.filter(
|
|
||||||
(existingSharedGist) => existingSharedGist !== matchingGist
|
|
||||||
);
|
|
||||||
const gists = [...otherGists, sharedGist];
|
|
||||||
const updatedData = __spreadProps(__spreadValues({}, data), { gists });
|
|
||||||
return import_gray_matter.default.stringify(content, updatedData);
|
|
||||||
} else {
|
|
||||||
const gists = [...existingSharedGists, sharedGist];
|
|
||||||
const updatedData = __spreadProps(__spreadValues({}, data), { gists });
|
|
||||||
return import_gray_matter.default.stringify(content, updatedData);
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
// main.ts
|
// main.ts
|
||||||
var DEFAULT_SETTINGS = {
|
var DEFAULT_SETTINGS = {
|
||||||
includeFrontMatter: false,
|
includeFrontMatter: false,
|
||||||
@@ -6834,12 +6858,6 @@ var getLatestSettings = (plugin) => __async(void 0, null, function* () {
|
|||||||
var stripFrontMatter = (content) => (0, import_gray_matter2.default)(content).content;
|
var stripFrontMatter = (content) => (0, import_gray_matter2.default)(content).content;
|
||||||
var copyGistUrlEditorCallback = (opts) => () => __async(void 0, null, function* () {
|
var copyGistUrlEditorCallback = (opts) => () => __async(void 0, null, function* () {
|
||||||
const { app, plugin } = opts;
|
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);
|
const view = app.workspace.getActiveViewOfType(import_obsidian.MarkdownView);
|
||||||
if (!view) {
|
if (!view) {
|
||||||
return new import_obsidian.Notice("No active file");
|
return new import_obsidian.Notice("No active file");
|
||||||
@@ -6848,9 +6866,16 @@ var copyGistUrlEditorCallback = (opts) => () => __async(void 0, null, function*
|
|||||||
const originalContent = editor.getValue();
|
const originalContent = editor.getValue();
|
||||||
const existingSharedGists = getSharedGistsForFile(originalContent);
|
const existingSharedGists = getSharedGistsForFile(originalContent);
|
||||||
if (existingSharedGists.length === 0) {
|
if (existingSharedGists.length === 0) {
|
||||||
return new import_obsidian.Notice(
|
const { enableUpdatingGistsAfterCreation } = yield getLatestSettings(plugin);
|
||||||
"You must share this note as a gist before you can copy its URL to the clipboard."
|
if (!enableUpdatingGistsAfterCreation) {
|
||||||
);
|
return new import_obsidian.Notice(
|
||||||
|
"You need to enable 'Update gists after creation' in Settings to use this command."
|
||||||
|
);
|
||||||
|
} else {
|
||||||
|
return new import_obsidian.Notice(
|
||||||
|
"You must share this note as a gist before you can copy its URL to the clipboard."
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (existingSharedGists.length > 1) {
|
if (existingSharedGists.length > 1) {
|
||||||
new SelectExistingGistModal(
|
new SelectExistingGistModal(
|
||||||
@@ -6870,12 +6895,6 @@ var copyGistUrlEditorCallback = (opts) => () => __async(void 0, null, function*
|
|||||||
});
|
});
|
||||||
var openGistEditorCallback = (opts) => () => __async(void 0, null, function* () {
|
var openGistEditorCallback = (opts) => () => __async(void 0, null, function* () {
|
||||||
const { app, plugin } = opts;
|
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);
|
const view = app.workspace.getActiveViewOfType(import_obsidian.MarkdownView);
|
||||||
if (!view) {
|
if (!view) {
|
||||||
return new import_obsidian.Notice("No active file");
|
return new import_obsidian.Notice("No active file");
|
||||||
@@ -6884,9 +6903,16 @@ var openGistEditorCallback = (opts) => () => __async(void 0, null, function* ()
|
|||||||
const originalContent = editor.getValue();
|
const originalContent = editor.getValue();
|
||||||
const existingSharedGists = getSharedGistsForFile(originalContent);
|
const existingSharedGists = getSharedGistsForFile(originalContent);
|
||||||
if (existingSharedGists.length === 0) {
|
if (existingSharedGists.length === 0) {
|
||||||
return new import_obsidian.Notice(
|
const { enableUpdatingGistsAfterCreation } = yield getLatestSettings(plugin);
|
||||||
"You must share this note as a gist before you can open its gist."
|
if (!enableUpdatingGistsAfterCreation) {
|
||||||
);
|
return new import_obsidian.Notice(
|
||||||
|
"You need to enable 'Update gists after creation' in Settings to use this command."
|
||||||
|
);
|
||||||
|
} else {
|
||||||
|
return new import_obsidian.Notice(
|
||||||
|
"You must share this note as a gist before you can open its gist."
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (existingSharedGists.length > 1) {
|
if (existingSharedGists.length > 1) {
|
||||||
new SelectExistingGistModal(
|
new SelectExistingGistModal(
|
||||||
@@ -6903,14 +6929,8 @@ var openGistEditorCallback = (opts) => () => __async(void 0, null, function* ()
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
var shareGistEditorCallback = (opts) => () => __async(void 0, null, function* () {
|
var shareGistEditorCallback = (opts) => () => __async(void 0, null, function* () {
|
||||||
const { isPublic, app, plugin } = opts;
|
const { isPublic, app, plugin, target } = opts;
|
||||||
const accessToken = getAccessToken();
|
|
||||||
const { enableUpdatingGistsAfterCreation, includeFrontMatter } = yield getLatestSettings(plugin);
|
const { enableUpdatingGistsAfterCreation, includeFrontMatter } = yield getLatestSettings(plugin);
|
||||||
if (!accessToken) {
|
|
||||||
return new import_obsidian.Notice(
|
|
||||||
"You need to add your GitHub personal access token in Settings."
|
|
||||||
);
|
|
||||||
}
|
|
||||||
const view = app.workspace.getActiveViewOfType(import_obsidian.MarkdownView);
|
const view = app.workspace.getActiveViewOfType(import_obsidian.MarkdownView);
|
||||||
if (!view) {
|
if (!view) {
|
||||||
return new import_obsidian.Notice("No active file");
|
return new import_obsidian.Notice("No active file");
|
||||||
@@ -6918,9 +6938,10 @@ var shareGistEditorCallback = (opts) => () => __async(void 0, null, function* ()
|
|||||||
const editor = view.editor;
|
const editor = view.editor;
|
||||||
const originalContent = editor.getValue();
|
const originalContent = editor.getValue();
|
||||||
const filename = view.file.name;
|
const filename = view.file.name;
|
||||||
const existingSharedGists = getSharedGistsForFile(originalContent).filter(
|
const existingSharedGists = getSharedGistsForFile(
|
||||||
(sharedGist) => sharedGist.isPublic === isPublic
|
originalContent,
|
||||||
);
|
target
|
||||||
|
).filter((sharedGist) => sharedGist.isPublic === isPublic);
|
||||||
const gistContent = includeFrontMatter ? originalContent : stripFrontMatter(originalContent);
|
const gistContent = includeFrontMatter ? originalContent : stripFrontMatter(originalContent);
|
||||||
if (enableUpdatingGistsAfterCreation && existingSharedGists.length) {
|
if (enableUpdatingGistsAfterCreation && existingSharedGists.length) {
|
||||||
new SelectExistingGistModal(
|
new SelectExistingGistModal(
|
||||||
@@ -6931,7 +6952,6 @@ var shareGistEditorCallback = (opts) => () => __async(void 0, null, function* ()
|
|||||||
if (sharedGist) {
|
if (sharedGist) {
|
||||||
const result = yield updateGist({
|
const result = yield updateGist({
|
||||||
sharedGist,
|
sharedGist,
|
||||||
accessToken,
|
|
||||||
content: gistContent
|
content: gistContent
|
||||||
});
|
});
|
||||||
if (result.status === "succeeded" /* Succeeded */) {
|
if (result.status === "succeeded" /* Succeeded */) {
|
||||||
@@ -6945,12 +6965,12 @@ var shareGistEditorCallback = (opts) => () => __async(void 0, null, function* ()
|
|||||||
);
|
);
|
||||||
editor.setValue(updatedContent);
|
editor.setValue(updatedContent);
|
||||||
} else {
|
} else {
|
||||||
new import_obsidian.Notice(`GitHub API error: ${result.errorMessage}`);
|
new import_obsidian.Notice(`Error: ${result.errorMessage}`);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
new SetGistDescriptionModal(app, filename, (description) => __async(void 0, null, function* () {
|
new SetGistDescriptionModal(app, filename, (description) => __async(void 0, null, function* () {
|
||||||
const result = yield createGist({
|
const result = yield createGist({
|
||||||
accessToken,
|
target,
|
||||||
content: gistContent,
|
content: gistContent,
|
||||||
description,
|
description,
|
||||||
filename,
|
filename,
|
||||||
@@ -6967,7 +6987,7 @@ var shareGistEditorCallback = (opts) => () => __async(void 0, null, function* ()
|
|||||||
);
|
);
|
||||||
editor.setValue(updatedContent);
|
editor.setValue(updatedContent);
|
||||||
} else {
|
} else {
|
||||||
new import_obsidian.Notice(`GitHub API error: ${result.errorMessage}`);
|
new import_obsidian.Notice(`Error: ${result.errorMessage}`);
|
||||||
}
|
}
|
||||||
})).open();
|
})).open();
|
||||||
}
|
}
|
||||||
@@ -6976,7 +6996,7 @@ var shareGistEditorCallback = (opts) => () => __async(void 0, null, function* ()
|
|||||||
} else {
|
} else {
|
||||||
new SetGistDescriptionModal(app, filename, (description) => __async(void 0, null, function* () {
|
new SetGistDescriptionModal(app, filename, (description) => __async(void 0, null, function* () {
|
||||||
const result = yield createGist({
|
const result = yield createGist({
|
||||||
accessToken,
|
target,
|
||||||
content: gistContent,
|
content: gistContent,
|
||||||
description,
|
description,
|
||||||
filename,
|
filename,
|
||||||
@@ -7003,18 +7023,12 @@ var shareGistEditorCallback = (opts) => () => __async(void 0, null, function* ()
|
|||||||
});
|
});
|
||||||
var documentChangedAutoSaveCallback = (opts) => __async(void 0, null, function* () {
|
var documentChangedAutoSaveCallback = (opts) => __async(void 0, null, function* () {
|
||||||
const { plugin, file, content: rawContent } = opts;
|
const { plugin, file, content: rawContent } = opts;
|
||||||
const accessToken = getAccessToken();
|
|
||||||
const { includeFrontMatter, showAutoSaveNotice } = yield getLatestSettings(plugin);
|
const { includeFrontMatter, showAutoSaveNotice } = yield getLatestSettings(plugin);
|
||||||
if (!accessToken) {
|
|
||||||
return new import_obsidian.Notice(
|
|
||||||
"You need to add your GitHub personal access token in Settings."
|
|
||||||
);
|
|
||||||
}
|
|
||||||
const existingSharedGists = getSharedGistsForFile(rawContent);
|
const existingSharedGists = getSharedGistsForFile(rawContent);
|
||||||
const content = includeFrontMatter ? rawContent : stripFrontMatter(rawContent);
|
const content = includeFrontMatter ? rawContent : stripFrontMatter(rawContent);
|
||||||
if (existingSharedGists.length) {
|
if (existingSharedGists.length) {
|
||||||
for (const sharedGist of existingSharedGists) {
|
for (const sharedGist of existingSharedGists) {
|
||||||
const result = yield updateGist({ sharedGist, accessToken, content });
|
const result = yield updateGist({ sharedGist, content });
|
||||||
if (result.status === "succeeded" /* Succeeded */) {
|
if (result.status === "succeeded" /* Succeeded */) {
|
||||||
const updatedContent = upsertSharedGistForFile(
|
const updatedContent = upsertSharedGistForFile(
|
||||||
result.sharedGist,
|
result.sharedGist,
|
||||||
@@ -7022,56 +7036,107 @@ var documentChangedAutoSaveCallback = (opts) => __async(void 0, null, function*
|
|||||||
);
|
);
|
||||||
yield file.vault.adapter.write(file.path, updatedContent);
|
yield file.vault.adapter.write(file.path, updatedContent);
|
||||||
if (showAutoSaveNotice) {
|
if (showAutoSaveNotice) {
|
||||||
new import_obsidian.Notice("Gist updated");
|
return new import_obsidian.Notice("Gist updated");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
new import_obsidian.Notice(`GitHub API error: ${result.errorMessage}`);
|
return new import_obsidian.Notice(`Error: ${result.errorMessage}`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
var hasAtLeastOneSharedGist = (editor) => {
|
||||||
|
const originalContent = editor.getValue();
|
||||||
|
const existingSharedGists = getSharedGistsForFile(originalContent);
|
||||||
|
return existingSharedGists.length > 0;
|
||||||
|
};
|
||||||
var ShareAsGistPlugin = class extends import_obsidian.Plugin {
|
var ShareAsGistPlugin = class extends import_obsidian.Plugin {
|
||||||
onload() {
|
onload() {
|
||||||
return __async(this, null, function* () {
|
return __async(this, null, function* () {
|
||||||
yield this.loadSettings();
|
yield this.loadSettings();
|
||||||
this.addCommand({
|
this.registerCommands();
|
||||||
id: "share-as-public-dotcom-gist",
|
|
||||||
name: "Share as public gist on GitHub.com",
|
|
||||||
editorCallback: shareGistEditorCallback({
|
|
||||||
plugin: this,
|
|
||||||
app: this.app,
|
|
||||||
isPublic: true
|
|
||||||
})
|
|
||||||
});
|
|
||||||
this.addCommand({
|
|
||||||
id: "share-as-private-dotcom-gist",
|
|
||||||
name: "Share as private gist on GitHub.com",
|
|
||||||
callback: shareGistEditorCallback({
|
|
||||||
plugin: this,
|
|
||||||
app: this.app,
|
|
||||||
isPublic: false
|
|
||||||
})
|
|
||||||
});
|
|
||||||
this.addCommand({
|
|
||||||
id: "copy-gist-url",
|
|
||||||
name: "Copy GitHub.com gist URL",
|
|
||||||
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
|
|
||||||
})
|
|
||||||
});
|
|
||||||
this.addModifyCallback();
|
this.addModifyCallback();
|
||||||
this.addSettingTab(new ShareAsGistSettingTab(this.app, this));
|
this.addSettingTab(new ShareAsGistSettingTab(this.app, this));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
addEditorCommandWithCheck(opts) {
|
||||||
|
const { id, name, performCheck, callback } = opts;
|
||||||
|
this.addCommand({
|
||||||
|
id,
|
||||||
|
name,
|
||||||
|
editorCheckCallback: (checking, editor, ctx) => {
|
||||||
|
if (performCheck(editor, ctx)) {
|
||||||
|
if (checking) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
callback(editor, ctx);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
registerCommands() {
|
||||||
|
this.addEditorCommandWithCheck({
|
||||||
|
id: "share-as-private-dotcom-gist",
|
||||||
|
name: "Share as private gist on GitHub.com",
|
||||||
|
callback: shareGistEditorCallback({
|
||||||
|
plugin: this,
|
||||||
|
app: this.app,
|
||||||
|
isPublic: false,
|
||||||
|
target: "dotcom" /* Dotcom */
|
||||||
|
}),
|
||||||
|
performCheck: isDotcomEnabled
|
||||||
|
});
|
||||||
|
this.addEditorCommandWithCheck({
|
||||||
|
id: "share-as-public-dotcom-gist",
|
||||||
|
name: "Share as public gist on GitHub.com",
|
||||||
|
callback: shareGistEditorCallback({
|
||||||
|
plugin: this,
|
||||||
|
app: this.app,
|
||||||
|
isPublic: true,
|
||||||
|
target: "dotcom" /* Dotcom */
|
||||||
|
}),
|
||||||
|
performCheck: isDotcomEnabled
|
||||||
|
});
|
||||||
|
this.addEditorCommandWithCheck({
|
||||||
|
id: "share-as-private-ghes-gist",
|
||||||
|
name: "Share as private gist on GitHub Enterprise Server",
|
||||||
|
callback: shareGistEditorCallback({
|
||||||
|
plugin: this,
|
||||||
|
app: this.app,
|
||||||
|
isPublic: false,
|
||||||
|
target: "github_enterprise_server" /* GitHubEnterpriseServer */
|
||||||
|
}),
|
||||||
|
performCheck: isGhesEnabled
|
||||||
|
});
|
||||||
|
this.addEditorCommandWithCheck({
|
||||||
|
id: "share-as-public-ghes-gist",
|
||||||
|
name: "Share as public gist on GitHub Enterprise Server",
|
||||||
|
callback: shareGistEditorCallback({
|
||||||
|
plugin: this,
|
||||||
|
app: this.app,
|
||||||
|
isPublic: true,
|
||||||
|
target: "github_enterprise_server" /* GitHubEnterpriseServer */
|
||||||
|
}),
|
||||||
|
performCheck: isGhesEnabled
|
||||||
|
});
|
||||||
|
this.addEditorCommandWithCheck({
|
||||||
|
id: "copy-gist-url",
|
||||||
|
name: "Copy gist URL",
|
||||||
|
callback: copyGistUrlEditorCallback({
|
||||||
|
plugin: this,
|
||||||
|
app: this.app
|
||||||
|
}),
|
||||||
|
performCheck: hasAtLeastOneSharedGist
|
||||||
|
});
|
||||||
|
this.addEditorCommandWithCheck({
|
||||||
|
id: "open-gist-url",
|
||||||
|
name: "Open gist",
|
||||||
|
callback: openGistEditorCallback({
|
||||||
|
plugin: this,
|
||||||
|
app: this.app
|
||||||
|
}),
|
||||||
|
performCheck: hasAtLeastOneSharedGist
|
||||||
|
});
|
||||||
|
}
|
||||||
addModifyCallback() {
|
addModifyCallback() {
|
||||||
const previousContents = {};
|
const previousContents = {};
|
||||||
const debouncedCallbacks = {};
|
const debouncedCallbacks = {};
|
||||||
@@ -7130,8 +7195,9 @@ var SelectExistingGistModal = class extends import_obsidian.SuggestModal {
|
|||||||
if (sharedGist === null) {
|
if (sharedGist === null) {
|
||||||
el.createEl("div", { text: "Create new gist" });
|
el.createEl("div", { text: "Create new gist" });
|
||||||
} else {
|
} else {
|
||||||
|
const targetLabel = getTargetForSharedGist(sharedGist) === "dotcom" /* Dotcom */ ? "GitHub.com" : new URL(sharedGist.baseUrl).host;
|
||||||
el.createEl("div", {
|
el.createEl("div", {
|
||||||
text: sharedGist.isPublic ? "Public gist" : "Private gist"
|
text: (sharedGist.isPublic ? "Public gist" : "Private gist") + ` on ${targetLabel}`
|
||||||
});
|
});
|
||||||
el.createEl("small", { text: `Created at ${sharedGist.createdAt}` });
|
el.createEl("small", { text: `Created at ${sharedGist.createdAt}` });
|
||||||
}
|
}
|
||||||
@@ -7187,14 +7253,38 @@ var ShareAsGistSettingTab = class extends import_obsidian.PluginSettingTab {
|
|||||||
}
|
}
|
||||||
display() {
|
display() {
|
||||||
const { containerEl } = this;
|
const { containerEl } = this;
|
||||||
const accessToken = getAccessToken();
|
const dotcomAccessToken = getDotcomAccessToken();
|
||||||
|
const ghesBaseUrl = getGhesBaseUrl();
|
||||||
|
const ghesAccessToken = getGhesAccessToken();
|
||||||
containerEl.empty();
|
containerEl.empty();
|
||||||
containerEl.createEl("h2", { text: "Share as Gist" });
|
containerEl.createEl("h2", { text: "Share as Gist" });
|
||||||
new import_obsidian.Setting(containerEl).setName("GitHub.com personal access token").setDesc(
|
containerEl.createEl("h3", { text: "GitHub.com" });
|
||||||
|
new import_obsidian.Setting(containerEl).setName("Personal access token").setDesc(
|
||||||
'An access token for GitHub.com with permission to write gists. You can create one from "Settings" in your GitHub account.'
|
'An access token for GitHub.com with permission to write gists. You can create one from "Settings" in your GitHub account.'
|
||||||
).addText(
|
).addText(
|
||||||
(text) => text.setPlaceholder("Your personal access token").setValue(accessToken).onChange(setAccessToken)
|
(text) => text.setPlaceholder("Your personal access token").setValue(dotcomAccessToken).onChange((value) => __async(this, null, function* () {
|
||||||
|
setDotcomAccessToken(value);
|
||||||
|
yield this.plugin.saveSettings();
|
||||||
|
}))
|
||||||
);
|
);
|
||||||
|
containerEl.createEl("h3", { text: "GitHub Enterprise Server" });
|
||||||
|
new import_obsidian.Setting(containerEl).setName("Base URL").setDesc(
|
||||||
|
"The base URL for the GitHub REST API on your GitHub Enterprise Server instance. This usually ends with `/api/v3`."
|
||||||
|
).addText(
|
||||||
|
(text) => text.setPlaceholder("https://github.example.com/api/v3").setValue(ghesBaseUrl).onChange((value) => __async(this, null, function* () {
|
||||||
|
setGhesBaseUrl(value);
|
||||||
|
yield this.plugin.saveSettings();
|
||||||
|
}))
|
||||||
|
);
|
||||||
|
new import_obsidian.Setting(containerEl).setName("Personal access token").setDesc(
|
||||||
|
'An access token for your GitHub Enterprise Server instance with permission to write gists. You can create one from "Settings" in your GitHub account.'
|
||||||
|
).addText(
|
||||||
|
(text) => text.setPlaceholder("Your personal access token").setValue(ghesAccessToken).onChange((value) => __async(this, null, function* () {
|
||||||
|
setGhesAccessToken(value);
|
||||||
|
yield this.plugin.saveSettings();
|
||||||
|
}))
|
||||||
|
);
|
||||||
|
containerEl.createEl("h3", { text: "Advanced options" });
|
||||||
new import_obsidian.Setting(containerEl).setName("Enable updating gists after creation").setDesc(
|
new import_obsidian.Setting(containerEl).setName("Enable updating gists after creation").setDesc(
|
||||||
"Whether gists should be updateable through this plugin after creation. If this is turned on, when you create a gist, you will be able to choose to update an existing gist (if one exists) or create a brand new one. To make this possible, front matter will be added to your notes to track gists that you have created. If this is turned off, a brand new gist will always be created."
|
"Whether gists should be updateable through this plugin after creation. If this is turned on, when you create a gist, you will be able to choose to update an existing gist (if one exists) or create a brand new one. To make this possible, front matter will be added to your notes to track gists that you have created. If this is turned off, a brand new gist will always be created."
|
||||||
).addToggle(
|
).addToggle(
|
||||||
@@ -7243,3 +7333,5 @@ strip-bom-string/index.js:
|
|||||||
* Released under the MIT License.
|
* Released under the MIT License.
|
||||||
*)
|
*)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* nosourcemap */
|
||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"id": "obsidian-share-as-gist",
|
"id": "obsidian-share-as-gist",
|
||||||
"name": "Share as Gist",
|
"name": "Share as Gist",
|
||||||
"version": "1.6.1",
|
"version": "1.7.0",
|
||||||
"minAppVersion": "0.9.7",
|
"minAppVersion": "0.9.7",
|
||||||
"description": "Shares an Obsidian note as a GitHub.com gist",
|
"description": "Shares an Obsidian note as a GitHub.com gist",
|
||||||
"author": "Tim Rogers",
|
"author": "Tim Rogers",
|
||||||
|
|||||||
Vendored
+110
@@ -0,0 +1,110 @@
|
|||||||
|
{
|
||||||
|
"settings_version": "0.22.0",
|
||||||
|
"debug": false,
|
||||||
|
"obsidian_command_palette_prefix": "Execute: ",
|
||||||
|
"preview_variables_in_command_palette": true,
|
||||||
|
"show_autocomplete_menu": true,
|
||||||
|
"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/"
|
||||||
|
},
|
||||||
|
"show_installation_warnings": true,
|
||||||
|
"error_message_duration": 20,
|
||||||
|
"notification_message_duration": 10,
|
||||||
|
"execution_notification_mode": "disabled",
|
||||||
|
"output_channel_clipboard_also_outputs_to_notification": true,
|
||||||
|
"output_channel_notification_decorates_output": true,
|
||||||
|
"enable_events": true,
|
||||||
|
"approve_modals_by_pressing_enter_key": true,
|
||||||
|
"command_palette": {
|
||||||
|
"re_execute_last_shell_command": {
|
||||||
|
"enabled": true,
|
||||||
|
"prefix": "Re-execute: "
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"max_visible_lines_in_shell_command_fields": false,
|
||||||
|
"shell_commands": [
|
||||||
|
{
|
||||||
|
"id": "4s9o488usd",
|
||||||
|
"platform_specific_commands": {
|
||||||
|
"default": "/opt/homebrew/bin/neovide {{file_path:absolute}}"
|
||||||
|
},
|
||||||
|
"shells": {},
|
||||||
|
"alias": "neovide",
|
||||||
|
"icon": null,
|
||||||
|
"confirm_execution": false,
|
||||||
|
"ignore_error_codes": [],
|
||||||
|
"input_contents": {
|
||||||
|
"stdin": null
|
||||||
|
},
|
||||||
|
"output_handlers": {
|
||||||
|
"stdout": {
|
||||||
|
"handler": "ignore",
|
||||||
|
"convert_ansi_code": true
|
||||||
|
},
|
||||||
|
"stderr": {
|
||||||
|
"handler": "notification",
|
||||||
|
"convert_ansi_code": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"output_wrappers": {
|
||||||
|
"stdout": null,
|
||||||
|
"stderr": null
|
||||||
|
},
|
||||||
|
"output_channel_order": "stdout-first",
|
||||||
|
"output_handling_mode": "buffered",
|
||||||
|
"events": {},
|
||||||
|
"command_palette_availability": "enabled",
|
||||||
|
"preactions": [],
|
||||||
|
"variable_default_values": {},
|
||||||
|
"execution_notification_mode": null,
|
||||||
|
"debounce": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "53b5ai5phh",
|
||||||
|
"platform_specific_commands": {
|
||||||
|
"default": "/opt/homebrew/bin/tmux new-window -n \"📗\" && /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",
|
||||||
|
"icon": "terminal-square",
|
||||||
|
"confirm_execution": false,
|
||||||
|
"ignore_error_codes": [],
|
||||||
|
"input_contents": {
|
||||||
|
"stdin": null
|
||||||
|
},
|
||||||
|
"output_handlers": {
|
||||||
|
"stdout": {
|
||||||
|
"handler": "ignore",
|
||||||
|
"convert_ansi_code": true
|
||||||
|
},
|
||||||
|
"stderr": {
|
||||||
|
"handler": "notification",
|
||||||
|
"convert_ansi_code": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"output_wrappers": {
|
||||||
|
"stdout": null,
|
||||||
|
"stderr": null
|
||||||
|
},
|
||||||
|
"output_channel_order": "stdout-first",
|
||||||
|
"output_handling_mode": "buffered",
|
||||||
|
"events": {},
|
||||||
|
"command_palette_availability": "enabled",
|
||||||
|
"preactions": [],
|
||||||
|
"variable_default_values": {},
|
||||||
|
"execution_notification_mode": null,
|
||||||
|
"debounce": null
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"prompts": [],
|
||||||
|
"builtin_variables": {},
|
||||||
|
"custom_variables": [],
|
||||||
|
"custom_variables_notify_changes_via": {
|
||||||
|
"obsidian_uri": true,
|
||||||
|
"output_assignment": true
|
||||||
|
},
|
||||||
|
"custom_shells": [],
|
||||||
|
"output_wrappers": []
|
||||||
|
}
|
||||||
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"settings_version": "0.22.0",
|
"settings_version": "0.23.0",
|
||||||
"debug": false,
|
"debug": false,
|
||||||
"obsidian_command_palette_prefix": "Execute: ",
|
"obsidian_command_palette_prefix": "Execute: ",
|
||||||
"preview_variables_in_command_palette": true,
|
"preview_variables_in_command_palette": true,
|
||||||
@@ -68,7 +68,7 @@
|
|||||||
},
|
},
|
||||||
"shells": {},
|
"shells": {},
|
||||||
"alias": "Open in tmux>nVim",
|
"alias": "Open in tmux>nVim",
|
||||||
"icon": "terminal-square",
|
"icon": "lucide-terminal-square",
|
||||||
"confirm_execution": false,
|
"confirm_execution": false,
|
||||||
"ignore_error_codes": [],
|
"ignore_error_codes": [],
|
||||||
"input_contents": {
|
"input_contents": {
|
||||||
|
|||||||
+2167
-1111
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"id": "obsidian-shellcommands",
|
"id": "obsidian-shellcommands",
|
||||||
"name": "Shell commands",
|
"name": "Shell commands",
|
||||||
"version": "0.22.0",
|
"version": "0.23.0",
|
||||||
"minAppVersion": "1.4.0",
|
"minAppVersion": "1.4.0",
|
||||||
"description": "You can predefine system commands that you want to run frequently, and assign hotkeys for them. For example open external applications. Automatic execution is also supported, and execution via URI links.",
|
"description": "You can predefine system commands that you want to run frequently, and assign hotkeys for them. For example open external applications. Automatic execution is also supported, and execution via URI links.",
|
||||||
"author": "Jarkko Linnanvirta",
|
"author": "Jarkko Linnanvirta",
|
||||||
|
|||||||
@@ -334,6 +334,13 @@ a.SC-autocomplete-link-icon svg {
|
|||||||
vertical-align: middle; /* Not middle but close enough. */
|
vertical-align: middle; /* Not middle but close enough. */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* OUTPUT CHANNEL: NOTIFICATION/ERROR BALLOON.
|
||||||
|
*/
|
||||||
|
code.SC-output-channel-notification-monospace {
|
||||||
|
font-family: var(--font-monospace), monospace;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* OUTPUT CHANNEL: ASK AFTER EXECUTION (OutputModal TypeScript class)
|
* OUTPUT CHANNEL: ASK AFTER EXECUTION (OutputModal TypeScript class)
|
||||||
*/
|
*/
|
||||||
|
|||||||
+6719
-6411
File diff suppressed because one or more lines are too long
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"id": "obsidian-spaced-repetition",
|
"id": "obsidian-spaced-repetition",
|
||||||
"name": "Spaced Repetition",
|
"name": "Spaced Repetition",
|
||||||
"version": "1.12.8",
|
"version": "1.13.2",
|
||||||
"minAppVersion": "1.2.8",
|
"minAppVersion": "1.2.8",
|
||||||
"description": "Fight the forgetting curve by reviewing flashcards & entire notes.",
|
"description": "Fight the forgetting curve by reviewing flashcards & entire notes.",
|
||||||
"author": "Stephen Mwangi",
|
"author": "Stephen Mwangi",
|
||||||
|
|||||||
@@ -376,3 +376,334 @@ button.sr-tab-header-button:hover {
|
|||||||
.sr-tab-content.sr-tab-active {
|
.sr-tab-content.sr-tab-active {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* gridjs
|
||||||
|
* put everything SR plugin specific above this block
|
||||||
|
*/
|
||||||
|
.gridjs-footer button,
|
||||||
|
.gridjs-head button {
|
||||||
|
background-color: transparent;
|
||||||
|
background-image: none;
|
||||||
|
border: none;
|
||||||
|
cursor: pointer;
|
||||||
|
margin: 0;
|
||||||
|
outline: none;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
.gridjs-temp {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.gridjs-head {
|
||||||
|
margin-bottom: 5px;
|
||||||
|
padding: 5px 1px;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.gridjs-head:after {
|
||||||
|
clear: both;
|
||||||
|
content: "";
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
.gridjs-head:empty {
|
||||||
|
border: none;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
.gridjs-container {
|
||||||
|
color: #000;
|
||||||
|
display: inline-block;
|
||||||
|
overflow: hidden;
|
||||||
|
padding: 2px;
|
||||||
|
position: relative;
|
||||||
|
z-index: 0;
|
||||||
|
}
|
||||||
|
.gridjs-footer {
|
||||||
|
background-color: #fff;
|
||||||
|
border-bottom-width: 1px;
|
||||||
|
border-color: #e5e7eb;
|
||||||
|
border-radius: 0 0 8px 8px;
|
||||||
|
border-top: 1px solid #e5e7eb;
|
||||||
|
box-shadow:
|
||||||
|
0 1px 3px 0 rgba(0, 0, 0, 0.1),
|
||||||
|
0 1px 2px 0 rgba(0, 0, 0, 0.26);
|
||||||
|
display: block;
|
||||||
|
padding: 12px 24px;
|
||||||
|
position: relative;
|
||||||
|
width: 100%;
|
||||||
|
z-index: 5;
|
||||||
|
}
|
||||||
|
.gridjs-footer:empty {
|
||||||
|
border: none;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
input.gridjs-input {
|
||||||
|
-webkit-appearance: none;
|
||||||
|
-moz-appearance: none;
|
||||||
|
appearance: none;
|
||||||
|
background-color: #fff;
|
||||||
|
border: 1px solid #d2d6dc;
|
||||||
|
border-radius: 5px;
|
||||||
|
font-size: 14px;
|
||||||
|
line-height: 1.45;
|
||||||
|
outline: none;
|
||||||
|
padding: 10px 13px;
|
||||||
|
}
|
||||||
|
input.gridjs-input:focus {
|
||||||
|
border-color: #9bc2f7;
|
||||||
|
box-shadow: 0 0 0 3px rgba(149, 189, 243, 0.5);
|
||||||
|
}
|
||||||
|
.gridjs-pagination {
|
||||||
|
color: #3d4044;
|
||||||
|
}
|
||||||
|
.gridjs-pagination:after {
|
||||||
|
clear: both;
|
||||||
|
content: "";
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
.gridjs-pagination .gridjs-summary {
|
||||||
|
float: left;
|
||||||
|
margin-top: 5px;
|
||||||
|
}
|
||||||
|
.gridjs-pagination .gridjs-pages {
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
.gridjs-pagination .gridjs-pages button {
|
||||||
|
background-color: #fff;
|
||||||
|
border: 1px solid #d2d6dc;
|
||||||
|
border-right: none;
|
||||||
|
outline: none;
|
||||||
|
padding: 5px 14px;
|
||||||
|
-webkit-user-select: none;
|
||||||
|
-moz-user-select: none;
|
||||||
|
user-select: none;
|
||||||
|
}
|
||||||
|
.gridjs-pagination .gridjs-pages button:focus {
|
||||||
|
border-right: 1px solid #d2d6dc;
|
||||||
|
box-shadow: 0 0 0 2px rgba(149, 189, 243, 0.5);
|
||||||
|
margin-right: -1px;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.gridjs-pagination .gridjs-pages button:hover {
|
||||||
|
background-color: #f7f7f7;
|
||||||
|
color: #3c4257;
|
||||||
|
outline: none;
|
||||||
|
}
|
||||||
|
.gridjs-pagination .gridjs-pages button:disabled,
|
||||||
|
.gridjs-pagination .gridjs-pages button:hover:disabled,
|
||||||
|
.gridjs-pagination .gridjs-pages button[disabled] {
|
||||||
|
background-color: #fff;
|
||||||
|
color: #6b7280;
|
||||||
|
cursor: default;
|
||||||
|
}
|
||||||
|
.gridjs-pagination .gridjs-pages button.gridjs-spread {
|
||||||
|
background-color: #fff;
|
||||||
|
box-shadow: none;
|
||||||
|
cursor: default;
|
||||||
|
}
|
||||||
|
.gridjs-pagination .gridjs-pages button.gridjs-currentPage {
|
||||||
|
background-color: #f7f7f7;
|
||||||
|
font-weight: 700;
|
||||||
|
}
|
||||||
|
.gridjs-pagination .gridjs-pages button:last-child {
|
||||||
|
border-bottom-right-radius: 6px;
|
||||||
|
border-right: 1px solid #d2d6dc;
|
||||||
|
border-top-right-radius: 6px;
|
||||||
|
}
|
||||||
|
.gridjs-pagination .gridjs-pages button:first-child {
|
||||||
|
border-bottom-left-radius: 6px;
|
||||||
|
border-top-left-radius: 6px;
|
||||||
|
}
|
||||||
|
.gridjs-pagination .gridjs-pages button:last-child:focus {
|
||||||
|
margin-right: 0;
|
||||||
|
}
|
||||||
|
button.gridjs-sort {
|
||||||
|
background-color: transparent;
|
||||||
|
background-position-x: center;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-size: contain;
|
||||||
|
border: none;
|
||||||
|
cursor: pointer;
|
||||||
|
float: right;
|
||||||
|
height: 24px;
|
||||||
|
margin: 0;
|
||||||
|
outline: none;
|
||||||
|
padding: 0;
|
||||||
|
width: 13px;
|
||||||
|
}
|
||||||
|
button.gridjs-sort-neutral {
|
||||||
|
background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MDEuOTk4IiBoZWlnaHQ9IjQwMS45OTgiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQwMS45OTggNDAxLjk5OCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHBhdGggZD0iTTczLjA5MiAxNjQuNDUyaDI1NS44MTNjNC45NDkgMCA5LjIzMy0xLjgwNyAxMi44NDgtNS40MjQgMy42MTMtMy42MTYgNS40MjctNy44OTggNS40MjctMTIuODQ3cy0xLjgxMy05LjIyOS01LjQyNy0xMi44NUwyMTMuODQ2IDUuNDI0QzIxMC4yMzIgMS44MTIgMjA1Ljk1MSAwIDIwMC45OTkgMHMtOS4yMzMgMS44MTItMTIuODUgNS40MjRMNjAuMjQyIDEzMy4zMzFjLTMuNjE3IDMuNjE3LTUuNDI0IDcuOTAxLTUuNDI0IDEyLjg1IDAgNC45NDggMS44MDcgOS4yMzEgNS40MjQgMTIuODQ3IDMuNjIxIDMuNjE3IDcuOTAyIDUuNDI0IDEyLjg1IDUuNDI0ek0zMjguOTA1IDIzNy41NDlINzMuMDkyYy00Ljk1MiAwLTkuMjMzIDEuODA4LTEyLjg1IDUuNDIxLTMuNjE3IDMuNjE3LTUuNDI0IDcuODk4LTUuNDI0IDEyLjg0N3MxLjgwNyA5LjIzMyA1LjQyNCAxMi44NDhMMTg4LjE0OSAzOTYuNTdjMy42MjEgMy42MTcgNy45MDIgNS40MjggMTIuODUgNS40MjhzOS4yMzMtMS44MTEgMTIuODQ3LTUuNDI4bDEyNy45MDctMTI3LjkwNmMzLjYxMy0zLjYxNCA1LjQyNy03Ljg5OCA1LjQyNy0xMi44NDggMC00Ljk0OC0xLjgxMy05LjIyOS01LjQyNy0xMi44NDctMy42MTQtMy42MTYtNy44OTktNS40Mi0xMi44NDgtNS40MnoiLz48L3N2Zz4=");
|
||||||
|
background-position-y: center;
|
||||||
|
opacity: 0.3;
|
||||||
|
}
|
||||||
|
button.gridjs-sort-asc {
|
||||||
|
background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyOTIuMzYyIiBoZWlnaHQ9IjI5Mi4zNjEiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDI5Mi4zNjIgMjkyLjM2MSIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHBhdGggZD0iTTI4Ni45MzUgMTk3LjI4NyAxNTkuMDI4IDY5LjM4MWMtMy42MTMtMy42MTctNy44OTUtNS40MjQtMTIuODQ3LTUuNDI0cy05LjIzMyAxLjgwNy0xMi44NSA1LjQyNEw1LjQyNCAxOTcuMjg3QzEuODA3IDIwMC45MDQgMCAyMDUuMTg2IDAgMjEwLjEzNHMxLjgwNyA5LjIzMyA1LjQyNCAxMi44NDdjMy42MjEgMy42MTcgNy45MDIgNS40MjUgMTIuODUgNS40MjVoMjU1LjgxM2M0Ljk0OSAwIDkuMjMzLTEuODA4IDEyLjg0OC01LjQyNSAzLjYxMy0zLjYxMyA1LjQyNy03Ljg5OCA1LjQyNy0xMi44NDdzLTEuODE0LTkuMjMtNS40MjctMTIuODQ3eiIvPjwvc3ZnPg==");
|
||||||
|
background-position-y: 35%;
|
||||||
|
background-size: 10px;
|
||||||
|
}
|
||||||
|
button.gridjs-sort-desc {
|
||||||
|
background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyOTIuMzYyIiBoZWlnaHQ9IjI5Mi4zNjIiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDI5Mi4zNjIgMjkyLjM2MiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHBhdGggZD0iTTI4Ni45MzUgNjkuMzc3Yy0zLjYxNC0zLjYxNy03Ljg5OC01LjQyNC0xMi44NDgtNS40MjRIMTguMjc0Yy00Ljk1MiAwLTkuMjMzIDEuODA3LTEyLjg1IDUuNDI0QzEuODA3IDcyLjk5OCAwIDc3LjI3OSAwIDgyLjIyOGMwIDQuOTQ4IDEuODA3IDkuMjI5IDUuNDI0IDEyLjg0N2wxMjcuOTA3IDEyNy45MDdjMy42MjEgMy42MTcgNy45MDIgNS40MjggMTIuODUgNS40MjhzOS4yMzMtMS44MTEgMTIuODQ3LTUuNDI4TDI4Ni45MzUgOTUuMDc0YzMuNjEzLTMuNjE3IDUuNDI3LTcuODk4IDUuNDI3LTEyLjg0NyAwLTQuOTQ4LTEuODE0LTkuMjI5LTUuNDI3LTEyLjg1eiIvPjwvc3ZnPg==");
|
||||||
|
background-position-y: 65%;
|
||||||
|
background-size: 10px;
|
||||||
|
}
|
||||||
|
button.gridjs-sort:focus {
|
||||||
|
outline: none;
|
||||||
|
}
|
||||||
|
table.gridjs-table {
|
||||||
|
border-collapse: collapse;
|
||||||
|
display: table;
|
||||||
|
margin: 0;
|
||||||
|
max-width: 100%;
|
||||||
|
overflow: auto;
|
||||||
|
padding: 0;
|
||||||
|
table-layout: fixed;
|
||||||
|
text-align: left;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.gridjs-tbody,
|
||||||
|
td.gridjs-td {
|
||||||
|
background-color: #fff;
|
||||||
|
}
|
||||||
|
td.gridjs-td {
|
||||||
|
border: 1px solid #e5e7eb;
|
||||||
|
box-sizing: content-box;
|
||||||
|
padding: 12px 24px;
|
||||||
|
}
|
||||||
|
td.gridjs-td:first-child {
|
||||||
|
border-left: none;
|
||||||
|
}
|
||||||
|
td.gridjs-td:last-child {
|
||||||
|
border-right: none;
|
||||||
|
}
|
||||||
|
td.gridjs-message {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
th.gridjs-th {
|
||||||
|
background-color: #f9fafb;
|
||||||
|
border: 1px solid #e5e7eb;
|
||||||
|
border-top: none;
|
||||||
|
box-sizing: border-box;
|
||||||
|
color: #6b7280;
|
||||||
|
outline: none;
|
||||||
|
padding: 14px 24px;
|
||||||
|
position: relative;
|
||||||
|
-webkit-user-select: none;
|
||||||
|
-moz-user-select: none;
|
||||||
|
user-select: none;
|
||||||
|
vertical-align: middle;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
th.gridjs-th .gridjs-th-content {
|
||||||
|
float: left;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
th.gridjs-th-sort {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
th.gridjs-th-sort .gridjs-th-content {
|
||||||
|
width: calc(100% - 15px);
|
||||||
|
}
|
||||||
|
th.gridjs-th-sort:focus,
|
||||||
|
th.gridjs-th-sort:hover {
|
||||||
|
background-color: #e5e7eb;
|
||||||
|
}
|
||||||
|
th.gridjs-th-fixed {
|
||||||
|
box-shadow: 0 1px 0 0 #e5e7eb;
|
||||||
|
position: sticky;
|
||||||
|
}
|
||||||
|
@supports (-moz-appearance: none) {
|
||||||
|
th.gridjs-th-fixed {
|
||||||
|
box-shadow: 0 0 0 1px #e5e7eb;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
th.gridjs-th:first-child {
|
||||||
|
border-left: none;
|
||||||
|
}
|
||||||
|
th.gridjs-th:last-child {
|
||||||
|
border-right: none;
|
||||||
|
}
|
||||||
|
.gridjs-tr {
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
.gridjs-tr-selected td {
|
||||||
|
background-color: #ebf5ff;
|
||||||
|
}
|
||||||
|
.gridjs-tr:last-child td {
|
||||||
|
border-bottom: 0;
|
||||||
|
}
|
||||||
|
.gridjs *,
|
||||||
|
.gridjs :after,
|
||||||
|
.gridjs :before {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
.gridjs-wrapper {
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
border-color: #e5e7eb;
|
||||||
|
border-radius: 8px 8px 0 0;
|
||||||
|
border-top-width: 1px;
|
||||||
|
box-shadow:
|
||||||
|
0 1px 3px 0 rgba(0, 0, 0, 0.1),
|
||||||
|
0 1px 2px 0 rgba(0, 0, 0, 0.26);
|
||||||
|
display: block;
|
||||||
|
overflow: auto;
|
||||||
|
position: relative;
|
||||||
|
width: 100%;
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
.gridjs-wrapper:nth-last-of-type(2) {
|
||||||
|
border-bottom-width: 1px;
|
||||||
|
border-radius: 8px;
|
||||||
|
}
|
||||||
|
.gridjs-search {
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
.gridjs-search-input {
|
||||||
|
width: 250px;
|
||||||
|
}
|
||||||
|
.gridjs-loading-bar {
|
||||||
|
background-color: #fff;
|
||||||
|
opacity: 0.5;
|
||||||
|
z-index: 10;
|
||||||
|
}
|
||||||
|
.gridjs-loading-bar,
|
||||||
|
.gridjs-loading-bar:after {
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
top: 0;
|
||||||
|
}
|
||||||
|
.gridjs-loading-bar:after {
|
||||||
|
animation: shimmer 2s infinite;
|
||||||
|
background-image: linear-gradient(
|
||||||
|
90deg,
|
||||||
|
hsla(0, 0%, 80%, 0),
|
||||||
|
hsla(0, 0%, 80%, 0.2) 20%,
|
||||||
|
hsla(0, 0%, 80%, 0.5) 60%,
|
||||||
|
hsla(0, 0%, 80%, 0)
|
||||||
|
);
|
||||||
|
content: "";
|
||||||
|
transform: translateX(-100%);
|
||||||
|
}
|
||||||
|
@keyframes shimmer {
|
||||||
|
to {
|
||||||
|
transform: translateX(100%);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.gridjs-td .gridjs-checkbox {
|
||||||
|
cursor: pointer;
|
||||||
|
display: block;
|
||||||
|
margin: auto;
|
||||||
|
}
|
||||||
|
.gridjs-resizable {
|
||||||
|
bottom: 0;
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
top: 0;
|
||||||
|
width: 5px;
|
||||||
|
}
|
||||||
|
.gridjs-resizable:hover {
|
||||||
|
background-color: #9bc2f7;
|
||||||
|
cursor: ew-resize;
|
||||||
|
}
|
||||||
|
|||||||
+98
-89
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"id": "obsidian-tasks-plugin",
|
"id": "obsidian-tasks-plugin",
|
||||||
"name": "Tasks",
|
"name": "Tasks",
|
||||||
"version": "7.10.2",
|
"version": "7.14.0",
|
||||||
"minAppVersion": "1.1.1",
|
"minAppVersion": "1.1.1",
|
||||||
"description": "Track tasks across your vault. Supports due dates, recurring tasks, done dates, sub-set of checklist items, and filtering.",
|
"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/",
|
"helpUrl": "https://publish.obsidian.md/tasks/",
|
||||||
|
|||||||
+1
-1
File diff suppressed because one or more lines are too long
+14
-8
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"id": "obsidian-vimrc-support",
|
"id": "obsidian-vimrc-support",
|
||||||
"name": "Vimrc Support",
|
"name": "Vimrc Support",
|
||||||
"version": "0.10.1",
|
"version": "0.10.2",
|
||||||
"description": "Auto-load a startup file with Obsidian Vim commands.",
|
"description": "Auto-load a startup file with Obsidian Vim commands.",
|
||||||
"minAppVersion": "0.15.3",
|
"minAppVersion": "0.15.3",
|
||||||
"author": "esm",
|
"author": "esm",
|
||||||
|
|||||||
+23
-2417
File diff suppressed because one or more lines are too long
+2
-3
@@ -1,15 +1,14 @@
|
|||||||
{
|
{
|
||||||
"id": "obsidian42-brat",
|
"id": "obsidian42-brat",
|
||||||
"name": "BRAT",
|
"name": "BRAT",
|
||||||
"version": "1.0.3",
|
"version": "1.0.6",
|
||||||
"minAppVersion": "1.4.16",
|
"minAppVersion": "1.7.2",
|
||||||
"description": "Easily install a beta version of a plugin for testing.",
|
"description": "Easily install a beta version of a plugin for testing.",
|
||||||
"author": "TfTHacker",
|
"author": "TfTHacker",
|
||||||
"authorUrl": "https://github.com/TfTHacker/obsidian42-brat",
|
"authorUrl": "https://github.com/TfTHacker/obsidian42-brat",
|
||||||
"helpUrl": "https://tfthacker.com/BRAT",
|
"helpUrl": "https://tfthacker.com/BRAT",
|
||||||
"isDesktopOnly": false,
|
"isDesktopOnly": false,
|
||||||
"fundingUrl": {
|
"fundingUrl": {
|
||||||
"Buy Me a Coffee": "https://bit.ly/o42-kofi",
|
|
||||||
"Visit my site": "https://tfthacker.com"
|
"Visit my site": "https://tfthacker.com"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
+1
-1
@@ -1,3 +1,3 @@
|
|||||||
.brat-modal .modal-button-container {
|
.brat-modal .modal-button-container {
|
||||||
margin-top: 5px !important;
|
margin-top: 5px !important;
|
||||||
}
|
}
|
||||||
|
|||||||
+10
-5282
File diff suppressed because one or more lines are too long
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"id": "obsidian42-strange-new-worlds",
|
"id": "obsidian42-strange-new-worlds",
|
||||||
"name": "Strange New Worlds",
|
"name": "Strange New Worlds",
|
||||||
"version": "2.1.4",
|
"version": "2.3.2",
|
||||||
"minAppVersion": "1.5.11",
|
"minAppVersion": "1.7.2",
|
||||||
"description": "Help see how your vault is interconnected with visual indicators.",
|
"description": "Help see how your vault is interconnected with visual indicators.",
|
||||||
"author": "TfTHacker",
|
"author": "TfTHacker",
|
||||||
"authorUrl": "https://twitter.com/TfTHacker",
|
"authorUrl": "https://twitter.com/TfTHacker",
|
||||||
|
|||||||
+16
-3
@@ -119,6 +119,7 @@ div:has(> .snw-reference),
|
|||||||
border-bottom: var(--border-width) solid var(--modal-border-color);
|
border-bottom: var(--border-width) solid var(--modal-border-color);
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.snw-ref-title-popover-open-sidepane-icon {
|
.snw-ref-title-popover-open-sidepane-icon {
|
||||||
@@ -140,6 +141,7 @@ div:has(> .snw-reference),
|
|||||||
border-radius: var(--radius-s);
|
border-radius: var(--radius-s);
|
||||||
background-color: var(--titlebar-background-focused);
|
background-color: var(--titlebar-background-focused);
|
||||||
border: var(--border-width) solid var(--modal-border-color);
|
border: var(--border-width) solid var(--modal-border-color);
|
||||||
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.snw-ref-item-container {
|
.snw-ref-item-container {
|
||||||
@@ -194,6 +196,20 @@ div:has(> .snw-reference),
|
|||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Modification for when Edting Toolbar plugin is used */
|
||||||
|
.view-content:has(.top.cMenuToolbarDefaultAesthetic),
|
||||||
|
.view-content:has(.top.cMenuToolbarTinyAesthetic) {
|
||||||
|
.snw-header-count-wrapper {
|
||||||
|
top: 80px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.view-content:has(.top.cMenuToolbarGlassAesthetic) {
|
||||||
|
.snw-header-count-wrapper {
|
||||||
|
top: 70px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.snw-header-count {
|
.snw-header-count {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
@@ -311,8 +327,6 @@ div:has(> .snw-reference),
|
|||||||
font-weight: var(--nav-item-weight);
|
font-weight: var(--nav-item-weight);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.snw-sort-dropdown-list-item {
|
.snw-sort-dropdown-list-item {
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
}
|
}
|
||||||
@@ -328,7 +342,6 @@ div:has(> .snw-reference),
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* prevent printing of reference numbers */
|
/* prevent printing of reference numbers */
|
||||||
@media print {
|
@media print {
|
||||||
.snw-reference {
|
.snw-reference {
|
||||||
|
|||||||
+1
@@ -16,6 +16,7 @@
|
|||||||
"vimLikeNavigationShortcut": true,
|
"vimLikeNavigationShortcut": true,
|
||||||
"ribbonIcon": true,
|
"ribbonIcon": true,
|
||||||
"showExcerpt": true,
|
"showExcerpt": true,
|
||||||
|
"maxEmbeds": 5,
|
||||||
"renderLineReturnInExcerpts": true,
|
"renderLineReturnInExcerpts": true,
|
||||||
"showCreateButton": false,
|
"showCreateButton": false,
|
||||||
"highlight": true,
|
"highlight": true,
|
||||||
|
|||||||
Vendored
+87
-83
File diff suppressed because one or more lines are too long
+2
-2
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"id": "omnisearch",
|
"id": "omnisearch",
|
||||||
"name": "Omnisearch",
|
"name": "Omnisearch",
|
||||||
"version": "1.24.1",
|
"version": "1.25.1",
|
||||||
"minAppVersion": "1.3.0",
|
"minAppVersion": "1.7.2",
|
||||||
"description": "A search engine that just works",
|
"description": "A search engine that just works",
|
||||||
"author": "Simon Cambier",
|
"author": "Simon Cambier",
|
||||||
"authorUrl": "https://github.com/scambier/obsidian-omnisearch",
|
"authorUrl": "https://github.com/scambier/obsidian-omnisearch",
|
||||||
|
|||||||
+25
-1
@@ -5,7 +5,7 @@
|
|||||||
white-space: normal;
|
white-space: normal;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
justify-content: space-between;
|
/* justify-content: space-between; */
|
||||||
flex-wrap: nowrap;
|
flex-wrap: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -59,6 +59,11 @@
|
|||||||
margin-inline-start: 0.5em;
|
margin-inline-start: 0.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.omnisearch-result__embed {
|
||||||
|
margin-left: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.omnisearch-result__image-container {
|
.omnisearch-result__image-container {
|
||||||
flex-basis: 20%;
|
flex-basis: 20%;
|
||||||
text-align: end;
|
text-align: end;
|
||||||
@@ -82,6 +87,25 @@
|
|||||||
gap: 5px;
|
gap: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.omnisearch-result__icon {
|
||||||
|
display: inline-block;
|
||||||
|
vertical-align: middle;
|
||||||
|
width: 16px;
|
||||||
|
height: 16px;
|
||||||
|
margin-right: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.omnisearch-result__icon svg {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.omnisearch-result__icon--emoji {
|
||||||
|
font-size: 16px;
|
||||||
|
vertical-align: middle;
|
||||||
|
margin-right: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
@media only screen and (max-width: 600px) {
|
@media only screen and (max-width: 600px) {
|
||||||
.omnisearch-input-container {
|
.omnisearch-input-container {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|||||||
+3
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"id": "pane-relief",
|
"id": "pane-relief",
|
||||||
"name": "Pane Relief",
|
"name": "Pane Relief",
|
||||||
"version": "0.5.5",
|
"version": "0.5.6",
|
||||||
"minAppVersion": "1.5.8",
|
"minAppVersion": "1.5.8",
|
||||||
"description": "Per-tab history, hotkeys for pane/tab movement, navigation, sliding workspace, and more",
|
"description": "Per-tab history, hotkeys for pane/tab movement, navigation, sliding workspace, and more",
|
||||||
"author": "PJ Eby",
|
"author": "PJ Eby",
|
||||||
|
|||||||
Vendored
+3
-1
@@ -13467,6 +13467,7 @@ var PodNotes = class extends import_obsidian24.Plugin {
|
|||||||
this.downloadedEpisodesController = new DownloadedEpisodesController(downloadedEpisodes, this).on();
|
this.downloadedEpisodesController = new DownloadedEpisodesController(downloadedEpisodes, this).on();
|
||||||
this.currentEpisodeController = new CurrentEpisodeController(currentEpisode, this).on();
|
this.currentEpisodeController = new CurrentEpisodeController(currentEpisode, this).on();
|
||||||
this.transcriptionService = new TranscriptionService(this);
|
this.transcriptionService = new TranscriptionService(this);
|
||||||
|
this.api = new API();
|
||||||
this.addCommand({
|
this.addCommand({
|
||||||
id: "podnotes-show-leaf",
|
id: "podnotes-show-leaf",
|
||||||
name: "Show PodNotes",
|
name: "Show PodNotes",
|
||||||
@@ -13599,7 +13600,6 @@ var PodNotes = class extends import_obsidian24.Plugin {
|
|||||||
this.addSettingTab(new PodNotesSettingsTab(this.app, this));
|
this.addSettingTab(new PodNotesSettingsTab(this.app, this));
|
||||||
this.registerView(VIEW_TYPE, (leaf) => {
|
this.registerView(VIEW_TYPE, (leaf) => {
|
||||||
this.view = new MainView(leaf, this);
|
this.view = new MainView(leaf, this);
|
||||||
this.api = new API();
|
|
||||||
return this.view;
|
return this.view;
|
||||||
});
|
});
|
||||||
this.app.workspace.onLayoutReady(this.onLayoutReady.bind(this));
|
this.app.workspace.onLayoutReady(this.onLayoutReady.bind(this));
|
||||||
@@ -13657,3 +13657,5 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|||||||
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||||
PERFORMANCE OF THIS SOFTWARE.
|
PERFORMANCE OF THIS SOFTWARE.
|
||||||
***************************************************************************** */
|
***************************************************************************** */
|
||||||
|
|
||||||
|
/* nosourcemap */
|
||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"id": "podnotes",
|
"id": "podnotes",
|
||||||
"name": "PodNotes",
|
"name": "PodNotes",
|
||||||
"version": "2.13.2",
|
"version": "2.13.3",
|
||||||
"minAppVersion": "0.15.9",
|
"minAppVersion": "0.15.9",
|
||||||
"description": "Helps you write notes on podcasts.",
|
"description": "Helps you write notes on podcasts.",
|
||||||
"author": "Christian B. B. Houmann",
|
"author": "Christian B. B. Houmann",
|
||||||
|
|||||||
Vendored
+1
-1
@@ -408,7 +408,7 @@
|
|||||||
"devMode": false,
|
"devMode": false,
|
||||||
"templateFolderPath": "templates",
|
"templateFolderPath": "templates",
|
||||||
"announceUpdates": true,
|
"announceUpdates": true,
|
||||||
"version": "1.11.1",
|
"version": "1.11.5",
|
||||||
"disableOnlineFeatures": true,
|
"disableOnlineFeatures": true,
|
||||||
"enableRibbonIcon": false,
|
"enableRibbonIcon": false,
|
||||||
"ai": {
|
"ai": {
|
||||||
|
|||||||
Vendored
+8
-6
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"id": "quickadd",
|
"id": "quickadd",
|
||||||
"name": "QuickAdd",
|
"name": "QuickAdd",
|
||||||
"version": "1.11.1",
|
"version": "1.11.5",
|
||||||
"minAppVersion": "1.6.0",
|
"minAppVersion": "1.6.0",
|
||||||
"description": "Quickly add new pages or content to your vault.",
|
"description": "Quickly add new pages or content to your vault.",
|
||||||
"author": "Christian B. B. Houmann",
|
"author": "Christian B. B. Houmann",
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
.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}
|
.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;direction:inherit;text-align:inherit}}@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;direction:inherit;text-align:inherit}}@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;direction:inherit;text-align:inherit}}.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}
|
||||||
|
|||||||
BIN
Binary file not shown.
-12189
File diff suppressed because one or more lines are too long
Vendored
+190
-173
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"id": "surfing",
|
"id": "surfing",
|
||||||
"name": "Surfing",
|
"name": "Surfing",
|
||||||
"version": "0.9.12",
|
"version": "0.9.14",
|
||||||
"minAppVersion": "1.4.0",
|
"minAppVersion": "1.4.0",
|
||||||
"description": "Surf the Net in Obsidian.",
|
"description": "Surf the Net in Obsidian.",
|
||||||
"author": "Boninall & Windily-cloud",
|
"author": "Boninall & Windily-cloud",
|
||||||
|
|||||||
+8
-3
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"id": "sync-graph-settings",
|
"id": "sync-graph-settings",
|
||||||
"name": "Sync Graph Settings",
|
"name": "Sync Graph Settings",
|
||||||
"version": "1.3.0",
|
"version": "1.4.0",
|
||||||
"minAppVersion": "0.15.0",
|
"minAppVersion": "0.15.0",
|
||||||
"description": "This is a plugin for syncing various graph settings to Local Graphs",
|
"description": "This is a plugin for syncing various graph settings to Local Graphs",
|
||||||
"author": "xallt",
|
"author": "xallt",
|
||||||
|
|||||||
Binary file not shown.
-233737
File diff suppressed because it is too large
Load Diff
+9
-2
@@ -12,10 +12,17 @@
|
|||||||
"enable_system_commands": false,
|
"enable_system_commands": false,
|
||||||
"shell_path": "",
|
"shell_path": "",
|
||||||
"user_scripts_folder": "",
|
"user_scripts_folder": "",
|
||||||
"enable_folder_templates": false,
|
"enable_folder_templates": true,
|
||||||
"folder_templates": [
|
"folder_templates": [
|
||||||
{
|
{
|
||||||
"folder": "",
|
"folder": "/",
|
||||||
|
"template": "templates/default new note.md"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"enable_file_templates": false,
|
||||||
|
"file_templates": [
|
||||||
|
{
|
||||||
|
"regex": ".*",
|
||||||
"template": ""
|
"template": ""
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
+9
-7
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"id": "templater-obsidian",
|
"id": "templater-obsidian",
|
||||||
"name": "Templater",
|
"name": "Templater",
|
||||||
"version": "2.7.2",
|
"version": "2.9.1",
|
||||||
"description": "Create and use templates",
|
"description": "Create and use templates",
|
||||||
"minAppVersion": "1.5.0",
|
"minAppVersion": "1.5.0",
|
||||||
"author": "SilentVoid",
|
"author": "SilentVoid",
|
||||||
|
|||||||
Vendored
+46
-82
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"id": "time-ruler",
|
"id": "time-ruler",
|
||||||
"name": "Time Ruler",
|
"name": "Time Ruler",
|
||||||
"version": "2.5.1",
|
"version": "2.5.2",
|
||||||
"minAppVersion": "0.15.0",
|
"minAppVersion": "0.15.0",
|
||||||
"description": "A drag-and-drop time ruler combining the best of a task list and a calendar view (integrates with Tasks, Full Calendar, and Dataview).",
|
"description": "A drag-and-drop time ruler combining the best of a task list and a calendar view (integrates with Tasks, Full Calendar, and Dataview).",
|
||||||
"author": "Joshua Tazman Reinier",
|
"author": "Joshua Tazman Reinier",
|
||||||
|
|||||||
-1
File diff suppressed because one or more lines are too long
+1436
-659
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"id": "vertical-tabs",
|
"id": "vertical-tabs",
|
||||||
"name": "Vertical Tabs",
|
"name": "Vertical Tabs",
|
||||||
"version": "0.6.11",
|
"version": "0.11.3",
|
||||||
"minAppVersion": "1.6.2",
|
"minAppVersion": "1.6.2",
|
||||||
"description": "Offer an alternative view that displays open tabs vertically, allowing users to group and organize tabs for a better navigation experience.",
|
"description": "Offer an alternative view that displays open tabs vertically, allowing users to group and organize tabs for a better navigation experience.",
|
||||||
"author": "oxdc",
|
"author": "oxdc",
|
||||||
|
|||||||
+140
-54
@@ -1,3 +1,5 @@
|
|||||||
|
@charset "UTF-8";
|
||||||
|
|
||||||
/* src/styles.scss */
|
/* src/styles.scss */
|
||||||
body.vt-show-active-tabs:not(.is-popout-window) .workspace-split.mod-root .workspace-tabs > .workspace-tab-header-container .workspace-tab-header:not(.is-active) {
|
body.vt-show-active-tabs:not(.is-popout-window) .workspace-split.mod-root .workspace-tabs > .workspace-tab-header-container .workspace-tab-header:not(.is-active) {
|
||||||
display: none;
|
display: none;
|
||||||
@@ -29,9 +31,6 @@ body.vt-zen-mode:not(.is-popout-window) .workspace-split.mod-root .workspace-spl
|
|||||||
body.vt-zen-mode:not(.is-popout-window) .workspace-split.mod-root .workspace-split:has(.workspace-tabs.vt-mod-active) {
|
body.vt-zen-mode:not(.is-popout-window) .workspace-split.mod-root .workspace-split:has(.workspace-tabs.vt-mod-active) {
|
||||||
flex-basis: 100%;
|
flex-basis: 100%;
|
||||||
}
|
}
|
||||||
body.vt-zen-mode:not(.is-popout-window) .workspace-split.mod-root .workspace-tabs > .workspace-tab-header-container .workspace-tab-header:not(.is-active) {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
body.vt-zen-mode:not(.is-popout-window) .workspace-split.mod-root .workspace-tabs > .workspace-tab-header-container .workspace-tab-header.is-active {
|
body.vt-zen-mode:not(.is-popout-window) .workspace-split.mod-root .workspace-tabs > .workspace-tab-header-container .workspace-tab-header.is-active {
|
||||||
max-width: unset;
|
max-width: unset;
|
||||||
width: unset;
|
width: unset;
|
||||||
@@ -45,6 +44,43 @@ body.vt-zen-mode .obsidian-vertical-tabs-container .tree-item.is-group .clickabl
|
|||||||
.obsidian-vertical-tabs-container .tree-item.is-tab.is-highlighted .tree-item-self {
|
.obsidian-vertical-tabs-container .tree-item.is-tab.is-highlighted .tree-item-self {
|
||||||
background-color: var(--background-modifier-active-hover);
|
background-color: var(--background-modifier-active-hover);
|
||||||
}
|
}
|
||||||
|
.obsidian-vertical-tabs-container .tree-item.is-group input {
|
||||||
|
background: transparent;
|
||||||
|
outline: none;
|
||||||
|
border: none;
|
||||||
|
color: inherit;
|
||||||
|
font: inherit;
|
||||||
|
padding: 0;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.obsidian-vertical-tabs-container .tree-item.is-tab-slot .tree-item-self {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
.obsidian-vertical-tabs-container .tree-item.is-tab-slot .tree-item-self:not(:hover) {
|
||||||
|
height: 6px;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
.obsidian-vertical-tabs-container .tree-item.is-tab-slot .tree-item-self:not(:hover) * {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.obsidian-vertical-tabs-container .tree-item.is-tab-slot .tree-item-self:hover {
|
||||||
|
height: unset;
|
||||||
|
}
|
||||||
|
.obsidian-vertical-tabs-container .tree-item.is-tab-slot .tree-item-self:hover * {
|
||||||
|
display: initial;
|
||||||
|
}
|
||||||
|
.obsidian-vertical-tabs-container .is-group-slot {
|
||||||
|
border-top: 1px solid var(--background-modifier-border);
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
.obsidian-vertical-tabs-container .is-group-slot .tree-item-self {
|
||||||
|
color: var(--text-faint);
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
.obsidian-vertical-tabs-container .is-group-slot .tree-item-icon svg {
|
||||||
|
--icon-size: var(--icon-s) !important;
|
||||||
|
color: var(--text-faint) !important;
|
||||||
|
}
|
||||||
.is-hidden-frameless:not(.is-fullscreen) .workspace-tabs.vt-mod-top-left-space .workspace-tab-header-container {
|
.is-hidden-frameless:not(.is-fullscreen) .workspace-tabs.vt-mod-top-left-space .workspace-tab-header-container {
|
||||||
padding-left: calc(var(--size-4-2) + var(--frame-left-space));
|
padding-left: calc(var(--size-4-2) + var(--frame-left-space));
|
||||||
}
|
}
|
||||||
@@ -72,6 +108,101 @@ body.vt-zen-mode .obsidian-vertical-tabs-container .tree-item.is-group .clickabl
|
|||||||
.mod-macos.is-hidden-frameless:not(.is-popout-window) .workspace .workspace-tabs.vt-mod-top-right-space .workspace-tab-header-container {
|
.mod-macos.is-hidden-frameless:not(.is-popout-window) .workspace .workspace-tabs.vt-mod-top-right-space .workspace-tab-header-container {
|
||||||
padding-right: 38px;
|
padding-right: 38px;
|
||||||
}
|
}
|
||||||
|
.obsidian-vertical-tabs-container .tree-item::before {
|
||||||
|
content: "\200b";
|
||||||
|
height: 4px;
|
||||||
|
width: 100%;
|
||||||
|
display: block;
|
||||||
|
margin-top: -4px;
|
||||||
|
color: transparent;
|
||||||
|
background: transparent;
|
||||||
|
position: relative;
|
||||||
|
z-index: 10;
|
||||||
|
top: 1px;
|
||||||
|
}
|
||||||
|
.obsidian-vertical-tabs-container.is-dragging-group .tree-item.is-group.vt-is-being-dragged-over::before,
|
||||||
|
.obsidian-vertical-tabs-container.is-dragging-group .tree-item.is-group:has(.vt-is-being-dragged-over)::before {
|
||||||
|
background: var(--interactive-accent);
|
||||||
|
}
|
||||||
|
.obsidian-vertical-tabs-container:not(.is-dragging-group) .tree-item.is-tab.vt-is-being-dragged-over::before {
|
||||||
|
background: var(--interactive-accent);
|
||||||
|
}
|
||||||
|
.obsidian-vertical-tabs-container:not(.is-dragging-group) .tree-item.is-group.vt-is-being-dragged-over .is-tab-slot::before {
|
||||||
|
background: var(--interactive-accent);
|
||||||
|
}
|
||||||
|
.obsidian-vertical-tabs-container .tree-item.is-group.is-single-group > .tree-item-self {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.obsidian-vertical-tabs-container .tree-item.is-group.is-single-group > .tree-item-children {
|
||||||
|
padding-inline-start: 0;
|
||||||
|
margin-inline-start: 0;
|
||||||
|
border-inline-start: none;
|
||||||
|
}
|
||||||
|
body.vt-enable-tab-zoom .workspace-leaf.vt-apply-tab-zoom {
|
||||||
|
--vt-tab-zoom-factor: 1;
|
||||||
|
--vt-scaled-file-line-width: calc( var(--file-line-width) / var(--vt-tab-zoom-factor) );
|
||||||
|
}
|
||||||
|
body.vt-enable-tab-zoom .workspace-leaf.vt-apply-tab-zoom .markdown-source-view,
|
||||||
|
body.vt-enable-tab-zoom .workspace-leaf.vt-apply-tab-zoom .markdown-preview-view,
|
||||||
|
body.vt-enable-tab-zoom .workspace-leaf.vt-apply-tab-zoom .release-notes-view,
|
||||||
|
body.vt-enable-tab-zoom .workspace-leaf.vt-apply-tab-zoom .document-replace,
|
||||||
|
body.vt-enable-tab-zoom .workspace-leaf.vt-apply-tab-zoom .browser-content {
|
||||||
|
zoom: var(--vt-tab-zoom-factor);
|
||||||
|
}
|
||||||
|
body.vt-enable-tab-zoom .workspace-leaf.vt-apply-tab-zoom .markdown-source-view .markdown-source-view,
|
||||||
|
body.vt-enable-tab-zoom .workspace-leaf.vt-apply-tab-zoom .markdown-source-view .markdown-preview-view,
|
||||||
|
body.vt-enable-tab-zoom .workspace-leaf.vt-apply-tab-zoom .markdown-source-view .release-notes-view,
|
||||||
|
body.vt-enable-tab-zoom .workspace-leaf.vt-apply-tab-zoom .markdown-source-view .document-replace,
|
||||||
|
body.vt-enable-tab-zoom .workspace-leaf.vt-apply-tab-zoom .markdown-source-view .browser-content,
|
||||||
|
body.vt-enable-tab-zoom .workspace-leaf.vt-apply-tab-zoom .markdown-preview-view .markdown-source-view,
|
||||||
|
body.vt-enable-tab-zoom .workspace-leaf.vt-apply-tab-zoom .markdown-preview-view .markdown-preview-view,
|
||||||
|
body.vt-enable-tab-zoom .workspace-leaf.vt-apply-tab-zoom .markdown-preview-view .release-notes-view,
|
||||||
|
body.vt-enable-tab-zoom .workspace-leaf.vt-apply-tab-zoom .markdown-preview-view .document-replace,
|
||||||
|
body.vt-enable-tab-zoom .workspace-leaf.vt-apply-tab-zoom .markdown-preview-view .browser-content,
|
||||||
|
body.vt-enable-tab-zoom .workspace-leaf.vt-apply-tab-zoom .release-notes-view .markdown-source-view,
|
||||||
|
body.vt-enable-tab-zoom .workspace-leaf.vt-apply-tab-zoom .release-notes-view .markdown-preview-view,
|
||||||
|
body.vt-enable-tab-zoom .workspace-leaf.vt-apply-tab-zoom .release-notes-view .release-notes-view,
|
||||||
|
body.vt-enable-tab-zoom .workspace-leaf.vt-apply-tab-zoom .release-notes-view .document-replace,
|
||||||
|
body.vt-enable-tab-zoom .workspace-leaf.vt-apply-tab-zoom .release-notes-view .browser-content,
|
||||||
|
body.vt-enable-tab-zoom .workspace-leaf.vt-apply-tab-zoom .document-replace .markdown-source-view,
|
||||||
|
body.vt-enable-tab-zoom .workspace-leaf.vt-apply-tab-zoom .document-replace .markdown-preview-view,
|
||||||
|
body.vt-enable-tab-zoom .workspace-leaf.vt-apply-tab-zoom .document-replace .release-notes-view,
|
||||||
|
body.vt-enable-tab-zoom .workspace-leaf.vt-apply-tab-zoom .document-replace .document-replace,
|
||||||
|
body.vt-enable-tab-zoom .workspace-leaf.vt-apply-tab-zoom .document-replace .browser-content,
|
||||||
|
body.vt-enable-tab-zoom .workspace-leaf.vt-apply-tab-zoom .browser-content .markdown-source-view,
|
||||||
|
body.vt-enable-tab-zoom .workspace-leaf.vt-apply-tab-zoom .browser-content .markdown-preview-view,
|
||||||
|
body.vt-enable-tab-zoom .workspace-leaf.vt-apply-tab-zoom .browser-content .release-notes-view,
|
||||||
|
body.vt-enable-tab-zoom .workspace-leaf.vt-apply-tab-zoom .browser-content .document-replace,
|
||||||
|
body.vt-enable-tab-zoom .workspace-leaf.vt-apply-tab-zoom .browser-content .browser-content {
|
||||||
|
zoom: 1;
|
||||||
|
}
|
||||||
|
body.vt-enable-tab-zoom .workspace-leaf.vt-apply-tab-zoom .cm-gap {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
body.vt-enable-tab-zoom .workspace-leaf.vt-apply-tab-zoom .embedded-backlinks,
|
||||||
|
body.vt-enable-tab-zoom .workspace-leaf.vt-apply-tab-zoom .markdown-preview-sizer {
|
||||||
|
min-height: unset !important;
|
||||||
|
}
|
||||||
|
body.vt-enable-tab-zoom .workspace-leaf.vt-apply-tab-zoom .markdown-source-view.mod-cm6.is-readable-line-width .cm-sizer,
|
||||||
|
body.vt-enable-tab-zoom .workspace-leaf.vt-apply-tab-zoom .markdown-source-view.mod-cm6.is-readable-line-width .cm-content,
|
||||||
|
body.vt-enable-tab-zoom .workspace-leaf.vt-apply-tab-zoom .markdown-source-view.mod-cm6.is-readable-line-width .cm-line {
|
||||||
|
max-width: var(--vt-scaled-file-line-width);
|
||||||
|
}
|
||||||
|
body.vt-enable-tab-zoom .workspace-leaf.vt-apply-tab-zoom .markdown-preview-view.is-readable-line-width .markdown-preview-sizer {
|
||||||
|
max-width: var(--vt-scaled-file-line-width);
|
||||||
|
}
|
||||||
|
body.vt-enable-tab-zoom .workspace-leaf.vt-apply-tab-zoom .release-notes-view .is-readable-line-width {
|
||||||
|
max-width: var(--vt-scaled-file-line-width);
|
||||||
|
}
|
||||||
|
body.vt-enable-tab-zoom .workspace-leaf.vt-apply-tab-zoom .document-replace {
|
||||||
|
max-width: var(--vt-scaled-file-line-width);
|
||||||
|
}
|
||||||
|
body.vt-enable-tab-zoom .workspace-leaf.vt-apply-tab-zoom .browser-content .reader-mode-content.is-readable-line-width .markdown-preview-sizer {
|
||||||
|
max-width: var(--vt-scaled-file-line-width);
|
||||||
|
}
|
||||||
|
body.vt-enable-tab-zoom .workspace-leaf.vt-apply-tab-zoom .browser-content .error-notice {
|
||||||
|
max-width: var(--vt-scaled-file-line-width);
|
||||||
|
}
|
||||||
.vertical-tabs {
|
.vertical-tabs {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@@ -112,8 +243,8 @@ body.vt-zen-mode .obsidian-vertical-tabs-container .tree-item.is-group .clickabl
|
|||||||
.obsidian-vertical-tabs-container .tree-item.is-group.is-collapsed .tree-item-children {
|
.obsidian-vertical-tabs-container .tree-item.is-group.is-collapsed .tree-item-children {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.obsidian-vertical-tabs-container .tree-item.is-group .tree-item-icon svg {
|
.obsidian-vertical-tabs-container .tree-item-icon svg.svg-icon.right-triangle {
|
||||||
stroke-width: 4px;
|
stroke-width: 2px;
|
||||||
width: 10px;
|
width: 10px;
|
||||||
height: 10px;
|
height: 10px;
|
||||||
transition: transform 100ms ease-in-out;
|
transition: transform 100ms ease-in-out;
|
||||||
@@ -131,58 +262,9 @@ body.vt-hide-sidebars .obsidian-vertical-tabs-container .tree-item.is-group.is-s
|
|||||||
body.vt-exclude-self .obsidian-vertical-tabs-container .tree-item.is-tab[data-type=vertical-tabs] {
|
body.vt-exclude-self .obsidian-vertical-tabs-container .tree-item.is-tab[data-type=vertical-tabs] {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.obsidian-vertical-tabs-container .tab-slot {
|
|
||||||
height: 30px;
|
|
||||||
background-color: var(--background-modifier-border);
|
|
||||||
border: 1px solid var(--background-modifier-border);
|
|
||||||
border-radius: var(--border-radius);
|
|
||||||
}
|
|
||||||
.obsidian-vertical-tabs-container .tab-slot.is-hidden {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
.obsidian-vertical-tabs-container .tree-item.is-group input {
|
|
||||||
background: transparent;
|
|
||||||
outline: none;
|
|
||||||
border: none;
|
|
||||||
color: inherit;
|
|
||||||
font: inherit;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
.workspace-tab-header[data-type=vertical-tabs] {
|
.workspace-tab-header[data-type=vertical-tabs] {
|
||||||
display: flex !important;
|
display: flex !important;
|
||||||
}
|
}
|
||||||
.obsidian-vertical-tabs-container.is-dragging-group .tree-item.is-group.is-dragging-over,
|
|
||||||
.obsidian-vertical-tabs-container.is-dragging-group .tree-item.is-group:has(.is-dragging-over),
|
|
||||||
.obsidian-vertical-tabs-container:not(.is-dragging-group) .tree-item.is-tab.is-dragging-over,
|
|
||||||
.obsidian-vertical-tabs-container:not(.is-dragging-group) .tree-item.is-group.is-group-slot.is-dragging-over {
|
|
||||||
border-top: 5px solid var(--interactive-accent);
|
|
||||||
}
|
|
||||||
.obsidian-vertical-tabs-container .tree-item {
|
|
||||||
margin-top: -5px;
|
|
||||||
border-top: 5px solid transparent;
|
|
||||||
}
|
|
||||||
.obsidian-vertical-tabs-container .tree-item.is-dragging-self {
|
|
||||||
opacity: 0.5;
|
|
||||||
}
|
|
||||||
.obsidian-vertical-tabs-container:not(.is-dragging-group) .is-tab-slot {
|
|
||||||
height: 6px;
|
|
||||||
background: none !important;
|
|
||||||
}
|
|
||||||
.obsidian-vertical-tabs-container:not(.is-dragging-group) .tree-item.is-group.is-dragging-over .is-tab-slot,
|
|
||||||
.obsidian-vertical-tabs-container:not(.is-dragging-group) .tree-item.is-group:has(.is-dragging-over) .is-tab-slot {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
.obsidian-vertical-tabs-container .is-group-slot {
|
|
||||||
height: 10px;
|
|
||||||
background: none !important;
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
.obsidian-vertical-tabs-container .is-group-slot * {
|
|
||||||
background: none !important;
|
|
||||||
}
|
|
||||||
.obsidian-vertical-tabs-container:not(.is-dragging-group) .is-group-slot {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
.obsidian-vertical-tabs-container .tree-item .clickable-icon[data-action=drag-handle] {
|
.obsidian-vertical-tabs-container .tree-item .clickable-icon[data-action=drag-handle] {
|
||||||
visibility: visible !important;
|
visibility: visible !important;
|
||||||
color: var(--text-faint);
|
color: var(--text-faint);
|
||||||
@@ -197,3 +279,7 @@ body.vt-exclude-self .obsidian-vertical-tabs-container .tree-item.is-tab[data-ty
|
|||||||
.obsidian-vertical-tabs-container .tree-item .drag-handle {
|
.obsidian-vertical-tabs-container .tree-item .drag-handle {
|
||||||
touch-action: none;
|
touch-action: none;
|
||||||
}
|
}
|
||||||
|
.vertical-tabs .nav-header .nav-buttons-container .clickable-icon[data-action=always-open-in-new-tab],
|
||||||
|
.vertical-tabs .nav-header .nav-buttons-container .clickable-icon[data-action=deduplicate-tabs] {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|||||||
Vendored
+10
-8
File diff suppressed because one or more lines are too long
+2
-2
@@ -1,10 +1,10 @@
|
|||||||
{
|
{
|
||||||
"id": "zotlit",
|
"id": "zotlit",
|
||||||
"name": "ZotLit",
|
"name": "ZotLit",
|
||||||
"version": "1.1.8",
|
"version": "1.1.9",
|
||||||
"minAppVersion": "1.6.7",
|
"minAppVersion": "1.6.7",
|
||||||
"versions": {
|
"versions": {
|
||||||
"better-sqlite3": "v11.1.2"
|
"better-sqlite3": "v11.5.0"
|
||||||
},
|
},
|
||||||
"description": "Plugin to integrate with Zotero, create literature notes and insert citations from a Zotero library.",
|
"description": "Plugin to integrate with Zotero, create literature notes and insert citations from a Zotero library.",
|
||||||
"author": "AidenLx",
|
"author": "AidenLx",
|
||||||
|
|||||||
Vendored
+4
@@ -0,0 +1,4 @@
|
|||||||
|
|
||||||
|
|
||||||
|
\newcommand{\mapsfrom}{\mathrel{\unicode{x21a4}}}
|
||||||
|
|
||||||
+6
@@ -155,3 +155,9 @@
|
|||||||
--callout-icon: chevrons-right;
|
--callout-icon: chevrons-right;
|
||||||
/*--callout-icon: corner-down-right;*/
|
/*--callout-icon: corner-down-right;*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.callout[data-callout="lemme"] {
|
||||||
|
/* corollaires à des propositions */
|
||||||
|
--callout-color: 29, 180, 30;
|
||||||
|
--callout-icon: scan;
|
||||||
|
}
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user