Init
This commit is contained in:
383
.obsidian/plugins/quickadd/data.json
vendored
Normal file
383
.obsidian/plugins/quickadd/data.json
vendored
Normal file
@@ -0,0 +1,383 @@
|
||||
{
|
||||
"choices": [
|
||||
{
|
||||
"id": "60672b6c-97d2-453b-b3f1-9499ab98dceb",
|
||||
"name": "======笔记流======",
|
||||
"type": "Multi",
|
||||
"command": false,
|
||||
"choices": []
|
||||
},
|
||||
{
|
||||
"id": "c9be665d-d937-4c60-8111-ac0cc35a2834",
|
||||
"name": "新建UE笔记",
|
||||
"type": "Template",
|
||||
"command": false,
|
||||
"templatePath": "09-Templates/UE笔记.md",
|
||||
"fileNameFormat": {
|
||||
"enabled": false,
|
||||
"format": ""
|
||||
},
|
||||
"folder": {
|
||||
"enabled": true,
|
||||
"folders": [
|
||||
"03-UnrealEngine/Editor",
|
||||
"03-UnrealEngine/Gameplay",
|
||||
"03-UnrealEngine/RayTracing",
|
||||
"03-UnrealEngine/卡通渲染",
|
||||
"03-UnrealEngine/流程管理与部署",
|
||||
"03-UnrealEngine/性能优化"
|
||||
],
|
||||
"chooseWhenCreatingNote": false,
|
||||
"createInSameFolderAsActiveFile": false
|
||||
},
|
||||
"appendLink": false,
|
||||
"incrementFileName": false,
|
||||
"openFileInNewTab": {
|
||||
"enabled": false,
|
||||
"direction": "vertical",
|
||||
"focus": true
|
||||
},
|
||||
"openFile": false,
|
||||
"openFileInMode": "default"
|
||||
},
|
||||
{
|
||||
"id": "4ebf230e-3926-4d2e-ae58-f3832cdb5995",
|
||||
"name": "======更新流======",
|
||||
"type": "Multi",
|
||||
"command": false,
|
||||
"choices": [],
|
||||
"collapsed": false
|
||||
},
|
||||
{
|
||||
"id": "345b5f19-f072-4738-93f8-f53ff692e098",
|
||||
"name": "Github上传笔记",
|
||||
"type": "Macro",
|
||||
"command": true,
|
||||
"macroId": "a8caa5bc-17ae-4b7e-9080-0361b8e70d9b"
|
||||
},
|
||||
{
|
||||
"id": "0159f9d5-8a2a-410e-9af8-6fcc97fb85f3",
|
||||
"name": "======日志流======",
|
||||
"type": "Multi",
|
||||
"command": false,
|
||||
"choices": [],
|
||||
"collapsed": false
|
||||
},
|
||||
{
|
||||
"id": "13aa960e-9e3e-4aec-b6aa-35adf841a841",
|
||||
"name": "⏱️随手记记",
|
||||
"type": "Capture",
|
||||
"command": true,
|
||||
"appendLink": false,
|
||||
"captureTo": "01-Diary/日志存档/{{DATE:YYYY-MM-DD}}.md",
|
||||
"captureToActiveFile": false,
|
||||
"createFileIfItDoesntExist": {
|
||||
"enabled": true,
|
||||
"createWithTemplate": true,
|
||||
"template": "09-Templates/日志模板.md"
|
||||
},
|
||||
"format": {
|
||||
"enabled": true,
|
||||
"format": "\\n- <% tp.date.now(\"HH:mm\") %> {{VALUE:⏱️Tracking}}\n"
|
||||
},
|
||||
"insertAfter": {
|
||||
"enabled": true,
|
||||
"after": "## Tracking",
|
||||
"insertAtEnd": false,
|
||||
"createIfNotFound": false,
|
||||
"createIfNotFoundLocation": "top"
|
||||
},
|
||||
"prepend": false,
|
||||
"task": false,
|
||||
"openFileInNewTab": {
|
||||
"enabled": false,
|
||||
"direction": "vertical",
|
||||
"focus": true
|
||||
},
|
||||
"openFile": false,
|
||||
"openFileInMode": "default"
|
||||
},
|
||||
{
|
||||
"id": "aaebfa0f-d697-4c2c-8da5-e31a341b2354",
|
||||
"name": "🐷每周小结",
|
||||
"type": "Template",
|
||||
"command": false,
|
||||
"templatePath": "09-Templates/每周小结.md",
|
||||
"fileNameFormat": {
|
||||
"enabled": true,
|
||||
"format": "{{DATE}}_周小结"
|
||||
},
|
||||
"folder": {
|
||||
"enabled": true,
|
||||
"folders": [
|
||||
"01-Diary/周小结"
|
||||
],
|
||||
"chooseWhenCreatingNote": false,
|
||||
"createInSameFolderAsActiveFile": false
|
||||
},
|
||||
"appendLink": true,
|
||||
"incrementFileName": false,
|
||||
"openFileInNewTab": {
|
||||
"enabled": false,
|
||||
"direction": "vertical",
|
||||
"focus": true
|
||||
},
|
||||
"openFile": true,
|
||||
"openFileInMode": "default"
|
||||
},
|
||||
{
|
||||
"id": "f42d88c6-48a3-4969-b71a-0b71507aeb12",
|
||||
"name": "📒草稿归档",
|
||||
"type": "Capture",
|
||||
"command": false,
|
||||
"appendLink": false,
|
||||
"captureTo": "",
|
||||
"captureToActiveFile": true,
|
||||
"createFileIfItDoesntExist": {
|
||||
"enabled": false,
|
||||
"createWithTemplate": false,
|
||||
"template": ""
|
||||
},
|
||||
"format": {
|
||||
"enabled": true,
|
||||
"format": "<% tp.user.auto_transfer() %>"
|
||||
},
|
||||
"insertAfter": {
|
||||
"enabled": false,
|
||||
"after": "",
|
||||
"insertAtEnd": false,
|
||||
"createIfNotFound": false,
|
||||
"createIfNotFoundLocation": "top"
|
||||
},
|
||||
"prepend": false,
|
||||
"task": false,
|
||||
"openFileInNewTab": {
|
||||
"enabled": false,
|
||||
"direction": "vertical",
|
||||
"focus": true
|
||||
},
|
||||
"openFile": false,
|
||||
"openFileInMode": "default"
|
||||
},
|
||||
{
|
||||
"id": "175a90c9-c98f-422b-90f5-54268ccfdf72",
|
||||
"name": "🦁月度总结",
|
||||
"type": "Template",
|
||||
"command": false,
|
||||
"templatePath": "09-Templates/每月总结.md",
|
||||
"fileNameFormat": {
|
||||
"enabled": true,
|
||||
"format": "{{DATE:YYYY-MM}}_月总结"
|
||||
},
|
||||
"folder": {
|
||||
"enabled": true,
|
||||
"folders": [
|
||||
"01-Diary/月总结"
|
||||
],
|
||||
"chooseWhenCreatingNote": false,
|
||||
"createInSameFolderAsActiveFile": false
|
||||
},
|
||||
"appendLink": true,
|
||||
"incrementFileName": false,
|
||||
"openFileInNewTab": {
|
||||
"enabled": true,
|
||||
"direction": "vertical",
|
||||
"focus": true
|
||||
},
|
||||
"openFile": true,
|
||||
"openFileInMode": "default"
|
||||
},
|
||||
{
|
||||
"id": "6267521f-9225-4f4c-a926-6ecfd471c92a",
|
||||
"name": "======项目流======",
|
||||
"type": "Multi",
|
||||
"command": false,
|
||||
"choices": [],
|
||||
"collapsed": false
|
||||
},
|
||||
{
|
||||
"id": "38c1c363-5d3e-4203-b7f4-7e18d7c7b9f1",
|
||||
"name": "🐮新增任务",
|
||||
"type": "Capture",
|
||||
"command": true,
|
||||
"appendLink": false,
|
||||
"captureTo": "00-MOC/任务看板.md",
|
||||
"captureToActiveFile": false,
|
||||
"createFileIfItDoesntExist": {
|
||||
"enabled": false,
|
||||
"createWithTemplate": false,
|
||||
"template": ""
|
||||
},
|
||||
"format": {
|
||||
"enabled": true,
|
||||
"format": "- [ ] {{VALUE:New Task}} @[[<% tp.date.now(\"YYYY-MM-DD\") %>]] @@{<% tp.date.now(\"HH:mm:ss\") %>}\\n"
|
||||
},
|
||||
"insertAfter": {
|
||||
"enabled": true,
|
||||
"after": "## Todo",
|
||||
"insertAtEnd": false,
|
||||
"createIfNotFound": false,
|
||||
"createIfNotFoundLocation": "top"
|
||||
},
|
||||
"prepend": false,
|
||||
"task": false,
|
||||
"openFileInNewTab": {
|
||||
"enabled": false,
|
||||
"direction": "vertical",
|
||||
"focus": true
|
||||
},
|
||||
"openFile": false,
|
||||
"openFileInMode": "default"
|
||||
},
|
||||
{
|
||||
"id": "a506b2f6-0d81-421d-993f-1347c3da1873",
|
||||
"name": "📂插入路径",
|
||||
"type": "Capture",
|
||||
"command": true,
|
||||
"appendLink": false,
|
||||
"captureTo": "",
|
||||
"captureToActiveFile": true,
|
||||
"createFileIfItDoesntExist": {
|
||||
"enabled": false,
|
||||
"createWithTemplate": false,
|
||||
"template": ""
|
||||
},
|
||||
"format": {
|
||||
"enabled": true,
|
||||
"format": "[📂{{VALUE}}](file:///{{VALUE}})"
|
||||
},
|
||||
"insertAfter": {
|
||||
"enabled": false,
|
||||
"after": "",
|
||||
"insertAtEnd": false,
|
||||
"createIfNotFound": false,
|
||||
"createIfNotFoundLocation": "top"
|
||||
},
|
||||
"prepend": false,
|
||||
"task": false,
|
||||
"openFileInNewTab": {
|
||||
"enabled": false,
|
||||
"direction": "vertical",
|
||||
"focus": true
|
||||
},
|
||||
"openFile": false,
|
||||
"openFileInMode": "default"
|
||||
},
|
||||
{
|
||||
"id": "26267e74-e47e-4b21-8c2a-9ea6f1dbbdb9",
|
||||
"name": "🐸任务存档",
|
||||
"type": "Capture",
|
||||
"command": false,
|
||||
"appendLink": false,
|
||||
"captureTo": "",
|
||||
"captureToActiveFile": true,
|
||||
"createFileIfItDoesntExist": {
|
||||
"enabled": false,
|
||||
"createWithTemplate": false,
|
||||
"template": ""
|
||||
},
|
||||
"format": {
|
||||
"enabled": true,
|
||||
"format": "<% tp.user.archived_task_gantt() %>"
|
||||
},
|
||||
"insertAfter": {
|
||||
"enabled": false,
|
||||
"after": "",
|
||||
"insertAtEnd": false,
|
||||
"createIfNotFound": false,
|
||||
"createIfNotFoundLocation": "top"
|
||||
},
|
||||
"prepend": false,
|
||||
"task": false,
|
||||
"openFileInNewTab": {
|
||||
"enabled": false,
|
||||
"direction": "vertical",
|
||||
"focus": true
|
||||
},
|
||||
"openFile": false,
|
||||
"openFileInMode": "default"
|
||||
},
|
||||
{
|
||||
"id": "6cbe6f1f-61ae-434e-a809-33d12e951b33",
|
||||
"name": "📦导出项目",
|
||||
"type": "Capture",
|
||||
"command": false,
|
||||
"appendLink": false,
|
||||
"captureTo": "",
|
||||
"captureToActiveFile": true,
|
||||
"createFileIfItDoesntExist": {
|
||||
"enabled": false,
|
||||
"createWithTemplate": false,
|
||||
"template": ""
|
||||
},
|
||||
"format": {
|
||||
"enabled": true,
|
||||
"format": "<% tp.user.export_project() %>"
|
||||
},
|
||||
"insertAfter": {
|
||||
"enabled": false,
|
||||
"after": "",
|
||||
"insertAtEnd": false,
|
||||
"createIfNotFound": false,
|
||||
"createIfNotFoundLocation": "top"
|
||||
},
|
||||
"prepend": true,
|
||||
"task": false,
|
||||
"openFileInNewTab": {
|
||||
"enabled": false,
|
||||
"direction": "vertical",
|
||||
"focus": true
|
||||
},
|
||||
"openFile": false,
|
||||
"openFileInMode": "default"
|
||||
}
|
||||
],
|
||||
"macros": [
|
||||
{
|
||||
"name": "定向内容",
|
||||
"id": "2751c8b9-04af-452e-8a77-f722155996fd",
|
||||
"commands": [
|
||||
{
|
||||
"name": "Templater: Insert Template",
|
||||
"type": "Obsidian",
|
||||
"id": "b5d02fb5-1949-40fd-889e-fce5a5704134",
|
||||
"commandId": "templater-obsidian:insert-templater"
|
||||
},
|
||||
{
|
||||
"name": "文件列表: 将文件移动到其他文件夹",
|
||||
"type": "Obsidian",
|
||||
"id": "a7c2da82-1a68-4743-b4f7-84f0b7822ae8",
|
||||
"commandId": "file-explorer:move-file"
|
||||
}
|
||||
],
|
||||
"runOnStartup": false
|
||||
},
|
||||
{
|
||||
"name": "Git Commit Push",
|
||||
"id": "a8caa5bc-17ae-4b7e-9080-0361b8e70d9b",
|
||||
"commands": [
|
||||
{
|
||||
"name": "Obsidian Git: Pull",
|
||||
"type": "Obsidian",
|
||||
"id": "8e921e41-fea5-4869-9211-1fe82210584a",
|
||||
"commandId": "obsidian-git:pull"
|
||||
},
|
||||
{
|
||||
"name": "Obsidian Git: Commit all changes",
|
||||
"type": "Obsidian",
|
||||
"id": "cc02208d-2cb6-49af-acad-c8c6a1cf81a8",
|
||||
"commandId": "obsidian-git:commit"
|
||||
},
|
||||
{
|
||||
"name": "Obsidian Git: Push",
|
||||
"type": "Obsidian",
|
||||
"id": "1281d788-b0d0-4ddc-a666-7699a73d1c9d",
|
||||
"commandId": "obsidian-git:push2"
|
||||
}
|
||||
],
|
||||
"runOnStartup": false
|
||||
}
|
||||
],
|
||||
"inputPrompt": "multi-line",
|
||||
"devMode": false
|
||||
}
|
38168
.obsidian/plugins/quickadd/main.js
vendored
Normal file
38168
.obsidian/plugins/quickadd/main.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
10
.obsidian/plugins/quickadd/manifest.json
vendored
Normal file
10
.obsidian/plugins/quickadd/manifest.json
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"id": "quickadd",
|
||||
"name": "QuickAdd",
|
||||
"version": "0.8.0",
|
||||
"minAppVersion": "0.13.19",
|
||||
"description": "Quickly add new pages or content to your vault.",
|
||||
"author": "Christian B. B. Houmann",
|
||||
"authorUrl": "https://bagerbach.com",
|
||||
"isDesktopOnly": false
|
||||
}
|
210
.obsidian/plugins/quickadd/styles.css
vendored
Normal file
210
.obsidian/plugins/quickadd/styles.css
vendored
Normal file
@@ -0,0 +1,210 @@
|
||||
.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;
|
||||
}
|
||||
|
||||
/* Mobile */
|
||||
@media screen and (max-width: 540px) {
|
||||
.macroContainer1 {
|
||||
grid-template-columns: repeat(1, 1fr);
|
||||
}
|
||||
|
||||
.macroContainer2 {
|
||||
grid-template-columns: repeat(1, 1fr);
|
||||
}
|
||||
|
||||
.macroContainer3 {
|
||||
grid-template-columns: repeat(1, 1fr);
|
||||
}
|
||||
|
||||
.wideInputPromptInputEl {
|
||||
width: 20rem;
|
||||
max-width: 100%;
|
||||
height: 3rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* Tablet */
|
||||
@media screen and (max-width: 540px) and (max-width: 780px) {
|
||||
.macroContainer1 {
|
||||
grid-template-columns: repeat(1, 1fr);
|
||||
}
|
||||
|
||||
.macroContainer2 {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
|
||||
.macroContainer3 {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
|
||||
.wideInputPromptInputEl {
|
||||
width: 30rem;
|
||||
max-width: 100%;
|
||||
height: 20rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* Everything else */
|
||||
@media screen and (min-width: 781px) {
|
||||
.macroContainer1 {
|
||||
grid-template-columns: repeat(1, 1fr);
|
||||
}
|
||||
|
||||
.macroContainer2 {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
|
||||
.macroContainer3 {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
|
||||
.wideInputPromptInputEl {
|
||||
width: 40rem;
|
||||
max-width: 100%;
|
||||
height: 20rem;
|
||||
}
|
||||
}
|
||||
|
||||
.addMacroBarContainer {
|
||||
display: flex;
|
||||
align-content: center;
|
||||
justify-content: space-around;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.captureToActiveFileContainer {
|
||||
display: flex;
|
||||
align-content: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.choiceNameHeader {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.choiceNameHeader:hover {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.folderInputContainer {
|
||||
display: flex;
|
||||
align-content: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 8px;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.selectMacroDropdownContainer {
|
||||
display: flex;
|
||||
align-content: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.quickAddModal .modal {
|
||||
min-width: 35%;
|
||||
overflow-y: auto;
|
||||
max-height: 70%;
|
||||
}
|
||||
|
||||
.checkboxRowContainer {
|
||||
display: grid;
|
||||
grid-template-rows: auto;
|
||||
align-content: center;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
.yesNoPromptButtonContainer {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-around;
|
||||
margin-top: 2rem;
|
||||
}
|
||||
|
||||
.yesNoPromptParagraph {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.qaFileSuggestionItem {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.qaFileSuggestionItem .suggestion-main-text {
|
||||
font-weight: bold;
|
||||
}
|
||||
.qaFileSuggestionItem .suggestion-sub-text {
|
||||
font-style: italic;
|
||||
}
|
Reference in New Issue
Block a user