This commit is contained in:
yuxuanhui
2026-08-31 09:38:04 +08:00
parent dd318e2422
commit 3beb3afa7f
28 changed files with 19206 additions and 16 deletions
@@ -0,0 +1,37 @@
{
"attachmentFolderPath": "./assets/${noteFileName}",
"attachmentRenameMode": "Only pasted images",
"collectAttachmentUsedByMultipleNotesMode": "Skip",
"collectedAttachmentFileName": "",
"convertImagesToJpegMode": "None",
"customTokensStr": "",
"defaultImageSize": "",
"defaultImageSizeDimension": "width",
"downloadNetworkImages": false,
"duplicateNameSeparator": " ",
"emptyFolderBehavior": "DeleteWithEmptyParents",
"excludePaths": [],
"excludePathsFromAttachmentCollecting": [],
"excludePathsFromMultipleNotesCheck": [],
"generatedAttachmentFileName": "file-${date:{momentJsFormat:'YYYYMMDDHHmmssSSS'}}",
"includePaths": [],
"jpegQuality": 0.8,
"markdownUrlFormat": "",
"moveAttachmentToProperFolderUsedByMultipleNotesMode": "CopyAll",
"networkImageDownloadTimeoutInSeconds": 30,
"renamedAttachmentFileName": "",
"shouldDeleteOrphanAttachments": false,
"shouldHandleRenames": true,
"shouldRenameAttachmentFiles": false,
"shouldRenameAttachmentFolder": true,
"shouldRenameCollectedAttachments": false,
"shouldSetLinkDisplayTextToAttachmentFileName": false,
"shouldSkipCollectingAttachmentsReferencedByRawPath": false,
"specialCharacters": "#^[]|*\\<>:?/",
"specialCharactersReplacement": "-",
"timeoutInSeconds": 5,
"treatAsAttachmentExtensions": [
".excalidraw.md"
],
"version": "11.6.3"
}
File diff suppressed because one or more lines are too long
@@ -0,0 +1,11 @@
{
"id": "obsidian-custom-attachment-location",
"name": "Custom Attachment Location",
"version": "11.6.3",
"minAppVersion": "1.13.4",
"description": "Customize attachment location with variables(${noteFileName}, ${date:format}, etc) like typora.",
"author": "mnaoumov (created by RainCat1998)",
"authorUrl": "https://github.com/mnaoumov/",
"isDesktopOnly": false,
"fundingUrl": "https://www.buymeacoffee.com/mnaoumov"
}
@@ -0,0 +1 @@
.obsidian-custom-attachment-location.obsidian-dev-utils.code-highlighter-component textarea.tokenized-string-setting-control{height:6em}.obsidian-custom-attachment-location.obsidian-dev-utils.multiple-text-component textarea{height:6em;width:20em}.obsidian-custom-attachment-location.obsidian-dev-utils.code-highlighter-component textarea.custom-tokens-setting-control{height:18em;width:36em}.obsidian-custom-attachment-location.prompt-modal .cancel-button{margin-right:10px}.obsidian-custom-attachment-location.preview-modal .preview-container{overflow:auto}.obsidian-custom-attachment-location.preview-modal .preview-container.image-embed img,.obsidian-custom-attachment-location.preview-modal .preview-container.video-embed video{max-width:100%;max-height:100%;object-fit:contain}.obsidian-custom-attachment-location .highlighted-token{color:var(--text-accent)}.obsidian-custom-attachment-location .default-image-size-dimension-setting-control{margin-left:5px}