Last Sync: 2025-08-09 13:16 (Mobile)
This commit is contained in:
parent
df2eae7538
commit
eb61ffd344
7 changed files with 38 additions and 14 deletions
2
.obsidian/community-plugins.json
vendored
2
.obsidian/community-plugins.json
vendored
|
@ -4,5 +4,5 @@
|
|||
"homepage",
|
||||
"obsidian-style-settings",
|
||||
"lazy-plugins",
|
||||
"dynamic-outline"
|
||||
"iconic"
|
||||
]
|
16
.obsidian/plugins/folder-notes/main.js
vendored
16
.obsidian/plugins/folder-notes/main.js
vendored
|
@ -230,6 +230,11 @@ var ExistingFolderNoteModal = class extends import_obsidian.Modal {
|
|||
// src/template.ts
|
||||
var import_obsidian2 = require("obsidian");
|
||||
async function applyTemplate(plugin, file, leaf, templatePath) {
|
||||
const fileContent = await plugin.app.vault.read(file).catch((err) => {
|
||||
console.error(`Error reading file ${file.path}:`, err);
|
||||
});
|
||||
if (fileContent !== "")
|
||||
return;
|
||||
const templateFile = templatePath ? plugin.app.vault.getAbstractFileByPath(templatePath) : null;
|
||||
if (templateFile && templateFile instanceof import_obsidian2.TFile) {
|
||||
try {
|
||||
|
@ -3779,12 +3784,18 @@ var TemplateSuggest = class extends import_obsidian21.AbstractInputSuggest {
|
|||
if ((!templateFolder || templateFolder.trim() === "") && !templaterPlugin) {
|
||||
files = this.plugin.app.vault.getFiles().filter((file) => file.path.toLowerCase().includes(lower_input_str));
|
||||
} else {
|
||||
let folder;
|
||||
let folder = null;
|
||||
if (templaterPlugin) {
|
||||
folder = this.plugin.app.vault.getAbstractFileByPath((_b = (_a = templaterPlugin.plugin) == null ? void 0 : _a.settings) == null ? void 0 : _b.templates_folder);
|
||||
if (!(folder instanceof import_obsidian21.TFolder)) {
|
||||
return [{ path: "", name: "You need to set the Templates folder in the Templater settings first." }];
|
||||
}
|
||||
} else {
|
||||
folder = this.plugin.app.vault.getAbstractFileByPath(templateFolder);
|
||||
}
|
||||
if (!(folder instanceof import_obsidian21.TFolder)) {
|
||||
return [];
|
||||
}
|
||||
import_obsidian21.Vault.recurseChildren(folder, (file) => {
|
||||
if (file instanceof import_obsidian21.TFile && file.path.toLowerCase().includes(lower_input_str)) {
|
||||
files.push(file);
|
||||
|
@ -8111,6 +8122,9 @@ var FolderNotesPlugin = class extends import_obsidian48.Plugin {
|
|||
this.registerDomEvent(document, "click", (evt) => {
|
||||
this.handleFileExplorerClick(evt);
|
||||
}, true);
|
||||
this.registerDomEvent(document, "auxclick", (evt) => {
|
||||
this.handleFileExplorerClick(evt);
|
||||
}, true);
|
||||
const fileExplorerPlugin = this.app.internalPlugins.getEnabledPluginById("file-explorer");
|
||||
if (fileExplorerPlugin) {
|
||||
const originalRevealInFolder = fileExplorerPlugin.revealInFolder.bind(fileExplorerPlugin);
|
||||
|
|
2
.obsidian/plugins/folder-notes/manifest.json
vendored
2
.obsidian/plugins/folder-notes/manifest.json
vendored
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"id": "folder-notes",
|
||||
"name": "Folder notes",
|
||||
"version": "1.8.15",
|
||||
"version": "1.8.16",
|
||||
"minAppVersion": "0.15.0",
|
||||
"description": "Create notes within folders that can be accessed without collapsing the folder, similar to the functionality offered in Notion.",
|
||||
"author": "Lost Paul",
|
||||
|
|
7
.obsidian/plugins/lazy-plugins/data.json
vendored
7
.obsidian/plugins/lazy-plugins/data.json
vendored
|
@ -59,6 +59,7 @@
|
|||
"delayBetweenPlugins": 40,
|
||||
"defaultStartupType": "short",
|
||||
"showDescriptions": true,
|
||||
"enableDependencies": false,
|
||||
"plugins": {
|
||||
"dataview": {
|
||||
"startupType": "short"
|
||||
|
@ -95,6 +96,12 @@
|
|||
},
|
||||
"obsidian-icon-shortcodes": {
|
||||
"startupType": "long"
|
||||
},
|
||||
"obsidian-sortable": {
|
||||
"startupType": "short"
|
||||
},
|
||||
"typewriter-mode": {
|
||||
"startupType": "short"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
2
.obsidian/plugins/lineage/data.json
vendored
2
.obsidian/plugins/lineage/data.json
vendored
|
@ -2,7 +2,7 @@
|
|||
"documents": {
|
||||
"Campagnes/Absolue Nécessité/AN-0.md": {
|
||||
"documentFormat": "sections",
|
||||
"viewType": "lineage",
|
||||
"viewType": "markdown",
|
||||
"activeSection": "2.1.1.1",
|
||||
"pinnedSections": {
|
||||
"sections": []
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"Bienvenue.md":{"anchor":0,"head":0},"Campagnes/Absolue Nécessité/Personnages/Gustavio.md":{"anchor":1152,"head":1152},"Campagnes/Absolue Nécessité/Personnages/Althéa.md":{"anchor":1490,"head":1490},"Campagnes/Absolue Nécessité/Lieux/Cité Franche.md":{"anchor":4025,"head":4025},"Templates/character.md":{"anchor":608,"head":608},"Templates/Statblock v2.md":{"anchor":983,"head":983},"Campagnes/Absolue Nécessité/AN-Préface.md":{"anchor":990,"head":990},"Atlas/Créatures/Aristocrate.md":{"anchor":1111,"head":1111},"Atlas/Créatures/Bandits Vampiriens.md":{"anchor":3215,"head":3215},"Campagnes/Absolue Nécessité/AN-0.md":{"anchor":4652,"head":4652},"Campagnes/Absolue Nécessité/Personnages/Hrysanthéïs.md":{"anchor":88,"head":88}}
|
||||
{}
|
21
.obsidian/workspace-mobile.json
vendored
21
.obsidian/workspace-mobile.json
vendored
|
@ -49,7 +49,7 @@
|
|||
"state": {
|
||||
"type": "search",
|
||||
"state": {
|
||||
"query": "[\"métier\"]",
|
||||
"query": "",
|
||||
"matchingCase": false,
|
||||
"explainSearch": false,
|
||||
"collapseAll": false,
|
||||
|
@ -67,7 +67,9 @@
|
|||
"type": "tag",
|
||||
"state": {
|
||||
"sortOrder": "frequency",
|
||||
"useHierarchy": true
|
||||
"useHierarchy": true,
|
||||
"showSearch": false,
|
||||
"searchQuery": ""
|
||||
},
|
||||
"icon": "lucide-tags",
|
||||
"title": "Tags"
|
||||
|
@ -143,7 +145,7 @@
|
|||
"state": {
|
||||
"type": "outline",
|
||||
"state": {
|
||||
"file": "Campagnes/Absolue Nécessité/Personnages/Baron Terdéric d'Azura.md",
|
||||
"file": "Bienvenue.md",
|
||||
"followCursor": false,
|
||||
"showSearch": false,
|
||||
"searchQuery": ""
|
||||
|
@ -182,19 +184,20 @@
|
|||
"active": "e7a7b303c61786dc",
|
||||
"lastOpenFiles": [
|
||||
"Bienvenue.md",
|
||||
"Campagnes/Absolue Nécessité/Personnages/Personnages.md",
|
||||
"Campagnes/Absolue Nécessité/AN-0.md",
|
||||
"Campagnes/Absolue Nécessité/Absolue Nécessité.canvas",
|
||||
"Campagnes/Absolue Nécessité/AN-Préface.md",
|
||||
"Sandbox.md",
|
||||
"Campagnes/Absolue Nécessité/Lieux/Cité Franche.md",
|
||||
"Campagnes/Absolue Nécessité/Personnages/Personnages.md",
|
||||
"Campagnes/Absolue Nécessité/Personnages/Hrysanthéïs.md",
|
||||
"Campagnes/Absolue Nécessité/Personnages/Baron Terdéric d'Azura.md",
|
||||
"Campagnes/Absolue Nécessité/Personnages/Althéa.md",
|
||||
"Campagnes/Absolue Nécessité/Lieux/Cité Franche.md",
|
||||
"Sandbox.md",
|
||||
"Templates/character.md",
|
||||
"Campagnes/Absolue Nécessité/Lieux/Cyrillane.md",
|
||||
"Campagnes/Absolue Nécessité/Personnages/Hrysanthéïs.md",
|
||||
"Campagnes/Absolue Nécessité/Personnages/Gustavio.md",
|
||||
"illustrations/Baron.jpg",
|
||||
"Templates/Statblock v2.md",
|
||||
"Templates/Statblock.md",
|
||||
"Campagnes/Absolue Nécessité/Absolue Nécessité.canvas"
|
||||
"Templates/Statblock.md"
|
||||
]
|
||||
}
|
Loading…
Reference in a new issue