Compare commits
135 Commits
4f7453b79c
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| a432670752 | |||
| ca7709d9d8 | |||
| 8649325b7b | |||
| 0863bde155 | |||
| 8b0126ecb3 | |||
| 1fac510f07 | |||
| 87bfcfbec5 | |||
| 4512bd2fd4 | |||
| be7b663a73 | |||
| 5c2bbcb09c | |||
| 31e18c8f73 | |||
| 63f81386a9 | |||
| a3bcf83819 | |||
| c5c2713ed9 | |||
| 034ba3290e | |||
| 6ae9c45a9a | |||
| 63491217b0 | |||
| ccfad0ec59 | |||
| 0130aa6587 | |||
| a270968f0c | |||
| 054893987f | |||
|
|
3b706455bb | ||
|
|
ba8a41ce65 | ||
|
|
e7f2988306 | ||
|
|
89bcd15ba6 | ||
|
|
fb4c240c9f | ||
|
|
64b8bc34f0 | ||
|
|
28903041ae | ||
|
|
a8663a6f6d | ||
|
|
0626f8579e | ||
|
|
cca4694a2b | ||
|
|
c369cb4ae1 | ||
|
|
3531b107e4 | ||
|
|
c493060783 | ||
| 2a74099e56 | |||
| faa068aa7c | |||
| 5d4b06f843 | |||
| a2f79f2554 | |||
| 7e7ea108de | |||
| e2d271d982 | |||
| 73f7ae4160 | |||
| c76dbced40 | |||
| 5c0b74922d | |||
| 656e13dc05 | |||
| 11f20b00fb | |||
| a687c67dc3 | |||
| d533882f1f | |||
| a9e4ec1252 | |||
| 399bb9515a | |||
| 397142882b | |||
| 2646a5af82 | |||
| 92c7a57be7 | |||
| 4222fefa51 | |||
| 6b3e45d1c5 | |||
| 0f34f02941 | |||
| 8c574d7d97 | |||
| 9ecc9a7501 | |||
| f585586a9b | |||
| 50b99a8d39 | |||
| e05f1e1918 | |||
| 73122211ac | |||
| a57bd75fb5 | |||
| b09df8cde0 | |||
| 687d8242fe | |||
| fd0ac667bf | |||
| 04bfbc9c0a | |||
| 2a607e0615 | |||
| 52c2eb53da | |||
| 5bf371ff29 | |||
| ae6e46a8f4 | |||
| e1996dd103 | |||
| 1ee0070d32 | |||
| 2fa235a48d | |||
| d061b13e5a | |||
| 75d131be44 | |||
| b564220130 | |||
| b16cf849cc | |||
| 9ce9ddf3e0 | |||
| 8bea90e8ff | |||
| 876e6b0afb | |||
| 789a6d58fc | |||
| 35c23549d8 | |||
| 622fcc1732 | |||
| c222603900 | |||
| 3fcb6a9812 | |||
| 250a222be2 | |||
| 42bae0433f | |||
| a9325131d6 | |||
| f80c2d61a3 | |||
| 7ca5d65a11 | |||
| 334db3b2e2 | |||
| 34bdbd649f | |||
| 5e40867e74 | |||
| 91da08624d | |||
| ca8ce9abed | |||
| a56b3ad3c6 | |||
| 432b821dea | |||
| 7e11a90d8d | |||
| db5c28e3bd | |||
| 9a299d6060 | |||
| 75c5402fb1 | |||
| 36034a9d51 | |||
| f1bf108986 | |||
| 7d6c6e28da | |||
| aa12a814a4 | |||
| cc5f2c1539 | |||
| 81189509ea | |||
| c1c205d210 | |||
| 1b8a83bfac | |||
| 0d9a161d4b | |||
| ce9191b95a | |||
| a137ed5765 | |||
| 1071bf2248 | |||
| b971b36d9b | |||
| d3ac1d15dc | |||
| 790358c69a | |||
| 11fa0114e0 | |||
| 2be3789033 | |||
| 28a6309769 | |||
| 8891517cef | |||
| 3389d5abc7 | |||
| a797eb1985 | |||
| 85df324fc5 | |||
| f83481ea16 | |||
| b9abd63983 | |||
| 38c04781ea | |||
| 5484ce1ac9 | |||
| d1a97e0c19 | |||
| b5ecce21c5 | |||
| d192de222e | |||
| eac6ddd746 | |||
| 8af0c88db0 | |||
| 114c85c1b0 | |||
| 072605d1ff | |||
| 1ac50a68e8 |
2
.obsidian/app.json
vendored
2
.obsidian/app.json
vendored
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"promptDelete": false,
|
"promptDelete": false,
|
||||||
"newLinkFormat": "relative",
|
"newLinkFormat": "relative",
|
||||||
"attachmentFolderPath": "./assets/Lesson 1",
|
"attachmentFolderPath": "./assets/未命名",
|
||||||
"showUnsupportedFiles": false,
|
"showUnsupportedFiles": false,
|
||||||
"newFileLocation": "current",
|
"newFileLocation": "current",
|
||||||
"useMarkdownLinks": true,
|
"useMarkdownLinks": true,
|
||||||
|
|||||||
2
.obsidian/appearance.json
vendored
2
.obsidian/appearance.json
vendored
@@ -2,7 +2,7 @@
|
|||||||
"accentColor": "",
|
"accentColor": "",
|
||||||
"cssTheme": "Minimal",
|
"cssTheme": "Minimal",
|
||||||
"monospaceFontFamily": "Maple Mono SC NF",
|
"monospaceFontFamily": "Maple Mono SC NF",
|
||||||
"theme": "moonstone",
|
"theme": "system",
|
||||||
"interfaceFontFamily": "霞鹜文楷",
|
"interfaceFontFamily": "霞鹜文楷",
|
||||||
"textFontFamily": "霞鹜文楷等宽",
|
"textFontFamily": "霞鹜文楷等宽",
|
||||||
"translucency": false
|
"translucency": false
|
||||||
|
|||||||
3
.obsidian/community-plugins.json
vendored
3
.obsidian/community-plugins.json
vendored
@@ -11,5 +11,6 @@
|
|||||||
"obsidian-excalidraw-plugin",
|
"obsidian-excalidraw-plugin",
|
||||||
"obsidian-custom-attachment-location",
|
"obsidian-custom-attachment-location",
|
||||||
"notion-like-tables",
|
"notion-like-tables",
|
||||||
"obsidian-git"
|
"obsidian-git",
|
||||||
|
"obsidian-zotero-desktop-connector"
|
||||||
]
|
]
|
||||||
52
.obsidian/core-plugins.json
vendored
52
.obsidian/core-plugins.json
vendored
@@ -1,18 +1,34 @@
|
|||||||
[
|
{
|
||||||
"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,
|
||||||
"templates",
|
"page-preview": true,
|
||||||
"note-composer",
|
"daily-notes": false,
|
||||||
"command-palette",
|
"templates": true,
|
||||||
"editor-status",
|
"note-composer": true,
|
||||||
"bookmarks",
|
"command-palette": true,
|
||||||
"outline",
|
"slash-command": false,
|
||||||
"word-count",
|
"editor-status": true,
|
||||||
"file-recovery"
|
"starred": true,
|
||||||
]
|
"markdown-importer": false,
|
||||||
|
"zk-prefixer": false,
|
||||||
|
"random-note": false,
|
||||||
|
"outline": true,
|
||||||
|
"word-count": true,
|
||||||
|
"slides": false,
|
||||||
|
"audio-recorder": false,
|
||||||
|
"workspaces": false,
|
||||||
|
"file-recovery": true,
|
||||||
|
"publish": false,
|
||||||
|
"sync": false,
|
||||||
|
"bookmarks": true,
|
||||||
|
"properties": false,
|
||||||
|
"webviewer": false,
|
||||||
|
"footnotes": false,
|
||||||
|
"bases": true
|
||||||
|
}
|
||||||
1286
.obsidian/plugins/dataview/main.js
vendored
1286
.obsidian/plugins/dataview/main.js
vendored
File diff suppressed because one or more lines are too long
3
.obsidian/plugins/dataview/manifest.json
vendored
3
.obsidian/plugins/dataview/manifest.json
vendored
@@ -1,10 +1,11 @@
|
|||||||
{
|
{
|
||||||
"id": "dataview",
|
"id": "dataview",
|
||||||
"name": "Dataview",
|
"name": "Dataview",
|
||||||
"version": "0.5.59",
|
"version": "0.5.67",
|
||||||
"minAppVersion": "0.13.11",
|
"minAppVersion": "0.13.11",
|
||||||
"description": "Complex data views for the data-obsessed.",
|
"description": "Complex data views for the data-obsessed.",
|
||||||
"author": "Michael Brenan <blacksmithgu@gmail.com>",
|
"author": "Michael Brenan <blacksmithgu@gmail.com>",
|
||||||
"authorUrl": "https://github.com/blacksmithgu",
|
"authorUrl": "https://github.com/blacksmithgu",
|
||||||
|
"helpUrl": "https://blacksmithgu.github.io/obsidian-dataview/",
|
||||||
"isDesktopOnly": false
|
"isDesktopOnly": false
|
||||||
}
|
}
|
||||||
|
|||||||
3155
.obsidian/plugins/easy-typing-obsidian/main.js
vendored
3155
.obsidian/plugins/easy-typing-obsidian/main.js
vendored
File diff suppressed because one or more lines are too long
@@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
"id": "easy-typing-obsidian",
|
"id": "easy-typing-obsidian",
|
||||||
"name": "Easy Typing",
|
"name": "Easy Typing",
|
||||||
"version": "5.1.10",
|
"version": "5.5.11",
|
||||||
"minAppVersion": "0.15.0",
|
"minAppVersion": "0.15.0",
|
||||||
"description": "Autoformat your note as typing.(Auto captalize, autospace)",
|
"description": "This plugin aims to enhance and optimize the editing experience in Obsidian",
|
||||||
"author": "yaozhuwa",
|
"author": "yaozhuwa",
|
||||||
"authorUrl": "https://github.com/Yaozhuwa",
|
"authorUrl": "https://github.com/Yaozhuwa",
|
||||||
"isDesktopOnly": false,
|
"isDesktopOnly": false,
|
||||||
|
|||||||
17
.obsidian/plugins/easy-typing-obsidian/styles.css
vendored
Normal file
17
.obsidian/plugins/easy-typing-obsidian/styles.css
vendored
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
span[class="easy-typing-tabstops"] {
|
||||||
|
border-radius: 2px;
|
||||||
|
background-color: #87cefa2e;
|
||||||
|
outline: #87cefa6e solid 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
span[class="easy-typing-cursor-widget"] {
|
||||||
|
color: #1364ce6e;
|
||||||
|
/* animation: blink 1s step-start 0s infinite; */
|
||||||
|
display: inline;
|
||||||
|
position: absolute;
|
||||||
|
white-space: pre;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* @keyframes blink {
|
||||||
|
50% { opacity: 0; }
|
||||||
|
} */
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"shouldDebug": false,
|
"logLevel": "off",
|
||||||
"createAtObsidianAttachmentFolder": false,
|
"createAtObsidianAttachmentFolder": false,
|
||||||
"customFolderForNewFiles": "",
|
"customFolderForNewFiles": "",
|
||||||
"removeMarkdownOnExport": true,
|
"removeMarkdownOnExport": true,
|
||||||
@@ -7,10 +7,11 @@
|
|||||||
"defaultEmbedHeight": "340px",
|
"defaultEmbedHeight": "340px",
|
||||||
"hasMigratedTo800": true,
|
"hasMigratedTo800": true,
|
||||||
"showWelcomeModal": false,
|
"showWelcomeModal": false,
|
||||||
"showSupportModal": true,
|
|
||||||
"showWhatsNewModal": true,
|
|
||||||
"defaultFrozenColumnCount": 1,
|
"defaultFrozenColumnCount": 1,
|
||||||
"pluginVersion": "8.6.4",
|
"pluginVersion": "8.16.1",
|
||||||
|
"showWhatsNewModal": true,
|
||||||
|
"shouldDebug": false,
|
||||||
|
"showSupportModal": true,
|
||||||
"data": {
|
"data": {
|
||||||
"table-id-ncD19n": {
|
"table-id-ncD19n": {
|
||||||
"model": {
|
"model": {
|
||||||
|
|||||||
33815
.obsidian/plugins/notion-like-tables/main.js
vendored
33815
.obsidian/plugins/notion-like-tables/main.js
vendored
File diff suppressed because one or more lines are too long
@@ -1,14 +1,11 @@
|
|||||||
{
|
{
|
||||||
"id": "notion-like-tables",
|
"id": "notion-like-tables",
|
||||||
"name": "DataLoom",
|
"name": "DataLoom",
|
||||||
"minAppVersion": "1.2.0",
|
"minAppVersion": "1.4.0",
|
||||||
"description": "Weave together data from diverse sources into a cohesive table view. Inspired by Excel Spreadsheets and Notion.so.",
|
"description": "Weave together data from diverse sources into different views. Inspired by Excel Spreadsheets and Notion.so.",
|
||||||
"author": "Trey Wallis",
|
"author": "DecafDev",
|
||||||
"authorUrl": "https://github.com/trey-wallis",
|
"authorUrl": "https://github.com/decaf-dev",
|
||||||
"isDesktopOnly": false,
|
"isDesktopOnly": false,
|
||||||
"fundingUrl": {
|
"fundingUrl": "https://ko-fi.com/decaf_dev",
|
||||||
"GitHub": "https://github.com/sponsors/trey-wallis",
|
"version": "8.16.1"
|
||||||
"Buymeacoffee": "https://www.buymeacoffee.com/treywallis"
|
|
||||||
},
|
|
||||||
"version": "8.6.4"
|
|
||||||
}
|
}
|
||||||
|
|||||||
870
.obsidian/plugins/notion-like-tables/styles.css
vendored
870
.obsidian/plugins/notion-like-tables/styles.css
vendored
@@ -12,18 +12,6 @@
|
|||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* src/obsidian/modal/support-modal/styles.css */
|
|
||||||
.dataloom-support-modal__container {
|
|
||||||
margin-bottom: 1.5rem;
|
|
||||||
}
|
|
||||||
.dataloom-support-modal__badge-container {
|
|
||||||
border-top: 1px solid var(--background-modifier-border);
|
|
||||||
padding: 20px 0px;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
row-gap: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* src/obsidian/modal/welcome-modal/styles.css */
|
/* src/obsidian/modal/welcome-modal/styles.css */
|
||||||
.dataloom-welcome-modal__card-container {
|
.dataloom-welcome-modal__card-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -49,177 +37,11 @@
|
|||||||
margin-bottom: 0.5em;
|
margin-bottom: 0.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* src/obsidian/modal/whats-new-modal/styles.css */
|
|
||||||
.dataloom-whats-new-modal__tag {
|
|
||||||
margin-top: 0.5em;
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
.dataloom-whats-new-modal__date {
|
|
||||||
margin-left: 0.75em;
|
|
||||||
font-size: 0.75em;
|
|
||||||
color: var(--text-muted);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* src/react/loom-app/table/styles.css */
|
|
||||||
.dataloom-table {
|
|
||||||
display: table;
|
|
||||||
table-layout: fixed;
|
|
||||||
border-collapse: separate;
|
|
||||||
}
|
|
||||||
.dataloom-header {
|
|
||||||
display: table-header-group;
|
|
||||||
}
|
|
||||||
.dataloom-body {
|
|
||||||
display: table-row-group;
|
|
||||||
}
|
|
||||||
.dataloom-footer {
|
|
||||||
display: table-footer-group;
|
|
||||||
}
|
|
||||||
.dataloom-row {
|
|
||||||
display: table-row;
|
|
||||||
}
|
|
||||||
.dataloom-cell {
|
|
||||||
display: table-cell;
|
|
||||||
}
|
|
||||||
.dataloom-cell--left-corner {
|
|
||||||
width: 35px;
|
|
||||||
}
|
|
||||||
.dataloom-cell.dataloom-cell--freeze {
|
|
||||||
position: sticky;
|
|
||||||
left: 0;
|
|
||||||
z-index: 2;
|
|
||||||
background-color: var(--background-primary);
|
|
||||||
}
|
|
||||||
.dataloom-cell.dataloom-cell--freeze-header {
|
|
||||||
background-color: var(--background-secondary);
|
|
||||||
z-index: 3;
|
|
||||||
}
|
|
||||||
.dataloom-cell.dataloom-cell--freeze-footer {
|
|
||||||
z-index: 3;
|
|
||||||
}
|
|
||||||
.dataloom-cell--header {
|
|
||||||
position: sticky;
|
|
||||||
top: 0;
|
|
||||||
z-index: 1;
|
|
||||||
background-color: var(--background-secondary);
|
|
||||||
border-bottom: 1px solid var(--table-border-color);
|
|
||||||
border-right: 1px solid var(--table-border-color);
|
|
||||||
&:last-of-type {
|
|
||||||
border-right: 0;
|
|
||||||
background-color: var(--background-primary);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.dataloom-cell--body {
|
|
||||||
border-bottom: 1px solid var(--table-border-color);
|
|
||||||
border-right: 1px solid var(--table-border-color);
|
|
||||||
vertical-align: top;
|
|
||||||
height: 1px;
|
|
||||||
&:last-of-type {
|
|
||||||
border-right: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.dataloom-cell--footer {
|
|
||||||
position: sticky;
|
|
||||||
bottom: 0;
|
|
||||||
z-index: 1;
|
|
||||||
background-color: var(--background-primary);
|
|
||||||
border-top: 1px solid var(--table-border-color);
|
|
||||||
}
|
|
||||||
.dataloom-body > .dataloom-row:last-child > .dataloom-cell {
|
|
||||||
border-bottom: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* src/react/shared/icon/styles.css */
|
|
||||||
svg.dataloom-svg {
|
|
||||||
vertical-align: middle;
|
|
||||||
}
|
|
||||||
svg.dataloom-svg--sm {
|
|
||||||
width: var(--icon-s);
|
|
||||||
height: var(--icon-s);
|
|
||||||
}
|
|
||||||
svg.dataloom-svg--md {
|
|
||||||
width: var(--icon-m);
|
|
||||||
height: var(--icon-m);
|
|
||||||
}
|
|
||||||
svg.dataloom-svg--lg {
|
|
||||||
width: var(--icon-l);
|
|
||||||
height: var(--icon-l);
|
|
||||||
}
|
|
||||||
svg.dataloom-svg--xl {
|
|
||||||
width: 20px;
|
|
||||||
height: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* src/react/shared/stack/styles.css */
|
|
||||||
.dataloom-stack {
|
|
||||||
display: flex;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* src/react/shared/button/styles.css */
|
|
||||||
.dataloom-button {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
width: max-content !important;
|
|
||||||
height: max-content;
|
|
||||||
padding: 6px !important;
|
|
||||||
white-space: nowrap;
|
|
||||||
color: var(--text-normal);
|
|
||||||
font-size: var(--font-size-normal);
|
|
||||||
margin-right: 0;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
.dataloom-button:focus-visible {
|
|
||||||
box-shadow: none !important;
|
|
||||||
}
|
|
||||||
.dataloom-button--link {
|
|
||||||
color: var(--link-color);
|
|
||||||
text-decoration-line: var(--link-decoration);
|
|
||||||
cursor: var(--cursor-link);
|
|
||||||
background-color: transparent !important;
|
|
||||||
box-shadow: none !important;
|
|
||||||
border: none !important;
|
|
||||||
}
|
|
||||||
.dataloom-button--link:hover {
|
|
||||||
box-shadow: var(--input-shadow) !important;
|
|
||||||
}
|
|
||||||
.dataloom-button--small {
|
|
||||||
padding: 2px !important;
|
|
||||||
}
|
|
||||||
.dataloom-button--full-width {
|
|
||||||
display: flex;
|
|
||||||
justify-content: flex-start;
|
|
||||||
width: 100% !important;
|
|
||||||
border-radius: 0px;
|
|
||||||
}
|
|
||||||
.dataloom-button--text {
|
|
||||||
background-color: transparent !important;
|
|
||||||
box-shadow: none !important;
|
|
||||||
}
|
|
||||||
.dataloom-button--text:hover {
|
|
||||||
background-color: var(--background-modifier-hover) !important;
|
|
||||||
}
|
|
||||||
.dataloom-button:disabled {
|
|
||||||
cursor: not-allowed;
|
|
||||||
opacity: 0.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* src/react/shared/menu/styles.css */
|
|
||||||
.dataloom-menu {
|
|
||||||
width: 0;
|
|
||||||
height: 0;
|
|
||||||
}
|
|
||||||
.dataloom-menu__container {
|
|
||||||
position: absolute;
|
|
||||||
z-index: var(--layer-menu);
|
|
||||||
background-color: var(--background-primary);
|
|
||||||
font-weight: 400;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* src/shared/spacing/styles.css */
|
/* src/shared/spacing/styles.css */
|
||||||
.dataloom-overflow--wrap {
|
.dataloom-overflow--wrap {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
overflow-wrap: break-word;
|
overflow-wrap: break-word;
|
||||||
white-space: normal;
|
white-space: normal !important;
|
||||||
}
|
}
|
||||||
.dataloom-overflow--hide {
|
.dataloom-overflow--hide {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
@@ -253,6 +75,19 @@ svg.dataloom-svg--xl {
|
|||||||
color: var(--text-error);
|
color: var(--text-error);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* src/react/shared/base-menu/styles.css */
|
||||||
|
.dataloom-menu {
|
||||||
|
position: absolute;
|
||||||
|
z-index: var(--layer-menu);
|
||||||
|
background-color: var(--background-primary);
|
||||||
|
font-weight: 400;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* src/react/shared/stack/styles.css */
|
||||||
|
.dataloom-stack {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
/* src/react/shared/divider/styles.css */
|
/* src/react/shared/divider/styles.css */
|
||||||
.dataloom-hr {
|
.dataloom-hr {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
@@ -293,6 +128,27 @@ svg.dataloom-svg--xl {
|
|||||||
--dataloom-font-size--xl: 1.3rem;
|
--dataloom-font-size--xl: 1.3rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* src/react/shared/icon/styles.css */
|
||||||
|
svg.dataloom-svg {
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
svg.dataloom-svg--sm {
|
||||||
|
width: var(--icon-s);
|
||||||
|
height: var(--icon-s);
|
||||||
|
}
|
||||||
|
svg.dataloom-svg--md {
|
||||||
|
width: var(--icon-m);
|
||||||
|
height: var(--icon-m);
|
||||||
|
}
|
||||||
|
svg.dataloom-svg--lg {
|
||||||
|
width: var(--icon-l);
|
||||||
|
height: var(--icon-l);
|
||||||
|
}
|
||||||
|
svg.dataloom-svg--xl {
|
||||||
|
width: 20px;
|
||||||
|
height: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
/* src/react/shared/flex/styles.css */
|
/* src/react/shared/flex/styles.css */
|
||||||
.dataloom-flex {
|
.dataloom-flex {
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -307,14 +163,102 @@ svg.dataloom-svg--xl {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* src/react/loom-app/row-options/styles.css */
|
/* src/react/loom-app/footer-cell-container/styles.css */
|
||||||
.dataloom-row-options {
|
.dataloom-cell--footer__container {
|
||||||
height: 100%;
|
display: flex;
|
||||||
width: 100%;
|
justify-content: flex-end;
|
||||||
|
cursor: pointer;
|
||||||
|
overflow: hidden;
|
||||||
|
padding: var(--dataloom-cell-spacing-x) var(--dataloom-cell-spacing-y);
|
||||||
}
|
}
|
||||||
.dataloom-row-options__container {
|
|
||||||
width: 100%;
|
/* src/react/loom-app/header-cell-container/column-resize/styles.css */
|
||||||
|
.dataloom-column-resize {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.dataloom-column-resize__handle {
|
||||||
|
position: absolute;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
width: 5px;
|
||||||
|
cursor: col-resize;
|
||||||
|
}
|
||||||
|
.dataloom-column-resize__handle:hover {
|
||||||
|
background-color: var(--interactive-accent);
|
||||||
|
}
|
||||||
|
.dataloom-column-resize__handle:active {
|
||||||
|
background-color: var(--interactive-accent);
|
||||||
|
}
|
||||||
|
.dataloom-column-resize__handle--dragging {
|
||||||
|
background-color: var(--interactive-accent);
|
||||||
|
}
|
||||||
|
.dataloom-auto-width {
|
||||||
|
width: auto !important;
|
||||||
|
}
|
||||||
|
.dataloom-nowrap {
|
||||||
|
white-space: nowrap !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* src/react/shared/button/styles.css */
|
||||||
|
.dataloom-button {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
width: max-content !important;
|
||||||
|
height: max-content;
|
||||||
|
white-space: nowrap;
|
||||||
|
color: var(--text-normal);
|
||||||
|
font-size: var(--font-size-normal);
|
||||||
|
margin-right: 0;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
.dataloom-button:focus-visible {
|
||||||
|
box-shadow: none !important;
|
||||||
|
}
|
||||||
|
.dataloom-button--link {
|
||||||
|
color: var(--link-color);
|
||||||
|
text-decoration-line: var(--link-decoration);
|
||||||
|
cursor: var(--cursor-link);
|
||||||
|
background-color: transparent !important;
|
||||||
|
box-shadow: none !important;
|
||||||
|
border: none !important;
|
||||||
|
}
|
||||||
|
.dataloom-button--link:hover {
|
||||||
|
box-shadow: var(--input-shadow) !important;
|
||||||
|
}
|
||||||
|
.dataloom-button--sm {
|
||||||
|
padding: 2px !important;
|
||||||
|
}
|
||||||
|
.dataloom-button--md {
|
||||||
|
padding: 6px !important;
|
||||||
|
}
|
||||||
|
.dataloom-button--lg {
|
||||||
|
padding: 10px !important;
|
||||||
|
}
|
||||||
|
.dataloom-button--full-width {
|
||||||
|
display: flex;
|
||||||
|
justify-content: flex-start;
|
||||||
|
width: 100% !important;
|
||||||
|
border-radius: 0px;
|
||||||
|
}
|
||||||
|
.dataloom-button--text {
|
||||||
|
background-color: transparent !important;
|
||||||
|
box-shadow: none !important;
|
||||||
|
}
|
||||||
|
.dataloom-button--text:hover {
|
||||||
|
background-color: var(--background-modifier-hover) !important;
|
||||||
|
}
|
||||||
|
.dataloom-button:disabled {
|
||||||
|
cursor: not-allowed;
|
||||||
|
opacity: 0.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* src/react/loom-app/header-menu/number-format-submenu/styles.css */
|
||||||
|
.dataloom-number-format-submenu {
|
||||||
|
width: 100%;
|
||||||
|
height: 240px;
|
||||||
|
overflow-x: auto;
|
||||||
|
overflow-y: scroll;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* src/react/shared/input/styles.css */
|
/* src/react/shared/input/styles.css */
|
||||||
@@ -353,35 +297,6 @@ svg.dataloom-svg--xl {
|
|||||||
outline: none !important;
|
outline: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* src/react/shared/bubble/styles.css */
|
|
||||||
.dataloom-bubble {
|
|
||||||
border-radius: 8px;
|
|
||||||
padding: 2px 6px;
|
|
||||||
user-select: none;
|
|
||||||
color: var(--text-on-accent);
|
|
||||||
border: 1px solid var(--background-modifier-border);
|
|
||||||
background-color: var(--color-accent);
|
|
||||||
}
|
|
||||||
.dataloom-bubble span {
|
|
||||||
max-width: 150px;
|
|
||||||
overflow: hidden;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* src/react/export-app/styles.css */
|
|
||||||
.dataloom-export-app textarea {
|
|
||||||
width: 100%;
|
|
||||||
height: 200px;
|
|
||||||
resize: vertical;
|
|
||||||
}
|
|
||||||
.dataloom-export-app select {
|
|
||||||
background-color: var(--background-secondary-alt) !important;
|
|
||||||
}
|
|
||||||
.dataloom-copy-button {
|
|
||||||
background-color: var(--background-secondary-alt) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* src/react/shared/switch/styles.css */
|
/* src/react/shared/switch/styles.css */
|
||||||
.dataloom-switch {
|
.dataloom-switch {
|
||||||
width: calc(var(--toggle-width) * 0.75);
|
width: calc(var(--toggle-width) * 0.75);
|
||||||
@@ -410,175 +325,7 @@ svg.dataloom-svg--xl {
|
|||||||
outline-color: var(--text-on-accent);
|
outline-color: var(--text-on-accent);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* src/react/shared/stepper/styles.css */
|
/* src/react/loom-app/header-menu/styles.css */
|
||||||
.dataloom-step__header--margin-bottom {
|
|
||||||
margin-bottom: 5px;
|
|
||||||
}
|
|
||||||
.dataloom-step__content {
|
|
||||||
width: 100%;
|
|
||||||
margin-top: 10px;
|
|
||||||
}
|
|
||||||
.dataloom-step__content--margin-top {
|
|
||||||
margin-top: 25px;
|
|
||||||
}
|
|
||||||
.dataloom-step__indicator {
|
|
||||||
width: 30px;
|
|
||||||
height: 30px;
|
|
||||||
border-radius: 50%;
|
|
||||||
background-color: var(--background-secondary);
|
|
||||||
}
|
|
||||||
.dataloom-step__indicator--complete {
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
.dataloom-step__text--complete {
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
.dataloom-step__spacer {
|
|
||||||
width: 100%;
|
|
||||||
height: 25px;
|
|
||||||
margin-left: 15px;
|
|
||||||
margin-bottom: 10px;
|
|
||||||
border-left: 1px solid var(--background-modifier-border);
|
|
||||||
}
|
|
||||||
.dataloom-step__separator {
|
|
||||||
min-width: 15px;
|
|
||||||
margin-left: 15px;
|
|
||||||
border-left: 1px solid var(--background-modifier-border);
|
|
||||||
align-self: stretch;
|
|
||||||
}
|
|
||||||
.dataloom-step__separator--no-border {
|
|
||||||
border-left: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* src/react/import-app/upload-data/file-input/styles.css */
|
|
||||||
.dataloom-file-input input[type=file] {
|
|
||||||
color: transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* src/react/import-app/match-columns/styles.css */
|
|
||||||
.dataloom-match-columns {
|
|
||||||
margin-bottom: 10px;
|
|
||||||
}
|
|
||||||
.dataloom-match-columns__container {
|
|
||||||
width: 100%;
|
|
||||||
max-height: 250px;
|
|
||||||
overflow: scroll;
|
|
||||||
padding-right: 3em;
|
|
||||||
}
|
|
||||||
.dataloom-match-columns table {
|
|
||||||
border-collapse: separate;
|
|
||||||
border-spacing: 0;
|
|
||||||
}
|
|
||||||
.dataloom-match-columns th,
|
|
||||||
.dataloom-match-columns td {
|
|
||||||
border-bottom: 1px solid var(--table-border-color);
|
|
||||||
border-right: 1px solid var(--table-border-color);
|
|
||||||
padding: 0.5em;
|
|
||||||
max-width: 20em;
|
|
||||||
height: 1em;
|
|
||||||
}
|
|
||||||
.dataloom-match-columns th {
|
|
||||||
position: sticky;
|
|
||||||
top: 0;
|
|
||||||
z-index: 1;
|
|
||||||
background-color: var(--background-secondary);
|
|
||||||
font-weight: 500;
|
|
||||||
}
|
|
||||||
.dataloom-match-columns th {
|
|
||||||
min-width: 14em;
|
|
||||||
border-top: 1px solid var(--table-border-color);
|
|
||||||
}
|
|
||||||
.dataloom-match-columns td:first-child,
|
|
||||||
.dataloom-match-columns th:first-child {
|
|
||||||
border-left: 1px solid var(--table-border-color);
|
|
||||||
}
|
|
||||||
.dataloom-match-columns--disabled {
|
|
||||||
opacity: 0.5;
|
|
||||||
}
|
|
||||||
.dataloom-match-columns input[type=checkbox] {
|
|
||||||
margin-top: 1px;
|
|
||||||
margin-right: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* src/react/import-app/styles.css */
|
|
||||||
.dataloom-import-app {
|
|
||||||
overflow-x: hidden;
|
|
||||||
overflow-y: scroll;
|
|
||||||
max-height: calc(100vh - 20em);
|
|
||||||
}
|
|
||||||
.dataloom-import-app textarea {
|
|
||||||
width: 100%;
|
|
||||||
height: 10em;
|
|
||||||
resize: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* src/react/shared/wrap/styles.css */
|
|
||||||
.dataloom-wrap {
|
|
||||||
display: flex;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* src/react/shared/select/styles.css */
|
|
||||||
.dataloom-select:focus {
|
|
||||||
box-shadow: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* src/react/loom-app/option-bar/filter-menu/filter-row/styles.css */
|
|
||||||
.dataloom-filter-row {
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
.dataloom-filter-row__input input {
|
|
||||||
width: 150px;
|
|
||||||
}
|
|
||||||
.dataloom-filter-row select {
|
|
||||||
max-width: 175px;
|
|
||||||
}
|
|
||||||
.dataloom-filter-row__spacer {
|
|
||||||
width: 60px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* src/react/shared/multi-select/styles.css */
|
|
||||||
.dataloom-multi-select:focus {
|
|
||||||
box-shadow: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* src/react/loom-app/option-bar/styles.css */
|
|
||||||
.dataloom-option-bar {
|
|
||||||
width: 100%;
|
|
||||||
border-bottom: 1px solid var(--background-modifier-border);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* src/react/loom-app/header-cell-container/column-resize/styles.css */
|
|
||||||
.dataloom-column-resize {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
.dataloom-column-resize__handle {
|
|
||||||
position: absolute;
|
|
||||||
height: 100%;
|
|
||||||
right: 0;
|
|
||||||
bottom: 0;
|
|
||||||
width: 5px;
|
|
||||||
cursor: col-resize;
|
|
||||||
}
|
|
||||||
.dataloom-column-resize__handle:hover {
|
|
||||||
background-color: var(--interactive-accent);
|
|
||||||
}
|
|
||||||
.dataloom-column-resize__handle:active {
|
|
||||||
background-color: var(--interactive-accent);
|
|
||||||
}
|
|
||||||
.dataloom-column-resize__handle--dragging {
|
|
||||||
background-color: var(--interactive-accent);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* src/react/loom-app/header-cell-edit/number-format-submenu/styles.css */
|
|
||||||
.dataloom-number-format-submenu {
|
|
||||||
width: 100%;
|
|
||||||
height: 240px;
|
|
||||||
overflow-y: scroll;
|
|
||||||
overflow-x: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* src/react/loom-app/header-cell-edit/styles.css */
|
|
||||||
.dataloom-header-menu {
|
.dataloom-header-menu {
|
||||||
color: var(--text-normal);
|
color: var(--text-normal);
|
||||||
}
|
}
|
||||||
@@ -601,6 +348,22 @@ svg.dataloom-svg--xl {
|
|||||||
color: var(--text-normal);
|
color: var(--text-normal);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* src/react/loom-app/new-column-button/styles.css */
|
||||||
|
.dataloom-new-column {
|
||||||
|
padding-left: var(--dataloom-spacing--md);
|
||||||
|
width: 50px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* src/react/loom-app/row-options/styles.css */
|
||||||
|
.dataloom-row-options {
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.dataloom-row-options__container {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
/* src/react/loom-app/text-cell/styles.css */
|
/* src/react/loom-app/text-cell/styles.css */
|
||||||
.dataloom-text-cell {
|
.dataloom-text-cell {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@@ -698,6 +461,12 @@ svg.dataloom-svg--xl {
|
|||||||
outline-offset: -2px;
|
outline-offset: -2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* src/react/shared/wrap/styles.css */
|
||||||
|
.dataloom-wrap {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
}
|
||||||
|
|
||||||
/* src/react/loom-app/tag-cell-edit/menu-header/styles.css */
|
/* src/react/loom-app/tag-cell-edit/menu-header/styles.css */
|
||||||
.dataloom-tag-cell-edit__menu-header {
|
.dataloom-tag-cell-edit__menu-header {
|
||||||
background-color: var(--background-secondary);
|
background-color: var(--background-secondary);
|
||||||
@@ -740,6 +509,11 @@ svg.dataloom-svg--xl {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* src/react/loom-app/date-cell-edit/styles.css */
|
||||||
|
.dataloom-date-cell-edit input[type=text] {
|
||||||
|
width: 105px;
|
||||||
|
}
|
||||||
|
|
||||||
/* src/react/loom-app/multi-tag-cell/styles.css */
|
/* src/react/loom-app/multi-tag-cell/styles.css */
|
||||||
.dataloom-multi-tag-cell {
|
.dataloom-multi-tag-cell {
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -752,26 +526,42 @@ svg.dataloom-svg--xl {
|
|||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* src/react/loom-app/embed-cell/embed/styles.css */
|
|
||||||
.dataloom-embed {
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
.dataloom-embed iframe {
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
.dataloom-embed p {
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
margin: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* src/react/loom-app/embed-cell/styles.css */
|
/* src/react/loom-app/embed-cell/styles.css */
|
||||||
.dataloom-embed-cell {
|
.dataloom-embed-cell {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
.dataloom-embed-cell p {
|
||||||
|
margin: 0;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* src/react/loom-app/source-file-cell/styles.css */
|
||||||
|
.dataloom-source-file-cell p {
|
||||||
|
margin: 0;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* src/react/shared/bubble/styles.css */
|
||||||
|
.dataloom-bubble {
|
||||||
|
border-radius: 8px;
|
||||||
|
padding: 2px 6px;
|
||||||
|
user-select: none;
|
||||||
|
color: var(--text-on-accent);
|
||||||
|
border: 1px solid var(--background-modifier-border);
|
||||||
|
background-color: var(--color-accent);
|
||||||
|
}
|
||||||
|
.dataloom-bubble.dataloom-bubble--no-fill {
|
||||||
|
background-color: transparent;
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
.dataloom-bubble span {
|
||||||
|
max-width: 150px;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
/* src/react/loom-app/body-cell-container/styles.css */
|
/* src/react/loom-app/body-cell-container/styles.css */
|
||||||
.dataloom-cell--body__container {
|
.dataloom-cell--body__container {
|
||||||
@@ -783,11 +573,272 @@ svg.dataloom-svg--xl {
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
color: var(--text-normal);
|
color: var(--text-normal);
|
||||||
}
|
}
|
||||||
|
.dataloom-cell--body__container--no-padding {
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
.dataloom-cell--uneditable {
|
||||||
|
cursor: default;
|
||||||
|
}
|
||||||
|
|
||||||
/* src/react/loom-app/new-column-button/styles.css */
|
/* src/react/loom-app/disabled-cell/styles.css */
|
||||||
.dataloom-new-column {
|
.dataloom-disabled-cell {
|
||||||
padding-left: var(--dataloom-spacing--md);
|
width: 100%;
|
||||||
width: 50px;
|
height: 100%;
|
||||||
|
background-color: var(--background-secondary);
|
||||||
|
cursor: default;
|
||||||
|
padding: var(--dataloom-cell-spacing-x) var(--dataloom-cell-spacing-y);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* src/react/loom-app/table/styles.css */
|
||||||
|
.dataloom-table {
|
||||||
|
display: table;
|
||||||
|
table-layout: fixed;
|
||||||
|
border-collapse: separate;
|
||||||
|
}
|
||||||
|
.dataloom-header {
|
||||||
|
display: table-header-group;
|
||||||
|
}
|
||||||
|
.dataloom-body {
|
||||||
|
display: table-row-group;
|
||||||
|
}
|
||||||
|
.dataloom-footer {
|
||||||
|
display: table-footer-group;
|
||||||
|
}
|
||||||
|
.dataloom-row {
|
||||||
|
display: table-row;
|
||||||
|
}
|
||||||
|
.dataloom-cell {
|
||||||
|
display: table-cell;
|
||||||
|
}
|
||||||
|
.dataloom-cell--left-corner {
|
||||||
|
width: 35px;
|
||||||
|
}
|
||||||
|
.dataloom-cell.dataloom-cell--freeze {
|
||||||
|
position: sticky;
|
||||||
|
left: 0;
|
||||||
|
z-index: 2;
|
||||||
|
background-color: var(--background-primary);
|
||||||
|
}
|
||||||
|
.dataloom-cell.dataloom-cell--freeze-header {
|
||||||
|
background-color: var(--background-secondary);
|
||||||
|
z-index: 3;
|
||||||
|
}
|
||||||
|
.dataloom-cell.dataloom-cell--freeze-footer {
|
||||||
|
z-index: 3;
|
||||||
|
}
|
||||||
|
.dataloom-cell--header {
|
||||||
|
position: sticky;
|
||||||
|
top: 0;
|
||||||
|
z-index: 1;
|
||||||
|
background-color: var(--background-secondary);
|
||||||
|
border-bottom: 1px solid var(--table-border-color);
|
||||||
|
border-right: 1px solid var(--table-border-color);
|
||||||
|
&:last-of-type {
|
||||||
|
border-right: 0;
|
||||||
|
background-color: var(--background-primary);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.dataloom-cell--body {
|
||||||
|
border-bottom: 1px solid var(--table-border-color);
|
||||||
|
border-right: 1px solid var(--table-border-color);
|
||||||
|
vertical-align: top;
|
||||||
|
height: 1px;
|
||||||
|
&:last-of-type {
|
||||||
|
border-right: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.dataloom-cell--footer {
|
||||||
|
position: sticky;
|
||||||
|
bottom: 0;
|
||||||
|
z-index: 1;
|
||||||
|
background-color: var(--background-primary);
|
||||||
|
border-top: 1px solid var(--table-border-color);
|
||||||
|
}
|
||||||
|
.dataloom-body > .dataloom-row:last-child > .dataloom-cell {
|
||||||
|
border-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* src/react/export-app/styles.css */
|
||||||
|
.dataloom-export-app textarea {
|
||||||
|
width: 100%;
|
||||||
|
height: 200px;
|
||||||
|
resize: vertical;
|
||||||
|
}
|
||||||
|
.dataloom-export-app select {
|
||||||
|
background-color: var(--background-secondary-alt) !important;
|
||||||
|
}
|
||||||
|
.dataloom-copy-button {
|
||||||
|
background-color: var(--background-secondary-alt) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* src/react/shared/stepper/styles.css */
|
||||||
|
.dataloom-step__header--margin-bottom {
|
||||||
|
margin-bottom: 5px;
|
||||||
|
}
|
||||||
|
.dataloom-step__content {
|
||||||
|
width: 100%;
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
.dataloom-step__content--margin-top {
|
||||||
|
margin-top: 25px;
|
||||||
|
}
|
||||||
|
.dataloom-step__indicator {
|
||||||
|
width: 30px;
|
||||||
|
height: 30px;
|
||||||
|
border-radius: 50%;
|
||||||
|
background-color: var(--background-secondary);
|
||||||
|
}
|
||||||
|
.dataloom-step__indicator--complete {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
.dataloom-step__text--complete {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
.dataloom-step__spacer {
|
||||||
|
width: 100%;
|
||||||
|
height: 25px;
|
||||||
|
margin-left: 15px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
border-left: 1px solid var(--background-modifier-border);
|
||||||
|
}
|
||||||
|
.dataloom-step__separator {
|
||||||
|
min-width: 15px;
|
||||||
|
margin-left: 15px;
|
||||||
|
border-left: 1px solid var(--background-modifier-border);
|
||||||
|
align-self: stretch;
|
||||||
|
}
|
||||||
|
.dataloom-step__separator--no-border {
|
||||||
|
border-left: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* src/react/import-app/upload-data/file-input/styles.css */
|
||||||
|
.dataloom-file-input input[type=file] {
|
||||||
|
color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* src/react/import-app/match-columns/styles.css */
|
||||||
|
.dataloom-match-columns__container {
|
||||||
|
width: 100%;
|
||||||
|
max-height: 250px;
|
||||||
|
overflow: scroll;
|
||||||
|
padding-right: 3em;
|
||||||
|
}
|
||||||
|
.dataloom-match-columns table {
|
||||||
|
border-collapse: separate;
|
||||||
|
border-spacing: 0;
|
||||||
|
}
|
||||||
|
.dataloom-match-columns th,
|
||||||
|
.dataloom-match-columns td {
|
||||||
|
border-bottom: 1px solid var(--table-border-color);
|
||||||
|
border-right: 1px solid var(--table-border-color);
|
||||||
|
padding: 0.5em;
|
||||||
|
max-width: 20em;
|
||||||
|
height: 1em;
|
||||||
|
}
|
||||||
|
.dataloom-match-columns th {
|
||||||
|
position: sticky;
|
||||||
|
top: 0;
|
||||||
|
z-index: 1;
|
||||||
|
background-color: var(--background-secondary);
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
.dataloom-match-columns th {
|
||||||
|
min-width: 14em;
|
||||||
|
border-top: 1px solid var(--table-border-color);
|
||||||
|
}
|
||||||
|
.dataloom-match-columns td:first-child,
|
||||||
|
.dataloom-match-columns th:first-child {
|
||||||
|
border-left: 1px solid var(--table-border-color);
|
||||||
|
}
|
||||||
|
.dataloom-match-columns--disabled {
|
||||||
|
opacity: 0.5;
|
||||||
|
}
|
||||||
|
.dataloom-match-columns input[type=checkbox] {
|
||||||
|
margin-top: 1px;
|
||||||
|
margin-right: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* src/react/import-app/styles.css */
|
||||||
|
.dataloom-import-app {
|
||||||
|
overflow-x: hidden;
|
||||||
|
overflow-y: scroll;
|
||||||
|
max-height: calc(100vh - 20em);
|
||||||
|
}
|
||||||
|
.dataloom-import-app textarea {
|
||||||
|
width: 100%;
|
||||||
|
height: 10em;
|
||||||
|
resize: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* src/react/shared/select/styles.css */
|
||||||
|
.dataloom-select:focus {
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
|
.dataloom-select--error {
|
||||||
|
outline: 2px solid var(--background-modifier-error) !important;
|
||||||
|
outline-offset: -2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* src/react/loom-app/option-bar/filter-menu/filter-row/styles.css */
|
||||||
|
.dataloom-filter-row {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.dataloom-filter-row__input input {
|
||||||
|
width: 150px;
|
||||||
|
}
|
||||||
|
.dataloom-filter-row select {
|
||||||
|
max-width: 175px;
|
||||||
|
}
|
||||||
|
.dataloom-filter-row__spacer {
|
||||||
|
width: 60px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* src/react/shared/multi-select/styles.css */
|
||||||
|
.dataloom-multi-select {
|
||||||
|
box-shadow: var(--input-shadow);
|
||||||
|
border-radius: var(--input-radius);
|
||||||
|
height: var(--input-height);
|
||||||
|
font-size: var(--font-ui-small);
|
||||||
|
background-color: var(--interactive-normal);
|
||||||
|
color: var(--text-normal);
|
||||||
|
padding: 0 0.8em;
|
||||||
|
}
|
||||||
|
.dataloom-multi-select:hover {
|
||||||
|
box-shadow: var(--input-shadow-hover);
|
||||||
|
background-color: var(--interactive-hover);
|
||||||
|
}
|
||||||
|
.dataloom-multi-select__options {
|
||||||
|
width: 100%;
|
||||||
|
cursor: pointer;
|
||||||
|
max-height: 300px;
|
||||||
|
overflow-x: auto;
|
||||||
|
overflow-y: scroll;
|
||||||
|
}
|
||||||
|
.dataloom-multi-select__option {
|
||||||
|
padding: 2px 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* src/react/loom-app/option-bar/sources-menu/base-content/styles.css */
|
||||||
|
.dataloom-source-container {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* src/react/loom-app/option-bar/sources-menu/source-item/styles.css */
|
||||||
|
.dataloom-source-item {
|
||||||
|
width: 100%;
|
||||||
|
height: 2.2em;
|
||||||
|
}
|
||||||
|
.dataloom-source-item input {
|
||||||
|
width: 150px;
|
||||||
|
}
|
||||||
|
.dataloom-source-item select {
|
||||||
|
max-width: 150px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* src/react/loom-app/option-bar/styles.css */
|
||||||
|
.dataloom-option-bar {
|
||||||
|
width: 100%;
|
||||||
|
border-bottom: 1px solid var(--background-modifier-border);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* src/react/loom-app/bottom-bar/styles.css */
|
/* src/react/loom-app/bottom-bar/styles.css */
|
||||||
@@ -795,6 +846,9 @@ svg.dataloom-svg--xl {
|
|||||||
position: relative;
|
position: relative;
|
||||||
height: 60px;
|
height: 60px;
|
||||||
}
|
}
|
||||||
|
.dataloom-bottom-bar--mobile {
|
||||||
|
height: 100px;
|
||||||
|
}
|
||||||
.dataloom-bottom-bar > div {
|
.dataloom-bottom-bar > div {
|
||||||
border-top: 1px solid var(--table-border-color);
|
border-top: 1px solid var(--table-border-color);
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@@ -884,11 +938,8 @@ svg.dataloom-svg--xl {
|
|||||||
.dataloom-selected {
|
.dataloom-selected {
|
||||||
background-color: var(--color-base-20);
|
background-color: var(--color-base-20);
|
||||||
}
|
}
|
||||||
.dataloom-default-cursor {
|
|
||||||
cursor: default !important;
|
|
||||||
}
|
|
||||||
.dataloom-focusable:focus-visible,
|
.dataloom-focusable:focus-visible,
|
||||||
.dataloom-focus-visible {
|
.dataloom-focusable--focused {
|
||||||
outline: 2px solid var(--color-accent);
|
outline: 2px solid var(--color-accent);
|
||||||
outline-offset: -2px;
|
outline-offset: -2px;
|
||||||
}
|
}
|
||||||
@@ -910,15 +961,6 @@ svg.dataloom-svg--xl {
|
|||||||
border-bottom: 1px solid var(--color-accent) !important;
|
border-bottom: 1px solid var(--color-accent) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* src/react/loom-app/footer-cell-container/styles.css */
|
|
||||||
.dataloom-cell--footer__container {
|
|
||||||
display: flex;
|
|
||||||
justify-content: flex-end;
|
|
||||||
cursor: pointer;
|
|
||||||
overflow: hidden;
|
|
||||||
padding: var(--dataloom-cell-spacing-x) var(--dataloom-cell-spacing-y);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* src/react/shared/error-boundary/styles.css */
|
/* src/react/shared/error-boundary/styles.css */
|
||||||
.dataloom-error-boundary {
|
.dataloom-error-boundary {
|
||||||
background-color: var(--background-secondary);
|
background-color: var(--background-secondary);
|
||||||
|
|||||||
@@ -1,7 +1,23 @@
|
|||||||
{
|
{
|
||||||
"attachmentFolderPath": "./assets/${filename}",
|
"attachmentFolderPath": "./assets/${filename}",
|
||||||
"pastedImageFileName": "img-${date}",
|
"attachmentRenameMode": "Only pasted images",
|
||||||
"dateTimeFormat": "YYMMDDHHmmssSSS",
|
"customTokensStr": "",
|
||||||
"autoRenameFolder": true,
|
"duplicateNameSeparator": " ",
|
||||||
"autoRenameFiles": true
|
"emptyAttachmentFolderBehavior": "DeleteWithEmptyParents",
|
||||||
|
"excludePaths": [],
|
||||||
|
"generatedAttachmentFilename": "file-${date:YYYYMMDDHHmmssSSS}",
|
||||||
|
"includePaths": [],
|
||||||
|
"jpegQuality": 0.8,
|
||||||
|
"shouldConvertPastedImagesToJpeg": false,
|
||||||
|
"shouldDeleteOrphanAttachments": false,
|
||||||
|
"shouldRenameAttachmentFiles": true,
|
||||||
|
"shouldRenameAttachmentFolder": true,
|
||||||
|
"shouldRenameAttachmentsToLowerCase": false,
|
||||||
|
"shouldRenameCollectedAttachments": false,
|
||||||
|
"specialCharacters": "#^[]|*\\<>:?",
|
||||||
|
"specialCharactersReplacement": "-",
|
||||||
|
"treatAsAttachmentExtensions": [
|
||||||
|
".excalidraw.md"
|
||||||
|
],
|
||||||
|
"warningVersion": "0.0.0"
|
||||||
}
|
}
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -1,10 +1,11 @@
|
|||||||
{
|
{
|
||||||
"id": "obsidian-custom-attachment-location",
|
"id": "obsidian-custom-attachment-location",
|
||||||
"name": "Custom Attachment Location",
|
"name": "Custom Attachment Location",
|
||||||
"version": "0.0.9",
|
"version": "4.27.5",
|
||||||
"minAppVersion": "0.12.17",
|
"minAppVersion": "1.7.4",
|
||||||
"description": "Customize attachment location with variables($filename, $data, etc) like typora.",
|
"description": "Customize attachment location with variables($filename, $data, etc) like typora.",
|
||||||
"author": "RainCat1998",
|
"author": "RainCat1998",
|
||||||
"authorUrl": "https://github.com/RainCat1998",
|
"authorUrl": "https://github.com/RainCat1998/",
|
||||||
"isDesktopOnly": true
|
"isDesktopOnly": false,
|
||||||
|
"fundingUrl": "https://www.buymeacoffee.com/mnaoumov"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,11 +1,19 @@
|
|||||||
{
|
{
|
||||||
"folder": "Excalidraw",
|
"folder": "Excalidraw",
|
||||||
|
"cropFolder": "",
|
||||||
|
"annotateFolder": "",
|
||||||
"embedUseExcalidrawFolder": false,
|
"embedUseExcalidrawFolder": false,
|
||||||
"templateFilePath": "Excalidraw/Template.excalidraw",
|
"templateFilePath": "Excalidraw/Template.excalidraw",
|
||||||
"scriptFolderPath": "Excalidraw/Scripts",
|
"scriptFolderPath": "Excalidraw/Scripts",
|
||||||
"compress": false,
|
"fontAssetsPath": "Excalidraw/CJK Fonts",
|
||||||
|
"loadChineseFonts": false,
|
||||||
|
"loadJapaneseFonts": false,
|
||||||
|
"loadKoreanFonts": false,
|
||||||
|
"compress": true,
|
||||||
|
"decompressForMDView": false,
|
||||||
|
"onceOffCompressFlagReset": true,
|
||||||
|
"onceOffGPTVersionReset": true,
|
||||||
"autosave": true,
|
"autosave": true,
|
||||||
"autosaveInterval": 15000,
|
|
||||||
"autosaveIntervalDesktop": 15000,
|
"autosaveIntervalDesktop": 15000,
|
||||||
"autosaveIntervalMobile": 10000,
|
"autosaveIntervalMobile": 10000,
|
||||||
"drawingFilenamePrefix": "Drawing ",
|
"drawingFilenamePrefix": "Drawing ",
|
||||||
@@ -13,12 +21,19 @@
|
|||||||
"drawingFilnameEmbedPostfix": " ",
|
"drawingFilnameEmbedPostfix": " ",
|
||||||
"drawingFilenameDateTime": "YYYY-MM-DD HH.mm.ss",
|
"drawingFilenameDateTime": "YYYY-MM-DD HH.mm.ss",
|
||||||
"useExcalidrawExtension": true,
|
"useExcalidrawExtension": true,
|
||||||
|
"cropPrefix": "cropped_",
|
||||||
|
"annotatePrefix": "annotated_",
|
||||||
|
"annotatePreserveSize": false,
|
||||||
"displaySVGInPreview": true,
|
"displaySVGInPreview": true,
|
||||||
"previewImageType": "SVGIMG",
|
"previewImageType": "SVGIMG",
|
||||||
|
"renderingConcurrency": 3,
|
||||||
"allowImageCache": true,
|
"allowImageCache": true,
|
||||||
|
"allowImageCacheInScene": true,
|
||||||
"displayExportedImageIfAvailable": false,
|
"displayExportedImageIfAvailable": false,
|
||||||
"previewMatchObsidianTheme": false,
|
"previewMatchObsidianTheme": false,
|
||||||
"width": "400",
|
"width": "400",
|
||||||
|
"height": "",
|
||||||
|
"overrideObsidianFontSize": false,
|
||||||
"dynamicStyling": "colorful",
|
"dynamicStyling": "colorful",
|
||||||
"isLeftHanded": false,
|
"isLeftHanded": false,
|
||||||
"iframeMatchExcalidrawTheme": true,
|
"iframeMatchExcalidrawTheme": true,
|
||||||
@@ -27,6 +42,12 @@
|
|||||||
"matchThemeTrigger": false,
|
"matchThemeTrigger": false,
|
||||||
"defaultMode": "normal",
|
"defaultMode": "normal",
|
||||||
"defaultPenMode": "never",
|
"defaultPenMode": "never",
|
||||||
|
"penModeDoubleTapEraser": true,
|
||||||
|
"penModeSingleFingerPanning": true,
|
||||||
|
"penModeCrosshairVisible": false,
|
||||||
|
"renderImageInMarkdownReadingMode": false,
|
||||||
|
"renderImageInHoverPreviewForMDNotes": false,
|
||||||
|
"renderImageInMarkdownToPDF": false,
|
||||||
"allowPinchZoom": false,
|
"allowPinchZoom": false,
|
||||||
"allowWheelZoom": false,
|
"allowWheelZoom": false,
|
||||||
"zoomToFitOnOpen": true,
|
"zoomToFitOnOpen": true,
|
||||||
@@ -40,6 +61,8 @@
|
|||||||
"hoverPreviewWithoutCTRL": false,
|
"hoverPreviewWithoutCTRL": false,
|
||||||
"linkOpacity": 1,
|
"linkOpacity": 1,
|
||||||
"openInAdjacentPane": false,
|
"openInAdjacentPane": false,
|
||||||
|
"showSecondOrderLinks": true,
|
||||||
|
"focusOnFileTab": false,
|
||||||
"openInMainWorkspace": true,
|
"openInMainWorkspace": true,
|
||||||
"showLinkBrackets": true,
|
"showLinkBrackets": true,
|
||||||
"allowCtrlClick": true,
|
"allowCtrlClick": true,
|
||||||
@@ -52,19 +75,25 @@
|
|||||||
"exportWithTheme": true,
|
"exportWithTheme": true,
|
||||||
"exportWithBackground": true,
|
"exportWithBackground": true,
|
||||||
"exportPaddingSVG": 10,
|
"exportPaddingSVG": 10,
|
||||||
|
"exportEmbedScene": false,
|
||||||
"keepInSync": false,
|
"keepInSync": false,
|
||||||
"autoexportSVG": false,
|
"autoexportSVG": false,
|
||||||
"autoexportPNG": false,
|
"autoexportPNG": false,
|
||||||
"autoExportLightAndDark": false,
|
"autoExportLightAndDark": false,
|
||||||
"autoexportExcalidraw": false,
|
"autoexportExcalidraw": false,
|
||||||
"embedType": "excalidraw",
|
"embedType": "excalidraw",
|
||||||
|
"embedMarkdownCommentLinks": true,
|
||||||
"embedWikiLink": true,
|
"embedWikiLink": true,
|
||||||
"syncExcalidraw": false,
|
"syncExcalidraw": false,
|
||||||
"experimentalFileType": false,
|
"experimentalFileType": false,
|
||||||
"experimentalFileTag": "✏️",
|
"experimentalFileTag": "✏️",
|
||||||
"experimentalLivePreview": true,
|
"experimentalLivePreview": true,
|
||||||
|
"fadeOutExcalidrawMarkup": false,
|
||||||
|
"loadPropertySuggestions": true,
|
||||||
"experimentalEnableFourthFont": false,
|
"experimentalEnableFourthFont": false,
|
||||||
"experimantalFourthFont": "Virgil",
|
"experimantalFourthFont": "Virgil",
|
||||||
|
"addDummyTextElement": false,
|
||||||
|
"zoteroCompatibility": false,
|
||||||
"fieldSuggester": true,
|
"fieldSuggester": true,
|
||||||
"compatibilityMode": false,
|
"compatibilityMode": false,
|
||||||
"drawingOpenCount": 0,
|
"drawingOpenCount": 0,
|
||||||
@@ -72,7 +101,7 @@
|
|||||||
"library2": {
|
"library2": {
|
||||||
"type": "excalidrawlib",
|
"type": "excalidrawlib",
|
||||||
"version": 2,
|
"version": 2,
|
||||||
"source": "https://excalidraw.com",
|
"source": "https://github.com/zsviczian/obsidian-excalidraw-plugin/releases/tag/2.1.6",
|
||||||
"libraryItems": []
|
"libraryItems": []
|
||||||
},
|
},
|
||||||
"imageElementNotice": true,
|
"imageElementNotice": true,
|
||||||
@@ -84,11 +113,11 @@
|
|||||||
"mdCSS": "",
|
"mdCSS": "",
|
||||||
"scriptEngineSettings": {},
|
"scriptEngineSettings": {},
|
||||||
"defaultTrayMode": true,
|
"defaultTrayMode": true,
|
||||||
"previousRelease": "1.9.20",
|
"previousRelease": "2.8.3",
|
||||||
"showReleaseNotes": true,
|
"showReleaseNotes": true,
|
||||||
"showNewVersionNotification": true,
|
"showNewVersionNotification": true,
|
||||||
"mathjaxSourceURL": "https://cdn.jsdelivr.net/npm/mathjax@3.2.1/es5/tex-svg.js",
|
|
||||||
"latexBoilerplate": "\\color{blue}",
|
"latexBoilerplate": "\\color{blue}",
|
||||||
|
"latexPreambleLocation": "preamble.sty",
|
||||||
"taskboneEnabled": false,
|
"taskboneEnabled": false,
|
||||||
"taskboneAPIkey": "",
|
"taskboneAPIkey": "",
|
||||||
"pinnedScripts": [],
|
"pinnedScripts": [],
|
||||||
@@ -407,8 +436,367 @@
|
|||||||
"numberOfCustomPens": 0,
|
"numberOfCustomPens": 0,
|
||||||
"pdfScale": 4,
|
"pdfScale": 4,
|
||||||
"pdfBorderBox": true,
|
"pdfBorderBox": true,
|
||||||
|
"pdfFrame": false,
|
||||||
"pdfGapSize": 20,
|
"pdfGapSize": 20,
|
||||||
|
"pdfGroupPages": false,
|
||||||
"pdfLockAfterImport": true,
|
"pdfLockAfterImport": true,
|
||||||
"pdfNumColumns": 1,
|
"pdfNumColumns": 1,
|
||||||
"pdfImportScale": 0.3
|
"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,
|
||||||
|
"pdfSettings": {
|
||||||
|
"pageSize": "A4",
|
||||||
|
"pageOrientation": "portrait",
|
||||||
|
"fitToPage": 1,
|
||||||
|
"paperColor": "white",
|
||||||
|
"customPaperColor": "#ffffff",
|
||||||
|
"alignment": "center",
|
||||||
|
"margin": "normal"
|
||||||
|
},
|
||||||
|
"autosaveInterval": 15000,
|
||||||
|
"mathjaxSourceURL": "https://cdn.jsdelivr.net/npm/mathjax@3.2.1/es5/tex-svg.js"
|
||||||
}
|
}
|
||||||
File diff suppressed because one or more lines are too long
@@ -1,11 +1,12 @@
|
|||||||
{
|
{
|
||||||
"id": "obsidian-excalidraw-plugin",
|
"id": "obsidian-excalidraw-plugin",
|
||||||
"name": "Excalidraw",
|
"name": "Excalidraw",
|
||||||
"version": "1.9.20",
|
"version": "2.8.3",
|
||||||
"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",
|
||||||
"authorUrl": "https://zsolt.blog",
|
"authorUrl": "https://www.zsolt.blog",
|
||||||
"fundingUrl": "https://ko-fi.com/zsolt",
|
"fundingUrl": "https://ko-fi.com/zsolt",
|
||||||
|
"helpUrl": "https://github.com/zsviczian/obsidian-excalidraw-plugin#readme",
|
||||||
"isDesktopOnly": false
|
"isDesktopOnly": false
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
3
.obsidian/plugins/obsidian-git/data.json
vendored
3
.obsidian/plugins/obsidian-git/data.json
vendored
@@ -8,6 +8,7 @@
|
|||||||
"disablePush": false,
|
"disablePush": false,
|
||||||
"pullBeforePush": true,
|
"pullBeforePush": true,
|
||||||
"disablePopups": false,
|
"disablePopups": false,
|
||||||
|
"disablePopupsForNoChanges": false,
|
||||||
"listChangedFilesInMessageBody": false,
|
"listChangedFilesInMessageBody": false,
|
||||||
"showStatusBar": true,
|
"showStatusBar": true,
|
||||||
"updateSubmodules": false,
|
"updateSubmodules": false,
|
||||||
@@ -26,6 +27,8 @@
|
|||||||
"submoduleRecurseCheckout": false,
|
"submoduleRecurseCheckout": false,
|
||||||
"gitDir": "",
|
"gitDir": "",
|
||||||
"showFileMenu": true,
|
"showFileMenu": true,
|
||||||
|
"authorInHistoryView": "hide",
|
||||||
|
"dateInHistoryView": false,
|
||||||
"lineAuthor": {
|
"lineAuthor": {
|
||||||
"show": false,
|
"show": false,
|
||||||
"followMovement": "inactive",
|
"followMovement": "inactive",
|
||||||
|
|||||||
44456
.obsidian/plugins/obsidian-git/main.js
vendored
44456
.obsidian/plugins/obsidian-git/main.js
vendored
File diff suppressed because one or more lines are too long
9
.obsidian/plugins/obsidian-git/manifest.json
vendored
9
.obsidian/plugins/obsidian-git/manifest.json
vendored
@@ -1,9 +1,10 @@
|
|||||||
{
|
{
|
||||||
|
"author": "Vinzent",
|
||||||
|
"authorUrl": "https://github.com/Vinzent03",
|
||||||
"id": "obsidian-git",
|
"id": "obsidian-git",
|
||||||
"name": "Obsidian Git",
|
"name": "Git",
|
||||||
"description": "Backup your vault with Git.",
|
"description": "Integrate Git version control with automatic backup and other advanced features.",
|
||||||
"isDesktopOnly": false,
|
"isDesktopOnly": false,
|
||||||
"fundingUrl": "https://ko-fi.com/vinzent",
|
"fundingUrl": "https://ko-fi.com/vinzent",
|
||||||
"js": "main.js",
|
"version": "2.31.1"
|
||||||
"version": "2.22.0"
|
|
||||||
}
|
}
|
||||||
|
|||||||
23
.obsidian/plugins/obsidian-git/obsidian_askpass.sh
vendored
Executable file
23
.obsidian/plugins/obsidian-git/obsidian_askpass.sh
vendored
Executable file
@@ -0,0 +1,23 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
PROMPT="$1"
|
||||||
|
TEMP_FILE="$OBSIDIAN_GIT_CREDENTIALS_INPUT"
|
||||||
|
|
||||||
|
cleanup() {
|
||||||
|
rm -f "$TEMP_FILE" "$TEMP_FILE.response"
|
||||||
|
}
|
||||||
|
trap cleanup EXIT
|
||||||
|
|
||||||
|
echo "$PROMPT" > "$TEMP_FILE"
|
||||||
|
|
||||||
|
while [ ! -e "$TEMP_FILE.response" ]; do
|
||||||
|
if [ ! -e "$TEMP_FILE" ]; then
|
||||||
|
echo "Trigger file got removed: Abort" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
sleep 0.1
|
||||||
|
done
|
||||||
|
|
||||||
|
RESPONSE=$(cat "$TEMP_FILE.response")
|
||||||
|
|
||||||
|
echo "$RESPONSE"
|
||||||
90
.obsidian/plugins/obsidian-git/styles.css
vendored
90
.obsidian/plugins/obsidian-git/styles.css
vendored
@@ -8,16 +8,16 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type='git-view'] .button-border {
|
.workspace-leaf-content[data-type="git-view"] .button-border {
|
||||||
border: 2px solid var(--interactive-accent);
|
border: 2px solid var(--interactive-accent);
|
||||||
border-radius: var(--radius-s);
|
border-radius: var(--radius-s);
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type='git-view'] .view-content {
|
.workspace-leaf-content[data-type="git-view"] .view-content {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type='git-history-view'] .view-content {
|
.workspace-leaf-content[data-type="git-history-view"] .view-content {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -39,6 +39,10 @@
|
|||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.obsidian-git-disabled {
|
||||||
|
opacity: 0.5;
|
||||||
|
}
|
||||||
|
|
||||||
.obsidian-git-center-button {
|
.obsidian-git-center-button {
|
||||||
display: block;
|
display: block;
|
||||||
margin: 20px auto;
|
margin: 20px auto;
|
||||||
@@ -77,6 +81,22 @@
|
|||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.is-active .git-tools .buttons > * {
|
||||||
|
color: var(--nav-item-color-active);
|
||||||
|
}
|
||||||
|
|
||||||
|
.git-author {
|
||||||
|
color: var(--text-accent);
|
||||||
|
}
|
||||||
|
|
||||||
|
.git-date {
|
||||||
|
color: var(--text-accent);
|
||||||
|
}
|
||||||
|
|
||||||
|
.git-ref {
|
||||||
|
color: var(--text-accent);
|
||||||
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-d-none {
|
.workspace-leaf-content[data-type="diff-view"] .d2h-d-none {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
@@ -228,12 +248,18 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-line del,
|
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-line del,
|
||||||
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line del {
|
.theme-light
|
||||||
|
.workspace-leaf-content[data-type="diff-view"]
|
||||||
|
.d2h-code-side-line
|
||||||
|
del {
|
||||||
background-color: #ffb6ba;
|
background-color: #ffb6ba;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-line del,
|
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-line del,
|
||||||
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line del {
|
.theme-dark
|
||||||
|
.workspace-leaf-content[data-type="diff-view"]
|
||||||
|
.d2h-code-side-line
|
||||||
|
del {
|
||||||
background-color: #8d232881;
|
background-color: #8d232881;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -249,13 +275,19 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-line ins,
|
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-line ins,
|
||||||
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line ins {
|
.theme-light
|
||||||
|
.workspace-leaf-content[data-type="diff-view"]
|
||||||
|
.d2h-code-side-line
|
||||||
|
ins {
|
||||||
background-color: #97f295;
|
background-color: #97f295;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-line ins,
|
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-line ins,
|
||||||
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line ins {
|
.theme-dark
|
||||||
|
.workspace-leaf-content[data-type="diff-view"]
|
||||||
|
.d2h-code-side-line
|
||||||
|
ins {
|
||||||
background-color: #1d921996;
|
background-color: #1d921996;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
@@ -376,19 +408,31 @@
|
|||||||
color: var(--text-normal);
|
color: var(--text-normal);
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-file-diff .d2h-del.d2h-change {
|
.theme-light
|
||||||
|
.workspace-leaf-content[data-type="diff-view"]
|
||||||
|
.d2h-file-diff
|
||||||
|
.d2h-del.d2h-change {
|
||||||
background-color: #fdf2d0;
|
background-color: #fdf2d0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-file-diff .d2h-del.d2h-change {
|
.theme-dark
|
||||||
|
.workspace-leaf-content[data-type="diff-view"]
|
||||||
|
.d2h-file-diff
|
||||||
|
.d2h-del.d2h-change {
|
||||||
background-color: #55492480;
|
background-color: #55492480;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-file-diff .d2h-ins.d2h-change {
|
.theme-light
|
||||||
|
.workspace-leaf-content[data-type="diff-view"]
|
||||||
|
.d2h-file-diff
|
||||||
|
.d2h-ins.d2h-change {
|
||||||
background-color: #ded;
|
background-color: #ded;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-file-diff .d2h-ins.d2h-change {
|
.theme-dark
|
||||||
|
.workspace-leaf-content[data-type="diff-view"]
|
||||||
|
.d2h-file-diff
|
||||||
|
.d2h-ins.d2h-change {
|
||||||
background-color: rgba(37, 78, 37, 0.418);
|
background-color: rgba(37, 78, 37, 0.418);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -401,7 +445,9 @@
|
|||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-wrapper a:visited {
|
.workspace-leaf-content[data-type="diff-view"]
|
||||||
|
.d2h-file-list-wrapper
|
||||||
|
a:visited {
|
||||||
color: #3572b0;
|
color: #3572b0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -501,7 +547,8 @@
|
|||||||
background-color: var(--background-secondary);
|
background-color: var(--background-secondary);
|
||||||
}
|
}
|
||||||
|
|
||||||
.cm-gutterElement.obs-git-blame-gutter > div, .line-author-settings-preview {
|
.cm-gutterElement.obs-git-blame-gutter > div,
|
||||||
|
.line-author-settings-preview {
|
||||||
/* delegate text color to settings */
|
/* delegate text color to settings */
|
||||||
color: var(--obs-git-gutter-text);
|
color: var(--obs-git-gutter-text);
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
@@ -510,3 +557,20 @@
|
|||||||
padding: 0px 6px 0px 6px;
|
padding: 0px 6px 0px 6px;
|
||||||
white-space: pre; /* Keep spaces and do not collapse them. */
|
white-space: pre; /* Keep spaces and do not collapse them. */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 800px) {
|
||||||
|
/* hide git blame gutter not to superpose text */
|
||||||
|
.cm-gutterElement.obs-git-blame-gutter {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.git-unified-diff-view,
|
||||||
|
.git-split-diff-view .cm-deletedLine .cm-changedText {
|
||||||
|
background-color: #ee443330;
|
||||||
|
}
|
||||||
|
|
||||||
|
.git-unified-diff-view,
|
||||||
|
.git-split-diff-view .cm-insertedLine .cm-changedText {
|
||||||
|
background-color: #22bb2230;
|
||||||
|
}
|
||||||
|
|||||||
70
.obsidian/plugins/obsidian-linter/data.json
vendored
70
.obsidian/plugins/obsidian-linter/data.json
vendored
@@ -43,10 +43,13 @@
|
|||||||
"enabled": false,
|
"enabled": false,
|
||||||
"date-created": true,
|
"date-created": true,
|
||||||
"date-created-key": "date created",
|
"date-created-key": "date created",
|
||||||
"force-retention-of-create-value": false,
|
|
||||||
"date-modified": true,
|
"date-modified": true,
|
||||||
"date-modified-key": "date modified",
|
"date-modified-key": "date modified",
|
||||||
"format": "dddd, MMMM Do YYYY, h:mm:ss a"
|
"format": "dddd, MMMM Do YYYY, h:mm:ss a",
|
||||||
|
"date-created-source-of-truth": "file system",
|
||||||
|
"date-modified-source-of-truth": "file system",
|
||||||
|
"convert-to-utc": false,
|
||||||
|
"update-on-file-contents-updated": "never"
|
||||||
},
|
},
|
||||||
"yaml-title": {
|
"yaml-title": {
|
||||||
"enabled": false,
|
"enabled": false,
|
||||||
@@ -57,7 +60,8 @@
|
|||||||
"enabled": false,
|
"enabled": false,
|
||||||
"preserve-existing-alias-section-style": true,
|
"preserve-existing-alias-section-style": true,
|
||||||
"keep-alias-that-matches-the-filename": false,
|
"keep-alias-that-matches-the-filename": false,
|
||||||
"use-yaml-key-to-keep-track-of-old-filename-or-heading": true
|
"use-yaml-key-to-keep-track-of-old-filename-or-heading": true,
|
||||||
|
"alias-helper-key": "linter-yaml-title-alias"
|
||||||
},
|
},
|
||||||
"capitalize-headings": {
|
"capitalize-headings": {
|
||||||
"enabled": false,
|
"enabled": false,
|
||||||
@@ -91,7 +95,9 @@
|
|||||||
},
|
},
|
||||||
"auto-correct-common-misspellings": {
|
"auto-correct-common-misspellings": {
|
||||||
"enabled": false,
|
"enabled": false,
|
||||||
"ignore-words": ""
|
"ignore-words": "",
|
||||||
|
"skip-words-with-multiple-capitals": false,
|
||||||
|
"extra-auto-correct-files": []
|
||||||
},
|
},
|
||||||
"convert-bullet-list-markers": {
|
"convert-bullet-list-markers": {
|
||||||
"enabled": false
|
"enabled": false
|
||||||
@@ -101,7 +107,8 @@
|
|||||||
"style": "consistent"
|
"style": "consistent"
|
||||||
},
|
},
|
||||||
"no-bare-urls": {
|
"no-bare-urls": {
|
||||||
"enabled": false
|
"enabled": false,
|
||||||
|
"no-bare-uris": false
|
||||||
},
|
},
|
||||||
"ordered-list-style": {
|
"ordered-list-style": {
|
||||||
"enabled": false,
|
"enabled": false,
|
||||||
@@ -128,7 +135,8 @@
|
|||||||
"style": "consistent"
|
"style": "consistent"
|
||||||
},
|
},
|
||||||
"two-spaces-between-lines-with-content": {
|
"two-spaces-between-lines-with-content": {
|
||||||
"enabled": false
|
"enabled": false,
|
||||||
|
"line-break-indicator": " "
|
||||||
},
|
},
|
||||||
"unordered-list-style": {
|
"unordered-list-style": {
|
||||||
"enabled": false,
|
"enabled": false,
|
||||||
@@ -188,7 +196,9 @@
|
|||||||
"enabled": false
|
"enabled": false
|
||||||
},
|
},
|
||||||
"space-between-chinese-japanese-or-korean-and-english-or-numbers": {
|
"space-between-chinese-japanese-or-korean-and-english-or-numbers": {
|
||||||
"enabled": false
|
"enabled": false,
|
||||||
|
"english-symbols-punctuation-before": "-+;:'\"°%$)]",
|
||||||
|
"english-symbols-punctuation-after": "-+'\"([¥$"
|
||||||
},
|
},
|
||||||
"trailing-spaces": {
|
"trailing-spaces": {
|
||||||
"enabled": false,
|
"enabled": false,
|
||||||
@@ -217,15 +227,59 @@
|
|||||||
},
|
},
|
||||||
"remove-multiple-blank-lines-on-paste": {
|
"remove-multiple-blank-lines-on-paste": {
|
||||||
"enabled": false
|
"enabled": false
|
||||||
|
},
|
||||||
|
"add-blank-line-after-yaml": {
|
||||||
|
"enabled": false
|
||||||
|
},
|
||||||
|
"dedupe-yaml-array-values": {
|
||||||
|
"enabled": false,
|
||||||
|
"dedupe-alias-key": true,
|
||||||
|
"dedupe-tag-key": true,
|
||||||
|
"dedupe-array-keys": true,
|
||||||
|
"ignore-keys": ""
|
||||||
|
},
|
||||||
|
"sort-yaml-array-values": {
|
||||||
|
"enabled": false,
|
||||||
|
"sort-alias-key": true,
|
||||||
|
"sort-tag-key": true,
|
||||||
|
"sort-array-keys": true,
|
||||||
|
"ignore-keys": "",
|
||||||
|
"sort-order": "Ascending Alphabetical"
|
||||||
|
},
|
||||||
|
"blockquote-style": {
|
||||||
|
"enabled": false,
|
||||||
|
"style": "space"
|
||||||
|
},
|
||||||
|
"default-language-for-code-fences": {
|
||||||
|
"enabled": false,
|
||||||
|
"default-language": ""
|
||||||
|
},
|
||||||
|
"quote-style": {
|
||||||
|
"enabled": false,
|
||||||
|
"single-quote-enabled": true,
|
||||||
|
"single-quote-style": "''",
|
||||||
|
"double-quote-enabled": true,
|
||||||
|
"double-quote-style": "\"\""
|
||||||
|
},
|
||||||
|
"empty-line-around-horizontal-rules": {
|
||||||
|
"enabled": false
|
||||||
|
},
|
||||||
|
"remove-space-before-or-after-characters": {
|
||||||
|
"enabled": false,
|
||||||
|
"characters-to-remove-space-before": ",!?;:).’”]",
|
||||||
|
"characters-to-remove-space-after": "¿¡‘“(["
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"lintOnSave": false,
|
"lintOnSave": false,
|
||||||
"recordLintOnSaveLogs": false,
|
"recordLintOnSaveLogs": false,
|
||||||
"displayChanged": true,
|
"displayChanged": true,
|
||||||
|
"lintOnFileChange": false,
|
||||||
|
"displayLintOnFileChangeNotice": false,
|
||||||
"settingsConvertedToConfigKeyValues": true,
|
"settingsConvertedToConfigKeyValues": true,
|
||||||
"foldersToIgnore": [],
|
"foldersToIgnore": [],
|
||||||
|
"filesToIgnore": [],
|
||||||
"linterLocale": "system-default",
|
"linterLocale": "system-default",
|
||||||
"logLevel": 4,
|
"logLevel": "ERROR",
|
||||||
"lintCommands": [],
|
"lintCommands": [],
|
||||||
"customRegexes": [],
|
"customRegexes": [],
|
||||||
"commonStyles": {
|
"commonStyles": {
|
||||||
|
|||||||
2883
.obsidian/plugins/obsidian-linter/main.js
vendored
2883
.obsidian/plugins/obsidian-linter/main.js
vendored
File diff suppressed because one or more lines are too long
@@ -1,10 +1,11 @@
|
|||||||
{
|
{
|
||||||
"id": "obsidian-linter",
|
"id": "obsidian-linter",
|
||||||
"name": "Linter",
|
"name": "Linter",
|
||||||
"version": "1.20.0",
|
"version": "1.28.0",
|
||||||
"minAppVersion": "0.15.6",
|
"minAppVersion": "1.5.7",
|
||||||
"description": "Formats and styles your notes. It can be used to format YAML tags, aliases, arrays, and metadata; footnotes; headings; spacing; math blocks; regular markdown contents like list, italics, and bold styles; and more with the use of custom rule options as well.",
|
"description": "Formats and styles your notes. It can be used to format YAML tags, aliases, arrays, and metadata; footnotes; headings; spacing; math blocks; regular markdown contents like list, italics, and bold styles; and more with the use of custom rule options as well.",
|
||||||
"author": "Victor Tao",
|
"author": "Victor Tao",
|
||||||
"authorUrl": "https://github.com/platers",
|
"authorUrl": "https://github.com/platers",
|
||||||
|
"helpUrl": "https://platers.github.io/obsidian-linter/",
|
||||||
"isDesktopOnly": false
|
"isDesktopOnly": false
|
||||||
}
|
}
|
||||||
|
|||||||
226
.obsidian/plugins/obsidian-linter/styles.css
vendored
226
.obsidian/plugins/obsidian-linter/styles.css
vendored
@@ -1,225 +1 @@
|
|||||||
/**
|
.linter-navigation-item{align-items:center;background-color:var(--background-primary-secondary-alt);border:1px solid var(--background-modifier-border);border-radius:100px;border-radius:8px 8px 2px 2px;cursor:pointer;display:flex;flex-direction:row;font-size:16px;font-weight:700;gap:4px;height:32px;overflow:hidden;padding:4px 6px;transition:color .25s ease-in-out,padding .25s ease-in-out,background-color .35s cubic-bezier(.45,.25,.83,.67),max-width .35s cubic-bezier(.57,.04,.58,1);white-space:nowrap}@media screen and (max-width:1325px){.linter-navigation-item.linter-desktop{max-width:32px}}@media screen and (max-width:800px){.linter-navigation-item.linter-mobile{max-width:32px}}.linter-navigation-item-icon,.linter-warning{padding-top:5px}.linter-navigation-item:hover{border-color:var(--interactive-accent-hover);border-bottom:0}.linter-navigation-item-selected{background-color:var(--interactive-accent)!important;border:1px solid var(--background-modifier-border);border-bottom:0;border-radius:8px 8px 2px 2px;color:var(--text-on-accent);max-width:100%!important;padding:4px 9px!important;transition:color .25s ease-in-out,padding .25s ease-in-out,background-color .35s cubic-bezier(.45,.25,.83,.67),max-width .45s cubic-bezier(.57,.04,.58,1) .2s}.linter{transition:transform .4s 0s}.linter-setting-title{align-items:baseline;display:flex;gap:30px;justify-content:space-between}.linter-setting-title.linter-mobile{justify-content:space-around}.linter-setting-title h1{font-weight:900;margin-bottom:12px;margin-top:6px}.linter-setting-header{margin-bottom:24px;overflow-x:auto;overflow-y:hidden}.linter-setting-header .linter-setting-tab-group{align-items:flex-end;display:flex;flex-wrap:wrap;width:100%}.linter-setting-tab-group{border-bottom:2px solid var(--background-modifier-border);margin-top:6px;padding-left:2px;padding-right:2px}.linter-setting-header .linter-tab-settings{border-left:2px solid transparent;border-right:2px solid transparent;cursor:pointer;font-weight:600;padding:6px 12px;white-space:nowrap}.linter-setting-header .linter-tab-settings:first-child{margin-left:6px}.linter-setting-header .linter-tab-settings.linter-tab-settings-active{border:2px solid var(--background-modifier-border);border-bottom-color:var(--background-primary);border-radius:2px;transform:translateY(2px)}.linter-navigation-item:not(.linter-navigation-item-selected)>span:nth-child(2),.linter-visually-hidden{border:0;clip:rect(0 0 0 0);clip-path:rect(0 0 0 0);height:auto;margin:0;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}textarea.full-width{margin-bottom:.8em;margin-top:.8em;min-height:10em;width:100%}.full-width-textbox-input-wrapper{position:relative}.settings-copy-button{margin:0 0 0 auto;padding:4px;position:absolute;right:.8em;top:.8em}.settings-copy-button svg.linter-clipboard path{fill:var(--text-faint)}.settings-copy-button svg.linter-success path{fill:var(--interactive-success)}.settings-copy-button:active,.settings-copy-button:hover{cursor:pointer}.settings-copy-button:active svg path,.settings-copy-button:hover svg path{fill:var(--text-accent-hover);transition:all .3s ease}.settings-copy-button:focus{outline:0}.linter-custom-regex-replacement-container div:last-child{border:none}.linter-custom-regex-replacement{border:none;border-bottom:var(--hr-thickness) solid;border-color:var(--hr-color);margin-bottom:15px}.linter-custom-regex-replacement-row2{flex-wrap:wrap}.linter-custom-regex-replacement-normal-input{width:40%}.linter-custom-regex-replacement-flags{width:15%}.linter-custom-regex-replacement-label{flex-direction:row-reverse}.linter-custom-regex-replacement-label-input{width:50%}.linter-files-to-ignore-container div:last-child{border:none}.linter-files-to-ignore{border:none;border-bottom:var(--hr-thickness) solid;border-color:var(--hr-color);margin-bottom:15px}.linter-files-to-ignore-normal-input{width:40%}.linter-files-to-ignore-flags{width:15%}.linter-no-border{border:none}.linter-border-bottom{border-bottom:1px solid var(--background-modifier-border);border-top:0;margin-bottom:.75em}.linter-no-padding-top{padding-top:0}.custom-row-description{margin-top:0}.modal-warn,.search-zero-state{font-weight:700}.modal-heading,.search-zero-state{text-align:center}
|
||||||
* Based on https://github.com/Fevol/obsidian-translate/blob/master/src/ui/translator-components/SettingsPage.svelte
|
|
||||||
*/
|
|
||||||
|
|
||||||
.linter-navigation-item {
|
|
||||||
cursor: pointer;
|
|
||||||
border-radius: 100px;
|
|
||||||
border: 1px solid var(--background-modifier-border);
|
|
||||||
border-radius: 8px 8px 2px 2px;
|
|
||||||
|
|
||||||
font-weight: bold;
|
|
||||||
font-size: 16px;
|
|
||||||
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
white-space: nowrap;
|
|
||||||
|
|
||||||
padding: 4px 6px;
|
|
||||||
align-items: center;
|
|
||||||
gap: 4px;
|
|
||||||
overflow: hidden;
|
|
||||||
|
|
||||||
background-color: var(--background-primary-secondary-alt);
|
|
||||||
|
|
||||||
transition: color 0.25s ease-in-out,
|
|
||||||
padding 0.25s ease-in-out,
|
|
||||||
background-color 0.35s cubic-bezier(0.45, 0.25, 0.83, 0.67),
|
|
||||||
max-width 0.35s cubic-bezier(0.57, 0.04, 0.58, 1);
|
|
||||||
height: 32px;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media screen and (max-width: 1325px) {
|
|
||||||
.linter-navigation-item.linter-desktop {
|
|
||||||
max-width: 32px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media screen and (max-width: 800px) {
|
|
||||||
.linter-navigation-item.linter-mobile {
|
|
||||||
max-width: 32px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.linter-navigation-item-icon {
|
|
||||||
padding-top: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.linter-navigation-item:hover {
|
|
||||||
border-color: var(--interactive-accent-hover);
|
|
||||||
border-bottom: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.linter-navigation-item-selected {
|
|
||||||
background-color: var(--interactive-accent) !important;
|
|
||||||
color: var(--text-on-accent);
|
|
||||||
padding: 4px 9px !important;
|
|
||||||
max-width: 100% !important;
|
|
||||||
border: 1px solid var(--background-modifier-border);
|
|
||||||
border-radius: 8px 8px 2px 2px;
|
|
||||||
border-bottom: 0px;
|
|
||||||
transition: color 0.25s ease-in-out,
|
|
||||||
padding 0.25s ease-in-out,
|
|
||||||
background-color 0.35s cubic-bezier(0.45, 0.25, 0.83, 0.67),
|
|
||||||
max-width 0.45s cubic-bezier(0.57, 0.04, 0.58, 1) 0.2s;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Based on https://github.com/phibr0/obsidian-commander/blob/main/src/styles.scss
|
|
||||||
*/
|
|
||||||
.linter {
|
|
||||||
transition: transform 400ms 0s;
|
|
||||||
}
|
|
||||||
|
|
||||||
.linter-setting-title {
|
|
||||||
display: flex;
|
|
||||||
align-items: baseline;
|
|
||||||
justify-content: space-between;
|
|
||||||
gap: 30px;
|
|
||||||
}
|
|
||||||
.linter-setting-title.linter-mobile {
|
|
||||||
justify-content: space-around;
|
|
||||||
}
|
|
||||||
.linter-setting-title h1 {
|
|
||||||
font-weight: 900;
|
|
||||||
margin-top: 6px;
|
|
||||||
margin-bottom: 12px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.linter-setting-header {
|
|
||||||
margin-bottom: 24px;
|
|
||||||
overflow-y: hidden;
|
|
||||||
overflow-x: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.linter-setting-header .linter-setting-tab-group {
|
|
||||||
display: flex;
|
|
||||||
align-items: flex-end;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
.linter-setting-tab-group {
|
|
||||||
margin-top: 6px;
|
|
||||||
padding-left: 2px;
|
|
||||||
padding-right: 2px;
|
|
||||||
border-bottom: 2px solid var(--background-modifier-border);
|
|
||||||
}
|
|
||||||
|
|
||||||
.linter-setting-header .linter-tab-settings {
|
|
||||||
padding: 6px 12px;
|
|
||||||
font-weight: 600;
|
|
||||||
cursor: pointer;
|
|
||||||
white-space: nowrap;
|
|
||||||
border-left: 2px solid transparent;
|
|
||||||
border-right: 2px solid transparent;
|
|
||||||
}
|
|
||||||
.linter-setting-header .linter-tab-settings:first-child {
|
|
||||||
margin-left: 6px;
|
|
||||||
}
|
|
||||||
.linter-setting-header .linter-tab-settings.linter-tab-settings-active {
|
|
||||||
border-bottom: 2px solid var(--background-primary);
|
|
||||||
transform: translateY(2px);
|
|
||||||
border-radius: 2px;
|
|
||||||
border-left: 2px solid var(--background-modifier-border);
|
|
||||||
border-top: 2px solid var(--background-modifier-border);
|
|
||||||
border-right: 2px solid var(--background-modifier-border);
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Hide linter element css
|
|
||||||
* Based on https://zellwk.com/blog/hide-content-accessibly/
|
|
||||||
*/
|
|
||||||
.linter-navigation-item:not(.linter-navigation-item-selected) > span:nth-child(2),
|
|
||||||
.linter-visually-hidden {
|
|
||||||
border: 0;
|
|
||||||
clip: rect(0 0 0 0);
|
|
||||||
clip-path: rect(0 0 0 0);
|
|
||||||
height: auto;
|
|
||||||
margin: 0;
|
|
||||||
overflow: hidden;
|
|
||||||
padding: 0;
|
|
||||||
position: absolute;
|
|
||||||
width: 1px;
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Full-width text areas
|
|
||||||
* Based on https://github.com/nyable/obsidian-code-block-enhancer/blob/bb0c636c1e7609b6d26c48a8d7ca15d5cd9abdcf/src/styles/index.scss
|
|
||||||
*/
|
|
||||||
textarea.full-width {
|
|
||||||
width: 100%;
|
|
||||||
min-height: 10em;
|
|
||||||
margin-top: 0.8em;
|
|
||||||
margin-bottom: 0.8em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.full-width-textbox-input-wrapper {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
|
|
||||||
.settings-copy-button {
|
|
||||||
position: absolute;
|
|
||||||
top: 0.8em;
|
|
||||||
right: 0.8em;
|
|
||||||
margin: 0 0 0 auto;
|
|
||||||
padding: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.settings-copy-button svg.linter-clipboard path {
|
|
||||||
fill: var(--text-faint);
|
|
||||||
}
|
|
||||||
.settings-copy-button svg.linter-success path {
|
|
||||||
fill: var(--interactive-success);
|
|
||||||
}
|
|
||||||
.settings-copy-button:hover, .settings-copy-button:active {
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
.settings-copy-button:hover svg path, .settings-copy-button:active svg path {
|
|
||||||
fill: var(--text-accent-hover);
|
|
||||||
transition: all ease 0.3s;
|
|
||||||
}
|
|
||||||
.settings-copy-button:focus {
|
|
||||||
outline: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Custom regex replacement
|
|
||||||
*/
|
|
||||||
.linter-custom-regex-replacement-container div:last-child{
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
.linter-custom-regex-replacement {
|
|
||||||
margin-bottom: 15px;
|
|
||||||
border: none;
|
|
||||||
border-bottom: var(--hr-thickness) solid;
|
|
||||||
border-color: var(--hr-color);
|
|
||||||
}
|
|
||||||
.linter-custom-regex-replacement-row2 {
|
|
||||||
flex-wrap: wrap;
|
|
||||||
}
|
|
||||||
.linter-custom-regex-replacement-normal-input {
|
|
||||||
width: 40%;
|
|
||||||
}
|
|
||||||
.linter-custom-regex-replacement-flags {
|
|
||||||
width: 15%;
|
|
||||||
}
|
|
||||||
.linter-custom-regex-replacement-label {
|
|
||||||
flex-direction: row-reverse;
|
|
||||||
}
|
|
||||||
.linter-custom-regex-replacement-label-input {
|
|
||||||
width: 50%;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Setting item no border
|
|
||||||
*/
|
|
||||||
.linter-no-border {
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Custom row
|
|
||||||
*/
|
|
||||||
.custom-row-description {
|
|
||||||
margin-top: 0px;
|
|
||||||
}
|
|
||||||
@@ -1,5 +1,4 @@
|
|||||||
{
|
{
|
||||||
"theme": "moonstone",
|
|
||||||
"lightStyle": "minimal-light",
|
"lightStyle": "minimal-light",
|
||||||
"darkStyle": "minimal-dark",
|
"darkStyle": "minimal-dark",
|
||||||
"lightScheme": "minimal-gruvbox-light",
|
"lightScheme": "minimal-gruvbox-light",
|
||||||
@@ -28,9 +27,10 @@
|
|||||||
"focusMode": false,
|
"focusMode": false,
|
||||||
"underlineInternal": true,
|
"underlineInternal": true,
|
||||||
"underlineExternal": true,
|
"underlineExternal": true,
|
||||||
"useSystemTheme": true,
|
|
||||||
"folding": true,
|
"folding": true,
|
||||||
"lineNumbers": true,
|
"lineNumbers": true,
|
||||||
"readableLineLength": true,
|
"readableLineLength": true,
|
||||||
"devBlockWidth": false
|
"devBlockWidth": false,
|
||||||
|
"theme": "moonstone",
|
||||||
|
"useSystemTheme": true
|
||||||
}
|
}
|
||||||
948
.obsidian/plugins/obsidian-minimal-settings/main.js
vendored
948
.obsidian/plugins/obsidian-minimal-settings/main.js
vendored
File diff suppressed because one or more lines are too long
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"id": "obsidian-minimal-settings",
|
"id": "obsidian-minimal-settings",
|
||||||
"name": "Minimal Theme Settings",
|
"name": "Minimal Theme Settings",
|
||||||
"version": "7.2.4",
|
"version": "8.1.1",
|
||||||
"minAppVersion": "1.1.9",
|
"minAppVersion": "1.1.9",
|
||||||
"description": "Change the colors, fonts and features of Minimal Theme.",
|
"description": "Change the colors, fonts and features of Minimal Theme.",
|
||||||
"author": "@kepano",
|
"author": "@kepano",
|
||||||
|
|||||||
114
.obsidian/plugins/obsidian-outliner/main.js
vendored
114
.obsidian/plugins/obsidian-outliner/main.js
vendored
File diff suppressed because one or more lines are too long
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"id": "obsidian-outliner",
|
"id": "obsidian-outliner",
|
||||||
"name": "Outliner",
|
"name": "Outliner",
|
||||||
"version": "4.8.0",
|
"version": "4.8.1",
|
||||||
"minAppVersion": "1.1.16",
|
"minAppVersion": "1.5.11",
|
||||||
"description": "Work with your lists like in Workflowy or RoamResearch.",
|
"description": "Work with your lists like in Workflowy or RoamResearch.",
|
||||||
"author": "Viacheslav Slinko",
|
"author": "Viacheslav Slinko",
|
||||||
"authorUrl": "https://github.com/vslinko",
|
"authorUrl": "https://github.com/vslinko",
|
||||||
|
|||||||
475
.obsidian/plugins/obsidian-quiet-outline/main.js
vendored
475
.obsidian/plugins/obsidian-quiet-outline/main.js
vendored
File diff suppressed because one or more lines are too long
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"id": "obsidian-quiet-outline",
|
"id": "obsidian-quiet-outline",
|
||||||
"name": "Quiet Outline",
|
"name": "Quiet Outline",
|
||||||
"version": "0.3.16",
|
"version": "0.3.40",
|
||||||
"minAppVersion": "0.15.6",
|
"minAppVersion": "0.15.6",
|
||||||
"description": "Make outline quiet and more powerful, including no-auto-expand, rendering heading as markdown, and search support.",
|
"description": "Make outline quiet and more powerful, including no-auto-expand, rendering heading as markdown, and search support.",
|
||||||
"author": "the_tree",
|
"author": "the_tree",
|
||||||
|
|||||||
@@ -102,9 +102,14 @@
|
|||||||
.n-tree.n-tree--block-line .n-tree-node:not(.n-tree-node--disabled).n-tree-node--selected {
|
.n-tree.n-tree--block-line .n-tree-node:not(.n-tree-node--disabled).n-tree-node--selected {
|
||||||
background-color: transparent !important;
|
background-color: transparent !important;
|
||||||
}
|
}
|
||||||
|
.view-content:has(.quiet-outline) {
|
||||||
|
padding-bottom: 0px;
|
||||||
|
}
|
||||||
|
.quiet-outline .n-tree.n-tree--block-node.n-tree--block-line {
|
||||||
|
padding-bottom: var(--size-4-8);
|
||||||
|
}
|
||||||
.quiet-outline {
|
.quiet-outline {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
padding-bottom: 24px;
|
|
||||||
}
|
}
|
||||||
.quiet-outline #container {
|
.quiet-outline #container {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
@@ -120,6 +125,12 @@
|
|||||||
.n-tree__empty {
|
.n-tree__empty {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
.canvas-node .markdown-embed-content .is-flashing {
|
||||||
|
mix-blend-mode: normal;
|
||||||
|
}
|
||||||
|
.quiet-outline .n-tree .n-tree-node-content :is(p, h1, h2, h3, h4, h5) {
|
||||||
|
unicode-bidi: plaintext;
|
||||||
|
}
|
||||||
|
|
||||||
/* main.css */
|
/* main.css */
|
||||||
.quiet-outline .n-tree .n-tree-node-indent {
|
.quiet-outline .n-tree .n-tree-node-indent {
|
||||||
@@ -155,5 +166,16 @@
|
|||||||
.n-tree-node.located p {
|
.n-tree-node.located p {
|
||||||
color: var(--8de97876-locatedColor);
|
color: var(--8de97876-locatedColor);
|
||||||
}
|
}
|
||||||
|
.quiet-outline .n-tree .n-tree-node .n-tree-node-content .n-tree-node-content__prefix {
|
||||||
|
margin-right: 0;
|
||||||
|
}
|
||||||
|
.quiet-outline .n-tree .n-tree-node .n-tree-node-content .n-tree-node-content__prefix > *:last-child {
|
||||||
|
margin-right: 8px;
|
||||||
|
}
|
||||||
|
.n-tree-node-switcher__icon {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
/* src/main.css */
|
/* src/main.css */
|
||||||
|
|||||||
1236
.obsidian/plugins/obsidian-vimrc-support/main.js
vendored
1236
.obsidian/plugins/obsidian-vimrc-support/main.js
vendored
File diff suppressed because one or more lines are too long
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"id": "obsidian-vimrc-support",
|
"id": "obsidian-vimrc-support",
|
||||||
"name": "Vimrc Support",
|
"name": "Vimrc Support",
|
||||||
"version": "0.9.0",
|
"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",
|
||||||
|
|||||||
205
.obsidian/plugins/obsidian-zotero-desktop-connector/main.js
vendored
Normal file
205
.obsidian/plugins/obsidian-zotero-desktop-connector/main.js
vendored
Normal file
File diff suppressed because one or more lines are too long
10
.obsidian/plugins/obsidian-zotero-desktop-connector/manifest.json
vendored
Normal file
10
.obsidian/plugins/obsidian-zotero-desktop-connector/manifest.json
vendored
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"id": "obsidian-zotero-desktop-connector",
|
||||||
|
"name": "Zotero Integration",
|
||||||
|
"version": "3.2.1",
|
||||||
|
"minAppVersion": "1.1.1",
|
||||||
|
"description": "Insert and import citations, bibliographies, notes, and PDF annotations from Zotero.",
|
||||||
|
"author": "mgmeyers",
|
||||||
|
"authorUrl": "https://github.com/mgmeyers/obsidian-zotero-integration",
|
||||||
|
"isDesktopOnly": true
|
||||||
|
}
|
||||||
238
.obsidian/plugins/obsidian-zotero-desktop-connector/styles.css
vendored
Normal file
238
.obsidian/plugins/obsidian-zotero-desktop-connector/styles.css
vendored
Normal file
@@ -0,0 +1,238 @@
|
|||||||
|
.zt-format {
|
||||||
|
border: 1px solid var(--background-modifier-border);
|
||||||
|
padding: 1rem;
|
||||||
|
background-color: var(--background-primary);
|
||||||
|
border-radius: 10px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-format__form {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: stretch;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
max-width: 600px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-format__form:last-child {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-format__label {
|
||||||
|
font-size: 0.9em;
|
||||||
|
font-weight: 600;
|
||||||
|
margin-bottom: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.is-deprecated .zt-format__label {
|
||||||
|
color: var(--text-error);
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-format__input-wrapper {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-format__input-wrapper textarea {
|
||||||
|
resize: vertical;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-format__input-wrapper > *:not(.checkbox-container) {
|
||||||
|
width: 100% !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.is-deprecated .zt-format__input-wrapper button {
|
||||||
|
width: auto !important;
|
||||||
|
flex-grow: 0;
|
||||||
|
flex-shrink: 0;
|
||||||
|
margin-left: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-format__delete-btn {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
line-height: 1;
|
||||||
|
padding: 7px 9px;
|
||||||
|
margin-left: 10px;
|
||||||
|
flex-shrink: 0;
|
||||||
|
flex-grow: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-json-viewer {
|
||||||
|
font-size: 13px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-json-viewer .react-json-view {
|
||||||
|
padding: 1em;
|
||||||
|
border-radius: 10px;
|
||||||
|
margin-top: 1em;
|
||||||
|
overflow: auto;
|
||||||
|
font-family: var(--font-monospace) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-json-viewer__btns {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: flex-start;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-json-viewer__btns label {
|
||||||
|
display: block;
|
||||||
|
font-weight: bold;
|
||||||
|
padding-top: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-json-viewer__btns select {
|
||||||
|
font-size: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-json-viewer__btns button {
|
||||||
|
font-size: 1em;
|
||||||
|
margin-right: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-json-viewer__preview,
|
||||||
|
.zt-json-viewer__data {
|
||||||
|
border: 1px solid var(--background-modifier-border);
|
||||||
|
border-radius: 10px;
|
||||||
|
padding: 1em;
|
||||||
|
margin-top: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-json-viewer__preview.error {
|
||||||
|
background-color: #ff000011;
|
||||||
|
font-family: var(--font-monospace);
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-json-viewer__preview pre {
|
||||||
|
overflow: auto;
|
||||||
|
white-space: pre-wrap;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-json-viewer__preview pre,
|
||||||
|
.zt-json-viewer__preview code {
|
||||||
|
font-family: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-json-viewer__preview:not(.error) pre {
|
||||||
|
font-family: var(--font-text, --font-default, --default-font);
|
||||||
|
max-height: 70vh;
|
||||||
|
min-height: 400px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-multiselect {
|
||||||
|
width: 300px;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-multiselect input {
|
||||||
|
outline: none !important;
|
||||||
|
box-shadow: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-format__input-note {
|
||||||
|
font-style: italic;
|
||||||
|
font-size: 0.9em;
|
||||||
|
padding-top: 10px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-setting-item pre,
|
||||||
|
.zt-format__input-note pre {
|
||||||
|
display: inline-block;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0 6px;
|
||||||
|
background-color: var(--background-secondary-alt);
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-asset-success {
|
||||||
|
text-align: left;
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-asset-success__icon {
|
||||||
|
color: var(--interactive-success);
|
||||||
|
font-size: 24px;
|
||||||
|
margin-right: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-asset-success__icon svg {
|
||||||
|
width: 1em !important;
|
||||||
|
height: 1em !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-asset-success__message {
|
||||||
|
font-size: 0.9em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-suggest-title {
|
||||||
|
font-size: var(--font-ui-small);
|
||||||
|
color: var(--text-muted);
|
||||||
|
display: block;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
padding-top: var(--size-4-1);
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-suggest-loading-wrapper {
|
||||||
|
display: flex;
|
||||||
|
position: relative;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
padding: var(--size-4-2) 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-suggest-loading,
|
||||||
|
.zt-suggest-loading:before,
|
||||||
|
.zt-suggest-loading:after {
|
||||||
|
border-radius: 999px;
|
||||||
|
width: 1em;
|
||||||
|
height: 1em;
|
||||||
|
animation-fill-mode: both;
|
||||||
|
animation: bblFadInOut 1.6s infinite ease-in-out;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-suggest-loading {
|
||||||
|
display: block;
|
||||||
|
color: var(--text-muted);
|
||||||
|
font-size: 7px;
|
||||||
|
position: relative;
|
||||||
|
animation-delay: -0.16s;
|
||||||
|
top: -1em;
|
||||||
|
}
|
||||||
|
.zt-suggest-loading:before,
|
||||||
|
.zt-suggest-loading:after {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
}
|
||||||
|
.zt-suggest-loading:before {
|
||||||
|
left: -2em;
|
||||||
|
animation-delay: -0.32s;
|
||||||
|
}
|
||||||
|
.zt-suggest-loading:after {
|
||||||
|
left: 2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.zt-color-chip {
|
||||||
|
display: inline-block;
|
||||||
|
width: 1em;
|
||||||
|
height: 1em;
|
||||||
|
border: 1px solid var(--background-modifier-border);
|
||||||
|
border-radius: var(--radius-s);
|
||||||
|
margin-right: var(--size-4-1);
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes bblFadInOut {
|
||||||
|
0%,
|
||||||
|
80%,
|
||||||
|
100% {
|
||||||
|
box-shadow: 0 1em 0 -1.3em;
|
||||||
|
}
|
||||||
|
40% {
|
||||||
|
box-shadow: 0 1em 0 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
File diff suppressed because one or more lines are too long
@@ -1,10 +1,11 @@
|
|||||||
{
|
{
|
||||||
"id": "oz-clear-unused-images",
|
"id": "oz-clear-unused-images",
|
||||||
"name": "Clear Unused Images",
|
"name": "Clear Unused Images",
|
||||||
"version": "1.1.0",
|
"version": "1.1.1",
|
||||||
"minAppVersion": "0.11.13",
|
"minAppVersion": "0.11.13",
|
||||||
"description": "Clear the images that you are not using anymore in your markdown notes to save space.",
|
"description": "Clear the images that you are not using anymore in your markdown notes to save space.",
|
||||||
"author": "Ozan",
|
"author": "Ozan",
|
||||||
"authorUrl": "https://www.ozan.pl",
|
"authorUrl": "https://www.ozan.pl",
|
||||||
|
"fundingUrl": "https://ko-fi.com/ozante",
|
||||||
"isDesktopOnly": false
|
"isDesktopOnly": false
|
||||||
}
|
}
|
||||||
|
|||||||
29147
.obsidian/plugins/table-editor-obsidian/main.js
vendored
29147
.obsidian/plugins/table-editor-obsidian/main.js
vendored
File diff suppressed because one or more lines are too long
@@ -6,7 +6,7 @@
|
|||||||
"description": "Improved table navigation, formatting, manipulation, and formulas",
|
"description": "Improved table navigation, formatting, manipulation, and formulas",
|
||||||
"isDesktopOnly": false,
|
"isDesktopOnly": false,
|
||||||
"minAppVersion": "1.0.0",
|
"minAppVersion": "1.0.0",
|
||||||
"version": "0.19.1",
|
"version": "0.22.1",
|
||||||
"js": "main.js",
|
"js": "main.js",
|
||||||
"fundingUrl": {
|
"fundingUrl": {
|
||||||
"Github Sponsor": "https://github.com/sponsors/tgrosinger",
|
"Github Sponsor": "https://github.com/sponsors/tgrosinger",
|
||||||
|
|||||||
4
.obsidian/themes/Minimal/manifest.json
vendored
4
.obsidian/themes/Minimal/manifest.json
vendored
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "Minimal",
|
"name": "Minimal",
|
||||||
"version": "7.2.3",
|
"version": "7.7.18",
|
||||||
"minAppVersion": "1.1.9",
|
"minAppVersion": "1.6.1",
|
||||||
"author": "@kepano",
|
"author": "@kepano",
|
||||||
"authorUrl": "https://twitter.com/kepano",
|
"authorUrl": "https://twitter.com/kepano",
|
||||||
"fundingUrl": "https://www.buymeacoffee.com/kepano"
|
"fundingUrl": "https://www.buymeacoffee.com/kepano"
|
||||||
|
|||||||
176
.obsidian/themes/Minimal/theme.css
vendored
176
.obsidian/themes/Minimal/theme.css
vendored
File diff suppressed because one or more lines are too long
29
.obsidian/types.json
vendored
Normal file
29
.obsidian/types.json
vendored
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
{
|
||||||
|
"types": {
|
||||||
|
"aliases": "aliases",
|
||||||
|
"cssclasses": "multitext",
|
||||||
|
"tags": "tags",
|
||||||
|
"excalidraw-plugin": "text",
|
||||||
|
"excalidraw-export-transparent": "checkbox",
|
||||||
|
"excalidraw-mask": "checkbox",
|
||||||
|
"excalidraw-export-dark": "checkbox",
|
||||||
|
"excalidraw-export-padding": "number",
|
||||||
|
"excalidraw-export-pngscale": "number",
|
||||||
|
"excalidraw-link-prefix": "text",
|
||||||
|
"excalidraw-url-prefix": "text",
|
||||||
|
"excalidraw-link-brackets": "checkbox",
|
||||||
|
"excalidraw-onload-script": "text",
|
||||||
|
"excalidraw-linkbutton-opacity": "number",
|
||||||
|
"excalidraw-default-mode": "text",
|
||||||
|
"excalidraw-font": "text",
|
||||||
|
"excalidraw-font-color": "text",
|
||||||
|
"excalidraw-border-color": "text",
|
||||||
|
"excalidraw-css": "text",
|
||||||
|
"excalidraw-autoexport": "text",
|
||||||
|
"excalidraw-iframe-theme": "text",
|
||||||
|
"excalidraw-open-md": "checkbox",
|
||||||
|
"excalidraw-export-embed-scene": "checkbox",
|
||||||
|
"excalidraw-embeddable-theme": "text",
|
||||||
|
"createAt": "date"
|
||||||
|
}
|
||||||
|
}
|
||||||
139
.obsidian/workspace.json
vendored
139
.obsidian/workspace.json
vendored
@@ -4,19 +4,21 @@
|
|||||||
"type": "split",
|
"type": "split",
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"id": "622c79aef6d28cb5",
|
"id": "7dedcfa144d56140",
|
||||||
"type": "tabs",
|
"type": "tabs",
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"id": "82a60b2f86acd8d6",
|
"id": "229ca4be3afd5932",
|
||||||
"type": "leaf",
|
"type": "leaf",
|
||||||
"state": {
|
"state": {
|
||||||
"type": "markdown",
|
"type": "markdown",
|
||||||
"state": {
|
"state": {
|
||||||
"file": "Study/DL/吴恩达深度学习课程/Lesson 1.md",
|
"file": "Books/代码随想录/代码模版.md",
|
||||||
"mode": "source",
|
"mode": "source",
|
||||||
"source": false
|
"source": false
|
||||||
}
|
},
|
||||||
|
"icon": "lucide-file",
|
||||||
|
"title": "代码模版"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -38,8 +40,11 @@
|
|||||||
"state": {
|
"state": {
|
||||||
"type": "file-explorer",
|
"type": "file-explorer",
|
||||||
"state": {
|
"state": {
|
||||||
"sortOrder": "alphabetical"
|
"sortOrder": "alphabetical",
|
||||||
}
|
"autoReveal": false
|
||||||
|
},
|
||||||
|
"icon": "lucide-folder-closed",
|
||||||
|
"title": "Files"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -54,7 +59,9 @@
|
|||||||
"collapseAll": false,
|
"collapseAll": false,
|
||||||
"extraContext": false,
|
"extraContext": false,
|
||||||
"sortOrder": "alphabetical"
|
"sortOrder": "alphabetical"
|
||||||
}
|
},
|
||||||
|
"icon": "lucide-search",
|
||||||
|
"title": "Search"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -62,7 +69,9 @@
|
|||||||
"type": "leaf",
|
"type": "leaf",
|
||||||
"state": {
|
"state": {
|
||||||
"type": "starred",
|
"type": "starred",
|
||||||
"state": {}
|
"state": {},
|
||||||
|
"icon": "lucide-ghost",
|
||||||
|
"title": "starred"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -70,7 +79,9 @@
|
|||||||
"type": "leaf",
|
"type": "leaf",
|
||||||
"state": {
|
"state": {
|
||||||
"type": "bookmarks",
|
"type": "bookmarks",
|
||||||
"state": {}
|
"state": {},
|
||||||
|
"icon": "lucide-bookmark",
|
||||||
|
"title": "Bookmarks"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -93,7 +104,7 @@
|
|||||||
"state": {
|
"state": {
|
||||||
"type": "backlink",
|
"type": "backlink",
|
||||||
"state": {
|
"state": {
|
||||||
"file": "Study/DL/吴恩达深度学习课程/Lesson 1.md",
|
"file": "Paper/FSL Image Classification/Context Attribute words for Prompt Tuning.md",
|
||||||
"collapseAll": false,
|
"collapseAll": false,
|
||||||
"extraContext": false,
|
"extraContext": false,
|
||||||
"sortOrder": "alphabetical",
|
"sortOrder": "alphabetical",
|
||||||
@@ -101,7 +112,9 @@
|
|||||||
"searchQuery": "",
|
"searchQuery": "",
|
||||||
"backlinkCollapsed": false,
|
"backlinkCollapsed": false,
|
||||||
"unlinkedCollapsed": true
|
"unlinkedCollapsed": true
|
||||||
}
|
},
|
||||||
|
"icon": "links-coming-in",
|
||||||
|
"title": "Backlinks for Context Attribute words for Prompt Tuning"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -110,10 +123,12 @@
|
|||||||
"state": {
|
"state": {
|
||||||
"type": "outgoing-link",
|
"type": "outgoing-link",
|
||||||
"state": {
|
"state": {
|
||||||
"file": "Study/DL/吴恩达深度学习课程/Lesson 1.md",
|
"file": "Paper/FSL Image Classification/Context Attribute words for Prompt Tuning.md",
|
||||||
"linksCollapsed": false,
|
"linksCollapsed": false,
|
||||||
"unlinkedCollapsed": true
|
"unlinkedCollapsed": true
|
||||||
}
|
},
|
||||||
|
"icon": "links-going-out",
|
||||||
|
"title": "Outgoing links from Context Attribute words for Prompt Tuning"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -124,7 +139,9 @@
|
|||||||
"state": {
|
"state": {
|
||||||
"sortOrder": "frequency",
|
"sortOrder": "frequency",
|
||||||
"useHierarchy": true
|
"useHierarchy": true
|
||||||
}
|
},
|
||||||
|
"icon": "lucide-tags",
|
||||||
|
"title": "Tags"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -133,8 +150,10 @@
|
|||||||
"state": {
|
"state": {
|
||||||
"type": "outline",
|
"type": "outline",
|
||||||
"state": {
|
"state": {
|
||||||
"file": "Study/DL/吴恩达深度学习课程/Lesson 1.md"
|
"file": "Paper/FSL Image Classification/Context Attribute words for Prompt Tuning.md"
|
||||||
}
|
},
|
||||||
|
"icon": "lucide-list",
|
||||||
|
"title": "Outline of Context Attribute words for Prompt Tuning"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -142,51 +161,81 @@
|
|||||||
"type": "leaf",
|
"type": "leaf",
|
||||||
"state": {
|
"state": {
|
||||||
"type": "advanced-tables-toolbar",
|
"type": "advanced-tables-toolbar",
|
||||||
"state": {}
|
"state": {},
|
||||||
|
"icon": "lucide-file",
|
||||||
|
"title": "Plugin no longer active"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ae1094cd7db4fa21",
|
||||||
|
"type": "leaf",
|
||||||
|
"state": {
|
||||||
|
"type": "quiet-outline",
|
||||||
|
"state": {},
|
||||||
|
"icon": "lines-of-text",
|
||||||
|
"title": "Quiet Outline"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
|
"currentTab": 5
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"direction": "horizontal",
|
"direction": "horizontal",
|
||||||
"width": 386.5,
|
"width": 386.5
|
||||||
"collapsed": true
|
|
||||||
},
|
},
|
||||||
"left-ribbon": {
|
"left-ribbon": {
|
||||||
"hiddenItems": {
|
"hiddenItems": {
|
||||||
"notion-like-tables:Create new loom": false,
|
"bases:Create new base": false,
|
||||||
"switcher:Open quick switcher": false,
|
"switcher:Open quick switcher": false,
|
||||||
"graph:Open graph view": false,
|
"graph:Open graph view": false,
|
||||||
"templates:Insert template": false,
|
"templates:Insert template": false,
|
||||||
"command-palette:Open command palette": false,
|
"command-palette:Open command palette": false,
|
||||||
"oz-clear-unused-images:Clear Unused Images": false,
|
"oz-clear-unused-images:Clear Unused Images": false,
|
||||||
"obsidian-excalidraw-plugin:Create new drawing": false,
|
"table-editor-obsidian:Advanced Tables Toolbar": false,
|
||||||
"table-editor-obsidian:Advanced Tables Toolbar": false
|
"notion-like-tables:Create loom": false,
|
||||||
|
"obsidian-git:Open Git source control": false,
|
||||||
|
"obsidian-excalidraw-plugin:New drawing": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"active": "82a60b2f86acd8d6",
|
"active": "229ca4be3afd5932",
|
||||||
"lastOpenFiles": [
|
"lastOpenFiles": [
|
||||||
"Study/DL/吴恩达深度学习课程/Other.md",
|
"Books/代码随想录/代码模版.md",
|
||||||
"Study/DL/吴恩达深度学习课程/Lesson 1.md",
|
"Research/FSL/提示工程.md",
|
||||||
"Books/动手学深度学习/基础概念.md",
|
"Paper/FSL Image Classification/Context Attribute words for Prompt Tuning.md",
|
||||||
"Study/DL",
|
"Research/FSL",
|
||||||
"Study",
|
"Research",
|
||||||
"Study/DL/吴恩达深度学习课程",
|
"conflict-files-obsidian-git.md",
|
||||||
|
"Paper/CLIP/Learning Transferable Visual Models From Natural Language Supervision.md",
|
||||||
|
"Paper/CLIP/Cross-Modal Few-Shot Learning with Multimodal Models.md",
|
||||||
|
"Paper/CLIP/PromptSRC:Foundational Model Adaptation without Forgetting.md",
|
||||||
|
"Paper/CLIP/MaPLe:Multi-modal Prompt Learning.md",
|
||||||
|
"Paper/CLIP/Learning Hierarchical Prompt with Structured Linguistic Knowledge for Vision-Language Models.md",
|
||||||
|
"Record/DL/CoT Prompt.md",
|
||||||
|
"Record/DL/LLM.md",
|
||||||
|
"Record/DL/Loss.md",
|
||||||
|
"Paper/Diffusion/Imagic.md",
|
||||||
|
"Paper/Diffusion/MoMA.md",
|
||||||
|
"Paper/Diffusion/Tutorial on Diffusion Models for Imaging and Vision.md",
|
||||||
|
"Study/DL/Diffusion学习笔记.md",
|
||||||
|
"Paper/Diffusion/assets/MoMA/img-240506141200231.png",
|
||||||
|
"Paper/Diffusion/assets/MoMA",
|
||||||
|
"Record/DL",
|
||||||
|
"Paper/Diffusion/assets/Imagic/img-240425225015478.png",
|
||||||
|
"Paper/Diffusion/assets/Imagic",
|
||||||
|
"Paper/Diffusion/assets",
|
||||||
|
"Paper/Diffusion/Diffusion Models: A Comprehensive Survey of Methods and Applications.md",
|
||||||
|
"Paper/CLIP/Open-Vocabulary Semantic Segmentation.md",
|
||||||
|
"Paper/Diffusion",
|
||||||
|
"Paper/FSL Image Classification",
|
||||||
|
"Paper",
|
||||||
|
"Books/代码随想录/数组.md",
|
||||||
|
"Books/代码随想录",
|
||||||
|
"Paper/Open-Vocabulary Semantic Segmentation.md",
|
||||||
"Books/动手学深度学习/引言.md",
|
"Books/动手学深度学习/引言.md",
|
||||||
"Books/Java Guide/基础语法.md",
|
"Paper/未命名.md",
|
||||||
"Books/Java并发编程/Java并发编程.md",
|
"Books/动手学深度学习/基础概念.md",
|
||||||
"Books/从零开始深入学习Spring/IoC.md",
|
"liangOpenVocabularySemanticSegmentation2023.md",
|
||||||
"Books/Vim实用技巧/一、入门导读.md",
|
"Books/HDLBits/Verilog.md",
|
||||||
"Books/从零开始深入学习Spring",
|
"Record/Linux/常用软件.md"
|
||||||
"Books/Java Guide",
|
|
||||||
"Temp/Interview.md",
|
|
||||||
"Books/代码随想录/代码随想录.md",
|
|
||||||
"Books/代码随想录/().md",
|
|
||||||
"_notion-like-tables/table-id-ncD19n.md",
|
|
||||||
"未命名.md",
|
|
||||||
"Basic/未命名.md",
|
|
||||||
"Excalidraw/Drawing 2023-02-19 16.06.15.excalidraw.md",
|
|
||||||
"Excalidraw/Drawing 2023-02-19 16.07.56.excalidraw.md",
|
|
||||||
"Excalidraw/Drawing 2023-02-19 16.07.40.excalidraw.md"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
8
Books/HDLBits/Verilog.md
Normal file
8
Books/HDLBits/Verilog.md
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# Basics
|
||||||
|
## Operators
|
||||||
|
Math: `+, -, *, /`
|
||||||
|
|
||||||
|
## Wire
|
||||||
|
Wire is directional. We often use `assign lhs = rhs` drive the right signal to left. This assignment is a **continuous**(the change of right will conducted to left immediately when the voltage change), it's not a one-time assignment.
|
||||||
|
The port(input and output) on a module also have a direction.
|
||||||
|
When the module become complex, we will declare a wire in the module `wire wire_name;`.
|
||||||
58
Books/代码随想录/代码模版.md
Normal file
58
Books/代码随想录/代码模版.md
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
# 数组
|
||||||
|
## 二分
|
||||||
|
```python
|
||||||
|
def binary_search(nums, target):
|
||||||
|
left, right = 0, len(nums) - 1
|
||||||
|
while left <= right:
|
||||||
|
mid = left + (right - left) // 2 # 防止溢出
|
||||||
|
if nums[mid] == target:
|
||||||
|
return mid # 找到目标,返回索引
|
||||||
|
elif nums[mid] < target:
|
||||||
|
left = mid + 1 # 目标在右半部分
|
||||||
|
else:
|
||||||
|
right = mid - 1 # 目标在左半部分
|
||||||
|
return -1 # 未找到目标
|
||||||
|
|
||||||
|
# 左右边界
|
||||||
|
def left_bound(nums, target):
|
||||||
|
left, right = 0, len(nums) - 1
|
||||||
|
while left <= right:
|
||||||
|
mid = left + (right - left) // 2
|
||||||
|
if nums[mid] < target:
|
||||||
|
left = mid + 1
|
||||||
|
else:
|
||||||
|
right = mid - 1
|
||||||
|
return left if left < len(nums) and nums[left] == target else -1
|
||||||
|
def right_bound(nums, target):
|
||||||
|
left, right = 0, len(nums) - 1
|
||||||
|
while left <= right:
|
||||||
|
mid = left + (right - left) // 2
|
||||||
|
if nums[mid] <= target:
|
||||||
|
left = mid + 1
|
||||||
|
else:
|
||||||
|
right = mid - 1
|
||||||
|
return right if right >= 0 and nums[right] == target else -1
|
||||||
|
```
|
||||||
|
## 滑动窗口
|
||||||
|
```python
|
||||||
|
def lengthOfLongestSubstring(s: str) -> int:
|
||||||
|
left = 0
|
||||||
|
window = {}
|
||||||
|
result = 0
|
||||||
|
|
||||||
|
for right in range(len(s)):
|
||||||
|
char_right = s[right]
|
||||||
|
window[char_right] = window.get(char_right, 0) + 1
|
||||||
|
|
||||||
|
# 当窗口中有重复字符时,收缩窗口
|
||||||
|
while window[char_right] > 1:
|
||||||
|
char_left = s[left]
|
||||||
|
window[char_left] -= 1
|
||||||
|
if window[char_left] == 0:
|
||||||
|
del window[char_left]
|
||||||
|
left += 1
|
||||||
|
|
||||||
|
result = max(result, right - left + 1)
|
||||||
|
|
||||||
|
return result
|
||||||
|
```
|
||||||
2
Books/代码随想录/数组.md
Normal file
2
Books/代码随想录/数组.md
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
## 二分
|
||||||
|
要点
|
||||||
@@ -4,10 +4,26 @@
|
|||||||
$l^i(\mathbf{w}, b) = \frac{1}{2}( \hat{y}^i - y^i)$
|
$l^i(\mathbf{w}, b) = \frac{1}{2}( \hat{y}^i - y^i)$
|
||||||
损失函数我们则采用平方误差的均值:
|
损失函数我们则采用平方误差的均值:
|
||||||
$L(\mathbf{w}, b) = \frac1n\sum_{i=1}^{n} l^i(\mathbf{x}, b)$
|
$L(\mathbf{w}, b) = \frac1n\sum_{i=1}^{n} l^i(\mathbf{x}, b)$
|
||||||
|
## 过拟合与欠拟合
|
||||||
|
训练误差是在训练数据集上的误差,泛化误差是在普遍数据集上的误差,一般来说,欠拟合一般指在训练数据集上精本就度不高,导致泛化性能较差,过拟合指在过于拟合训练数据集中的样本,导致泛化性能较差。
|
||||||
# 优化算法
|
# 优化算法
|
||||||
- 随机梯度下降算法(Stochastic Gradient Descent)
|
- 随机梯度下降算法(Stochastic Gradient Descent)
|
||||||
通过不断在损失函数递减方向上更新参数来降低误差。
|
通过不断在损失函数递减方向上更新参数来降低误差。
|
||||||
梯度下降法主要计算损失函数关于模型参数的导数。但是每次计算时候遍历整个数据集,效率会很低。所以每次计算先抽取一个小批量$B$(由固定数量的样本组成)的梯度,然后我们将梯度乘以一个预先确定的正数$\eta$,并从当前采纳数的值中减掉。
|
梯度下降法主要计算损失函数关于模型参数的导数。但是每次计算时候遍历整个数据集,效率会很低。所以每次计算先抽取一个小批量$B$(由固定数量的样本组成)的梯度,然后我们将梯度乘以一个预先确定的正数$\eta$,并从当前采纳数的值中减掉。
|
||||||
$(\mathbf{w}, b) <- (\mathbf{w},b) - \frac{\eta}{|B|} \sum_{i\in{B}}\partial_{(\mathbf{w}, b)}l^i(\mathbf{w},b)$
|
$(\mathbf{w}, b) <- (\mathbf{w},b) - \frac{\eta}{|B|} \sum_{i\in{B}}\partial_{(\mathbf{w}, b)}l^i(\mathbf{w},b)$
|
||||||
其中$\eta$代表学习率
|
其中$\eta$代表学习率。
|
||||||
# 激活函数
|
# 激活函数
|
||||||
|
在MLP中,由于多个线性层叠加,最终的结果和单层感知机并无区别,加入激活函数后,可以引入非线性。
|
||||||
|
常用的有sigmoid、ReLU、tanh等函数。
|
||||||
|
在MLP中,由于激活函数的存在还会出现梯度消失和梯度爆炸的问题。由于每次梯度下降的过程中需要对激活函数求导并乘上每一层的权重,这就会导致他梯度爆炸和梯度消失。
|
||||||
|
# 正则化
|
||||||
|
主要用来解决过拟合问题。
|
||||||
|
- 权重衰减
|
||||||
|
通过L2范数,惩罚大的权重值,使得模型的参数更加稀疏平均,从而使得模型不过于依赖某些特征,从而提升了泛化能力。
|
||||||
|
正则化损失函数:$L = L_0 + \lambda ||\mathbf w||^2$
|
||||||
|
反向传播:$w_i ← w_i - \alpha(\frac{\partial L_0}{\partial w_i} + \lambda w_i)$
|
||||||
|
通过反向传播的过程我们可以看到,每次迭代后,权重的值都会变为$(1 - \lambda \alpha)$倍,使得权重值更加靠近零,但是不为0,使模型偏向于学习更加简单的、泛化性能更高的模型。L1正则化则会导致模型将权重集中在一部分特征上,将其它权重清零,这称之为特征选择。
|
||||||
|
- Dropout
|
||||||
|
*经典泛化理论认为,为了缩小训练和测试性能之间的差距,应该以简单的模型为目标。简单性的另一个角度是平滑性,即函数不应该对其输入的微小变化敏感。*
|
||||||
|
在实践中,我们以$p$的概率将隐藏单元置为0,在执行反向传播时,删除的神经元的梯度也会消失,这就使得输出层不会过于依赖其中的任何一个隐藏单元。
|
||||||
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
|
|
||||||
0
Books/编译原理/Overview.md
Normal file
0
Books/编译原理/Overview.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Questions:
|
||||||
|
- Markov chain
|
||||||
17
Paper/Diffusion/Imagic.md
Normal file
17
Paper/Diffusion/Imagic.md
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
# 研究动机
|
||||||
|
## 当前模型缺陷
|
||||||
|
- 编辑方式受限:只能转换风格/添加物体
|
||||||
|
- 编辑对象受限:特定域/仅能处理合成图像
|
||||||
|
- 需要辅助输入:mask
|
||||||
|
## 本文模型优势
|
||||||
|
- 仅需要一段修改描述和图像
|
||||||
|
# 方法
|
||||||
|

|
||||||
|
1. Text embedding optimize
|
||||||
|
1. 通过文本编码器获得$e_{tgt}$,其中$e_{tgt} \in R^{T * d}$。
|
||||||
|
2. 冻结Diffusion模型参数,对$e$进行优化。
|
||||||
|
2. Diffusion Model fine-tuning
|
||||||
|
对Difffusion模型进行调优,
|
||||||
|
3. Linear interpolation
|
||||||
|
$\bar e = \eta \cdot e_{tgt} + (1 - \eta) \cdot e_{opt}$
|
||||||
|
根据$\eta$选定原始文本嵌入和优化文本嵌入之间的文本嵌入,从而调整输出图像与原图的相似度。
|
||||||
5
Paper/Diffusion/MoMA.md
Normal file
5
Paper/Diffusion/MoMA.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|

|
||||||
|
# 方法:
|
||||||
|
1. Multimodal Generative Image-feature Decoder
|
||||||
|
2. Self-Attention Feature Transfer
|
||||||
|
3. Multimodal Generative Learning and Diffusion Learning
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
# Baisic
|
||||||
|
# VAE(Variational Auto-Encoder)
|
||||||
BIN
Paper/Diffusion/assets/Imagic/img-240425225015478.png
Normal file
BIN
Paper/Diffusion/assets/Imagic/img-240425225015478.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 186 KiB |
BIN
Paper/Diffusion/assets/MoMA/img-240506141200231.png
Normal file
BIN
Paper/Diffusion/assets/MoMA/img-240506141200231.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 243 KiB |
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
CreateAt: 2025-02-21
|
||||||
|
ModleName: CoAPT
|
||||||
|
Repo: https://github.com/LeeGun4488/CoAPT
|
||||||
|
---
|
||||||
17
Record/DL/CoT Prompt.md
Normal file
17
Record/DL/CoT Prompt.md
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
## Standard Few-shot Prompt
|
||||||
|
Prompt: `Q(question) + A(answer)`
|
||||||
|
## Few-shot CoT
|
||||||
|
思维链提示,就是把一个多步骤推理问题,分解成很多个中间步骤,分配给更多的计算量,生成更多的 token,再把这些答案拼接在一起进行求解。
|
||||||
|
Prompt: Q + A(r(rationale) + a(answer))
|
||||||
|
Answer: LLM同样会给出理由和答案。
|
||||||
|
## Zero-shot CoT
|
||||||
|
通过 `Let's think step by step` 可以让 LLM 生成回答问题的思维链。我们可以将 Zero-shot CoT 看作一个 pipeline,我们先使用 `Let's think step by step` 让 LLM 尽可能生成一些思考过程,然后将生成的 rationale 和 question 拼接起来,重新配合一个指向 answer 的 Prompt 来激励模型生成答案。
|
||||||
|
Output: (Q + (Q + Let's think step by step | LLM) + The answer is) | LLM
|
||||||
|
## Self-consistency
|
||||||
|
自洽性,使用多数投票(majority vote)的方式来提升最终回答的准确性。不同于之前的方法,本方法会生成多个思路链,最后取多数答案作为最终答案。
|
||||||
|
## LtM
|
||||||
|
Least-to-Most prompt(最少到最多提示过程),进一步将问题分解为子问题,然后逐个解决。主要分为以下两个阶段:
|
||||||
|
- 分解问题
|
||||||
|
将问题分解为子问题:使用 "To solve {Q}, we need to" 来让 LLM 生成子问题。
|
||||||
|
- 解决问题:
|
||||||
|
根据生成的问题的依赖顺序依次解决问题。将问题及子问题输入 LLM 进行求解每次解决后将子问题及答案作为下一步骤的输入。
|
||||||
5
Record/DL/LLM.md
Normal file
5
Record/DL/LLM.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
## 常见超参
|
||||||
|
- temperature
|
||||||
|
用于控制 LLM 输出的随机度。高热度更有创造性/难以预测,低热度则更为保守。
|
||||||
|
- Top-K
|
||||||
|
即核心采样(nucleus smapling),也是用处控制输出随机性的超参数。它设定了一个概率阈值,LLM 会选取累计概率超过该阈值的最佳词汇,然后 LLM 从这组词汇中随机抽取以生成输出。
|
||||||
26
Record/DL/Loss.md
Normal file
26
Record/DL/Loss.md
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
# 熵
|
||||||
|
随机变量 $X = \{x_1,x_2,...,x_i\}$,对应的概率为 $p_i = p(X = x_i)$,则熵为
|
||||||
|
$$
|
||||||
|
H(X) = - \sum_{i=1}^{n}p(x_i) \log p(x_i)
|
||||||
|
$$
|
||||||
|
> $p(x_i)=0$ 时,$p(x_i)logp(x_i)=0$。
|
||||||
|
> $\log p(x)$表示某个状态所需的信息量,较低的熵往往需要的信息量更少,这样才会使得总信息量更小。熵表示服从某一概率分布时理论最小平均编码长度。
|
||||||
|
|
||||||
|
# 交叉熵
|
||||||
|
$$
|
||||||
|
H(p,q) = \sum_x p(x) \frac{1}{q(x)}=-\sum_x p(x) \log q(x)
|
||||||
|
$$
|
||||||
|
> 表示对预测分布 $q(x)$ 使用真实分布 $p(x)$ 来进行编码时所需要的信息量大小。
|
||||||
|
> 由于熵是最小平均编码长度,当且仅当$p=q$时,交叉熵取得最小值$H(p,q) = H(q,p) = H(p) = H(q)$
|
||||||
|
# KL 散度
|
||||||
|
KL散度(相对熵)的表示如下:
|
||||||
|
$$
|
||||||
|
D_{KL}(p||q) = H(p,q) - H(p) = - \sum_x p(x) \log \frac{q(x)}{p(x)}
|
||||||
|
$$
|
||||||
|
KL散度有以下性质:
|
||||||
|
1. 正定性:$D_{KL}(p||q) \ge 0$
|
||||||
|
2. 非对称性:$D_{KL}(p||q) \ne D_{KL}(q||p)$
|
||||||
|
## 一维高斯分布的KL散度
|
||||||
|
$$
|
||||||
|
KL(p,q) = \log \frac{\sigma_2}{\sigma_1} + \frac{\sigma_1^2 + (\mu_1 - \mu_2)^2}{2\sigma_2^2} - \frac{1}{2}
|
||||||
|
$$
|
||||||
5
Record/Linux/常用软件.md
Normal file
5
Record/Linux/常用软件.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
1. ripgrep
|
||||||
|
2. fzf
|
||||||
|
3. jq
|
||||||
|
4. eza
|
||||||
|
5. bat
|
||||||
3
Research/FSL/提示工程.md
Normal file
3
Research/FSL/提示工程.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
多角度提示
|
||||||
|
语义提示与结构化提示融合
|
||||||
|
加入视觉信息以验证提示词
|
||||||
3
Study/DL/Diffusion学习笔记.md
Normal file
3
Study/DL/Diffusion学习笔记.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
·# 证据下界(Evidence Lower Bound)
|
||||||
|
|
||||||
|
$\text{ELBO} = \mathbb{E}_{q(z)}\left[\log p(x \mid z)\right] - \text{KL}(q(z) \parallel p(z))$
|
||||||
@@ -1 +1,25 @@
|
|||||||
# Neural Network and Deep Learning
|
# Neural Network and Deep Learning
|
||||||
|
## Logistic Regression
|
||||||
|
$$\begin{align}
|
||||||
|
正向传递\\
|
||||||
|
z &= w^Tx + b \\
|
||||||
|
a &= \sigma(z) = \frac{1}{1+e^{-x}} \\
|
||||||
|
\hat{y} &= L(a) = -ylog(\hat{y}) - (1-y)log(1-\hat{y}) \ \ 其中(\hat{y} = a) \\
|
||||||
|
反向传递 \\
|
||||||
|
\frac{dL}{da} &= \frac{(a-y)}{a(1-a)} \\
|
||||||
|
\frac{da}{dz} &= a(1-a) \\
|
||||||
|
dz = \frac{dL}{dz} &= \frac{dL}{da} \cdot \frac{da}{dz} = a-y \\
|
||||||
|
dw = \frac{dL}{dw} &= \frac{dL}{dz} \cdot \frac{dz}{dw} = xdz \\
|
||||||
|
db = \frac{dL}{db} &= \frac{dL}{dz} \cdot \frac{dz}{db} = dz \\
|
||||||
|
w &= w - \eta \cdot dw \\
|
||||||
|
b &= b - \eta \cdot db
|
||||||
|
\end{align}$$
|
||||||
|
正向传递:计算网络输出。
|
||||||
|
反向传递:更新模型参数。
|
||||||
|
sigmoid函数:消除线性。
|
||||||
|
> 线性激活函数: $a = z$
|
||||||
|
> 如果我们使用线性激活函数,无论我们经过多少层网络迭代,都相当于是对输入进行线性变换。
|
||||||
|
|
||||||
|
损失函数:计算模型预测结果的精度,反向传播的目的就是使得。
|
||||||
|
## Vectorization
|
||||||
|
向量化相较于显式循环更高效,能够更好的利用系统的并行化计算。
|
||||||
|
|||||||
Reference in New Issue
Block a user