Init commit
This commit is contained in:
commit
53747cb1d3
148 changed files with 452890 additions and 0 deletions
14
.gitignore
vendored
Normal file
14
.gitignore
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
# Exclude workspace cache
|
||||
workspace.json
|
||||
workspace-mobile.json
|
||||
|
||||
# Cursor Positions PLugin
|
||||
plugins/remember-cursor-position/cursor-positions.json
|
||||
|
||||
# Vault Stats
|
||||
vault-stats.json
|
||||
|
||||
# Add below lines to exclude OS settings and caches
|
||||
*.DS_Store
|
||||
*.directory
|
||||
|
43
.vimrc
Normal file
43
.vimrc
Normal file
|
@ -0,0 +1,43 @@
|
|||
" let mapleader = " "
|
||||
" map leader to Space
|
||||
" set timeoutlen 500 " Set timeout length to 500 ms
|
||||
|
||||
" I like using H and L for beginning/end of line
|
||||
nmap H ^
|
||||
nmap L $
|
||||
|
||||
" Yank to system clipboard
|
||||
set clipboard=unnamed
|
||||
|
||||
exmap surround_wiki surround [[ ]]
|
||||
exmap surround_double_quotes surround " "
|
||||
exmap surround_single_quotes surround ' '
|
||||
exmap surround_brackets surround ( )
|
||||
exmap surround_square_brackets surround [ ]
|
||||
exmap surround_curly_brackets surround { }
|
||||
exmap surround_backtick surround ` `
|
||||
exmap surround_bold surround ** **
|
||||
exmap surround_italic surround * *
|
||||
exmap surround_strike surround ~~ ~~
|
||||
|
||||
" NOTE: must use 'map' and not 'nmap'
|
||||
map [[ :surround_wiki
|
||||
nunmap s
|
||||
vunmap s
|
||||
map s" :surround_double_quotes
|
||||
map s' :surround_single_quotes
|
||||
map sb :surround_brackets
|
||||
map s( :surround_brackets
|
||||
map s) :surround_brackets
|
||||
map s[ :surround_square_brackets
|
||||
map s[ :surround_square_brackets
|
||||
map s{ :surround_curly_brackets
|
||||
map s} :surround_curly_brackets
|
||||
map s` :surround_backtick
|
||||
map s* :surround_italic
|
||||
map si :surround_italic
|
||||
map sB :surround_bold
|
||||
map s** :surround_bold
|
||||
map sx :surround_strike
|
||||
map s~ :surround_strike
|
||||
|
35
app.json
Normal file
35
app.json
Normal file
|
@ -0,0 +1,35 @@
|
|||
{
|
||||
"defaultViewMode": "source",
|
||||
"showFrontmatter": true,
|
||||
"showUnsupportedFiles": true,
|
||||
"attachmentFolderPath": "_Resources",
|
||||
"showLineNumber": true,
|
||||
"spellcheck": true,
|
||||
"vimMode": true,
|
||||
"readableLineLength": true,
|
||||
"alwaysUpdateLinks": true,
|
||||
"autoPairBrackets": false,
|
||||
"autoPairMarkdown": false,
|
||||
"foldHeading": true,
|
||||
"showInlineTitle": false,
|
||||
"promptDelete": true,
|
||||
"foldIndent": false,
|
||||
"trashOption": "local",
|
||||
"newFileLocation": "root",
|
||||
"newLinkFormat": "shortest",
|
||||
"pdfExportSettings": {
|
||||
"includeName": false,
|
||||
"pageSize": "Letter",
|
||||
"landscape": false,
|
||||
"margin": "0",
|
||||
"downscalePercent": 100
|
||||
},
|
||||
"userIgnoreFilters": [
|
||||
"_Templates/",
|
||||
"!TODO Reformatting/",
|
||||
"The Awful Things Vault/",
|
||||
"_PDF Exports/"
|
||||
],
|
||||
"strictLineBreaks": false,
|
||||
"propertiesInDocument": "source"
|
||||
}
|
17
appearance.json
Normal file
17
appearance.json
Normal file
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"accentColor": "",
|
||||
"theme": "obsidian",
|
||||
"cssTheme": "AnuPpuccin",
|
||||
"baseFontSizeAction": false,
|
||||
"translucency": false,
|
||||
"enabledCssSnippets": [
|
||||
"extended-colorschemes",
|
||||
"custom-rainbow-colors",
|
||||
"cards"
|
||||
],
|
||||
"interfaceFontFamily": "",
|
||||
"textFontFamily": "",
|
||||
"monospaceFontFamily": "JetBrainsMono Nerd Font",
|
||||
"nativeMenus": false,
|
||||
"showViewHeader": true
|
||||
}
|
3
backlink.json
Normal file
3
backlink.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"backlinkInDocument": true
|
||||
}
|
6
command-palette.json
Normal file
6
command-palette.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"pinned": [
|
||||
"obsidian-git:pull",
|
||||
"cmdr:macro-1"
|
||||
]
|
||||
}
|
32
community-plugins.json
Normal file
32
community-plugins.json
Normal file
|
@ -0,0 +1,32 @@
|
|||
[
|
||||
"obsidian-style-settings",
|
||||
"dataview",
|
||||
"buttons",
|
||||
"quickadd",
|
||||
"templater-obsidian",
|
||||
"calendar",
|
||||
"cm-editor-syntax-highlight-obsidian",
|
||||
"obsidian-emoji-toolbar",
|
||||
"periodic-notes",
|
||||
"nldates-obsidian",
|
||||
"obsidian-icon-folder",
|
||||
"oz-image-plugin",
|
||||
"obsidian-relative-line-numbers",
|
||||
"obsidian-vimrc-support",
|
||||
"obsidian-filename-heading-sync",
|
||||
"obsidian-annotator",
|
||||
"obsidian-auto-link-title",
|
||||
"code-block-copy",
|
||||
"obsidian-plugin-update-tracker",
|
||||
"leader-hotkeys-obsidian",
|
||||
"tag-wrangler",
|
||||
"obsidian-tasks-plugin",
|
||||
"numerals",
|
||||
"table-editor-obsidian",
|
||||
"better-word-count",
|
||||
"metaedit",
|
||||
"cmdr",
|
||||
"obsidian-advanced-uri",
|
||||
"obsidian-git",
|
||||
"obsidian-version-history-diff"
|
||||
]
|
31
core-plugins-migration.json
Normal file
31
core-plugins-migration.json
Normal file
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
"file-explorer": true,
|
||||
"global-search": true,
|
||||
"switcher": true,
|
||||
"graph": true,
|
||||
"backlink": true,
|
||||
"canvas": false,
|
||||
"outgoing-link": true,
|
||||
"tag-pane": true,
|
||||
"page-preview": true,
|
||||
"daily-notes": false,
|
||||
"templates": false,
|
||||
"note-composer": true,
|
||||
"command-palette": true,
|
||||
"slash-command": false,
|
||||
"editor-status": true,
|
||||
"starred": false,
|
||||
"markdown-importer": false,
|
||||
"zk-prefixer": false,
|
||||
"random-note": true,
|
||||
"outline": true,
|
||||
"word-count": false,
|
||||
"slides": false,
|
||||
"audio-recorder": false,
|
||||
"workspaces": true,
|
||||
"file-recovery": true,
|
||||
"publish": false,
|
||||
"sync": false,
|
||||
"bookmarks": false,
|
||||
"properties": true
|
||||
}
|
18
core-plugins.json
Normal file
18
core-plugins.json
Normal file
|
@ -0,0 +1,18 @@
|
|||
[
|
||||
"file-explorer",
|
||||
"global-search",
|
||||
"switcher",
|
||||
"graph",
|
||||
"backlink",
|
||||
"outgoing-link",
|
||||
"tag-pane",
|
||||
"properties",
|
||||
"page-preview",
|
||||
"note-composer",
|
||||
"command-palette",
|
||||
"editor-status",
|
||||
"random-note",
|
||||
"outline",
|
||||
"workspaces",
|
||||
"file-recovery"
|
||||
]
|
4
daily-notes.json
Normal file
4
daily-notes.json
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"autorun": true,
|
||||
"folder": "!Dailies"
|
||||
}
|
72
graph.json
Normal file
72
graph.json
Normal file
|
@ -0,0 +1,72 @@
|
|||
{
|
||||
"collapse-filter": false,
|
||||
"search": "-path:!Dailies ",
|
||||
"showTags": false,
|
||||
"showAttachments": false,
|
||||
"hideUnresolved": false,
|
||||
"showOrphans": true,
|
||||
"collapse-color-groups": false,
|
||||
"colorGroups": [
|
||||
{
|
||||
"query": "path:!Dailies",
|
||||
"color": {
|
||||
"a": 1,
|
||||
"rgb": 14701269
|
||||
}
|
||||
},
|
||||
{
|
||||
"query": "tag:#hub",
|
||||
"color": {
|
||||
"a": 1,
|
||||
"rgb": 14725458
|
||||
}
|
||||
},
|
||||
{
|
||||
"query": "tag:#Messages",
|
||||
"color": {
|
||||
"a": 1,
|
||||
"rgb": 3965661
|
||||
}
|
||||
},
|
||||
{
|
||||
"query": "tag:#Documentation",
|
||||
"color": {
|
||||
"a": 1,
|
||||
"rgb": 5431378
|
||||
}
|
||||
},
|
||||
{
|
||||
"query": "tag:#Definition",
|
||||
"color": {
|
||||
"a": 1,
|
||||
"rgb": 5431473
|
||||
}
|
||||
},
|
||||
{
|
||||
"query": "tag:#Capture",
|
||||
"color": {
|
||||
"a": 1,
|
||||
"rgb": 5419488
|
||||
}
|
||||
},
|
||||
{
|
||||
"query": "tag:#Database",
|
||||
"color": {
|
||||
"a": 1,
|
||||
"rgb": 5460985
|
||||
}
|
||||
}
|
||||
],
|
||||
"collapse-display": false,
|
||||
"showArrow": false,
|
||||
"textFadeMultiplier": -0.2,
|
||||
"nodeSizeMultiplier": 1.01875,
|
||||
"lineSizeMultiplier": 1.01875,
|
||||
"collapse-forces": false,
|
||||
"centerStrength": 0.25,
|
||||
"repelStrength": 9.47916666666667,
|
||||
"linkStrength": 1,
|
||||
"linkDistance": 253,
|
||||
"scale": 0.3935550908066846,
|
||||
"close": false
|
||||
}
|
114
hotkeys.json
Normal file
114
hotkeys.json
Normal file
|
@ -0,0 +1,114 @@
|
|||
{
|
||||
"daily-notes": [],
|
||||
"obsidian-emoji-toolbar:emoji-picker:open-picker": [
|
||||
{
|
||||
"modifiers": [
|
||||
"Mod"
|
||||
],
|
||||
"key": ";"
|
||||
}
|
||||
],
|
||||
"file-explorer:move-file": [
|
||||
{
|
||||
"modifiers": [
|
||||
"Mod",
|
||||
"Shift"
|
||||
],
|
||||
"key": "M"
|
||||
}
|
||||
],
|
||||
"editor:delete-paragraph": [],
|
||||
"periodic-notes:open-daily-note": [
|
||||
{
|
||||
"modifiers": [
|
||||
"Mod"
|
||||
],
|
||||
"key": "D"
|
||||
}
|
||||
],
|
||||
"periodic-notes:prev-daily-note": [
|
||||
{
|
||||
"modifiers": [
|
||||
"Mod",
|
||||
"Shift"
|
||||
],
|
||||
"key": "D"
|
||||
}
|
||||
],
|
||||
"app:go-back": [
|
||||
{
|
||||
"modifiers": [
|
||||
"Mod",
|
||||
"Alt"
|
||||
],
|
||||
"key": "ArrowLeft"
|
||||
}
|
||||
],
|
||||
"editor:toggle-source": [
|
||||
{
|
||||
"modifiers": [
|
||||
"Mod",
|
||||
"Shift"
|
||||
],
|
||||
"key": "Enter"
|
||||
}
|
||||
],
|
||||
"obsidian-daily-stats:show-daily-stats-tracker-view": [
|
||||
{
|
||||
"modifiers": [
|
||||
"Mod"
|
||||
],
|
||||
"key": "Y"
|
||||
}
|
||||
],
|
||||
"editor:focus-right": [
|
||||
{
|
||||
"modifiers": [
|
||||
"Alt"
|
||||
],
|
||||
"key": "L"
|
||||
}
|
||||
],
|
||||
"editor:focus-left": [
|
||||
{
|
||||
"modifiers": [
|
||||
"Alt"
|
||||
],
|
||||
"key": "H"
|
||||
}
|
||||
],
|
||||
"editor:focus-bottom": [
|
||||
{
|
||||
"modifiers": [
|
||||
"Alt"
|
||||
],
|
||||
"key": "J"
|
||||
}
|
||||
],
|
||||
"editor:focus-top": [
|
||||
{
|
||||
"modifiers": [
|
||||
"Alt"
|
||||
],
|
||||
"key": "K"
|
||||
}
|
||||
],
|
||||
"table-editor-obsidian:table-control-bar": [],
|
||||
"markdown:add-metadata-property": [],
|
||||
"app:toggle-left-sidebar": [
|
||||
{
|
||||
"modifiers": [
|
||||
"Mod"
|
||||
],
|
||||
"key": "["
|
||||
}
|
||||
],
|
||||
"app:toggle-right-sidebar": [
|
||||
{
|
||||
"modifiers": [
|
||||
"Mod"
|
||||
],
|
||||
"key": "]"
|
||||
}
|
||||
]
|
||||
}
|
4
note-composer.json
Normal file
4
note-composer.json
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"askBeforeMerging": true,
|
||||
"replacementText": "link"
|
||||
}
|
1
page-preview.json
Normal file
1
page-preview.json
Normal file
|
@ -0,0 +1 @@
|
|||
{}
|
50
plugins/better-word-count/data.json
Normal file
50
plugins/better-word-count/data.json
Normal file
|
@ -0,0 +1,50 @@
|
|||
{
|
||||
"statusBar": [
|
||||
{
|
||||
"prefix": " ",
|
||||
"suffix": " characters ",
|
||||
"metric": {
|
||||
"type": 0,
|
||||
"counter": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"prefix": " ",
|
||||
"suffix": " words",
|
||||
"metric": {
|
||||
"type": 0,
|
||||
"counter": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"prefix": " ",
|
||||
"suffix": " words today",
|
||||
"metric": {
|
||||
"type": 1,
|
||||
"counter": 0
|
||||
}
|
||||
}
|
||||
],
|
||||
"altBar": [
|
||||
{
|
||||
"prefix": " ",
|
||||
"suffix": " total words across",
|
||||
"metric": {
|
||||
"type": 2,
|
||||
"counter": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"prefix": " ",
|
||||
"suffix": " notes",
|
||||
"metric": {
|
||||
"type": 2,
|
||||
"counter": 6
|
||||
}
|
||||
}
|
||||
],
|
||||
"countComments": false,
|
||||
"collectStats": true,
|
||||
"displaySectionCounts": false,
|
||||
"pageWords": 300
|
||||
}
|
8485
plugins/better-word-count/main.js
Normal file
8485
plugins/better-word-count/main.js
Normal file
File diff suppressed because one or more lines are too long
9
plugins/better-word-count/manifest.json
Normal file
9
plugins/better-word-count/manifest.json
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"id": "better-word-count",
|
||||
"name": "Better Word Count",
|
||||
"version": "0.10.0",
|
||||
"description": "Counts the words of selected text in the editor.",
|
||||
"author": "Luke Leppan",
|
||||
"authorUrl": "https://lukeleppan.com",
|
||||
"isDesktopOnly": false
|
||||
}
|
37
plugins/better-word-count/styles.css
Normal file
37
plugins/better-word-count/styles.css
Normal file
|
@ -0,0 +1,37 @@
|
|||
details.bwc-sb-item-setting {
|
||||
border: 1px solid var(--background-modifier-border);
|
||||
border-radius: 10px;
|
||||
padding: 10px 5px 20px 10px;
|
||||
margin-top: 5px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.bwc-sb-item-setting summary::marker {
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
/* .bwc-sb-item-setting summary { */
|
||||
/* margin-bottom: 5px; */
|
||||
/* } */
|
||||
.bwc-sb-item-setting summary span.bwc-sb-buttons {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.bwc-status-bar-settings-title {
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
.bwc-section-count {
|
||||
background: var(--background-secondary);
|
||||
border-radius: var(--tag-radius);
|
||||
color: var(--text-muted);
|
||||
content: var(--word-count);
|
||||
display: inline-flex;
|
||||
font-size: var(--font-ui-smaller);
|
||||
font-weight: var(--font-normal);
|
||||
line-height: 1;
|
||||
margin: calc(-1 * var(--size-2-3)) 0 calc(-1 * var(--size-2-3)) var(--size-4-2);
|
||||
padding: var(--size-2-3) var(--size-4-2);
|
||||
pointer-events: none;
|
||||
position: relative;
|
||||
top: -3px;
|
||||
}
|
4306
plugins/buttons/main.js
Normal file
4306
plugins/buttons/main.js
Normal file
File diff suppressed because one or more lines are too long
10
plugins/buttons/manifest.json
Normal file
10
plugins/buttons/manifest.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"id": "buttons",
|
||||
"name": "Buttons",
|
||||
"description": "Create Buttons in your Obsidian notes to run commands, open links, and insert templates",
|
||||
"version": "0.4.19",
|
||||
"author": "shabegom",
|
||||
"authorUrl": "https://shbgm.ca",
|
||||
"isDesktopOnly": false,
|
||||
"minAppVersion": "0.12.8"
|
||||
}
|
148
plugins/buttons/styles.css
Normal file
148
plugins/buttons/styles.css
Normal file
|
@ -0,0 +1,148 @@
|
|||
/* @settings
|
||||
|
||||
name: Buttons
|
||||
id: buttons-styles
|
||||
settings:
|
||||
-
|
||||
id: button-background
|
||||
title: Background
|
||||
type: variable-themed-color
|
||||
format: hex
|
||||
opacity: false
|
||||
default-light: '#f5f6f8'
|
||||
default-dark: '#1b1b1b'
|
||||
-
|
||||
id: button-text
|
||||
title: Text
|
||||
type: variable-themed-color
|
||||
format: hex
|
||||
opacity: false
|
||||
default-light: '#1b1b1b'
|
||||
default-dark: '#f5f6f8'
|
||||
-
|
||||
id: button-border
|
||||
title: Border
|
||||
type: variable-themed-color
|
||||
format: hex
|
||||
opacity: false
|
||||
default-light: '#7a9486'
|
||||
default-dark: '#84a83a'
|
||||
-
|
||||
id: button-box-shadow
|
||||
title: Box Shadow
|
||||
type: variable-themed-color
|
||||
format: rgb
|
||||
opacity: true
|
||||
default-light: '#1b1b1b'
|
||||
default-dark: '#f5f6f8'
|
||||
-
|
||||
id: button-border-radius
|
||||
title: Border Radius
|
||||
type: variable-number
|
||||
format: px
|
||||
default: 5
|
||||
-
|
||||
id: button-size
|
||||
title: Font Size
|
||||
type: variable-number
|
||||
format: em
|
||||
default: 1
|
||||
|
||||
*/
|
||||
|
||||
.block-language-button {
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
button.button-default {
|
||||
border: 0.5px solid var(--button-border, #7a9486);
|
||||
border-radius: var(--button-border-radius, 5px);
|
||||
background-color: var(--button-background);
|
||||
padding: 10px 30px;
|
||||
color: var(--button-text);
|
||||
text-decoration: none;
|
||||
font-size: var(--button-size);
|
||||
margin: 0 5px;
|
||||
box-shadow: 0 1px 3px var(--button-box-shadow, rgba(0, 0, 0, 0.12)),
|
||||
0 1px 2px var(--button-box-shadow, rgba(0, 0, 0, 0.24));
|
||||
transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
|
||||
}
|
||||
|
||||
button.button-default:hover {
|
||||
z-index: 100;
|
||||
box-shadow: 0 4px 4px var(--button-box-shadow, rgba(0, 0, 0, 0.25)),
|
||||
0 10px 10px var(--button-box-shadow, rgba(0, 0, 0, 0.22));
|
||||
transform: translate3d(0px, -1.5px, 0px);
|
||||
background-color: var(--button-background);
|
||||
}
|
||||
|
||||
.theme-dark button.button-default {
|
||||
border: 0.5px solid var(--button-border, #84a83a);
|
||||
}
|
||||
|
||||
.theme-dark button.button-default:hover {
|
||||
z-index: 100;
|
||||
box-shadow: 0 4px 4px var(--button-box-shadow, rgba(210, 210, 210, 0.25)),
|
||||
0 10px 10px var(--button-box-shadow, rgba(210, 210, 210, 0.22));
|
||||
transform: translate3d(0px, -1.5px, 0px);
|
||||
}
|
||||
|
||||
button.button-inline {
|
||||
width: unset;
|
||||
height: unset;
|
||||
padding: 0 8px;
|
||||
}
|
||||
|
||||
button.blue {
|
||||
background: #76b3fa;
|
||||
color: black;
|
||||
}
|
||||
|
||||
button.red {
|
||||
background-color: red;
|
||||
}
|
||||
|
||||
button.green {
|
||||
background: green;
|
||||
}
|
||||
|
||||
button.yellow {
|
||||
background: yellow;
|
||||
color: black;
|
||||
}
|
||||
|
||||
button.purple {
|
||||
background: #725585;
|
||||
}
|
||||
|
||||
button.blue:hover {
|
||||
background: #76b3fa;
|
||||
color: black;
|
||||
}
|
||||
|
||||
button.red:hover {
|
||||
background: red;
|
||||
}
|
||||
|
||||
button.green:hover {
|
||||
background: green;
|
||||
}
|
||||
|
||||
button.yellow:hover {
|
||||
background: yellow;
|
||||
color: black;
|
||||
}
|
||||
|
||||
button.purple:hover {
|
||||
background: #725585;
|
||||
}
|
||||
|
||||
.button-maker {
|
||||
max-width: 35rem;
|
||||
width: 35rem;
|
||||
overflow-y: auto;
|
||||
max-height: 30rem;
|
||||
padding-left: 0.5rem;
|
||||
padding-right: 0.5rem;
|
||||
overflow-x: hidden;
|
||||
}
|
10
plugins/calendar/data.json
Normal file
10
plugins/calendar/data.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"shouldConfirmBeforeCreate": true,
|
||||
"weekStart": "locale",
|
||||
"wordsPerDot": 250,
|
||||
"showWeeklyNote": false,
|
||||
"weeklyNoteFormat": "",
|
||||
"weeklyNoteTemplate": "",
|
||||
"weeklyNoteFolder": "",
|
||||
"localeOverride": "system-default"
|
||||
}
|
4457
plugins/calendar/main.js
Normal file
4457
plugins/calendar/main.js
Normal file
File diff suppressed because it is too large
Load diff
10
plugins/calendar/manifest.json
Normal file
10
plugins/calendar/manifest.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"id": "calendar",
|
||||
"name": "Calendar",
|
||||
"description": "Calendar view of your daily notes",
|
||||
"version": "1.5.10",
|
||||
"author": "Liam Cain",
|
||||
"authorUrl": "https://github.com/liamcain/",
|
||||
"isDesktopOnly": false,
|
||||
"minAppVersion": "0.9.11"
|
||||
}
|
30660
plugins/cm-editor-syntax-highlight-obsidian/main.js
Normal file
30660
plugins/cm-editor-syntax-highlight-obsidian/main.js
Normal file
File diff suppressed because one or more lines are too long
10
plugins/cm-editor-syntax-highlight-obsidian/manifest.json
Normal file
10
plugins/cm-editor-syntax-highlight-obsidian/manifest.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"id": "cm-editor-syntax-highlight-obsidian",
|
||||
"name": "Editor Syntax Highlight",
|
||||
"author": "death_au",
|
||||
"authorUrl": "https://github.com/deathau",
|
||||
"description": "Show syntax highlighing in code blocks the editor",
|
||||
"isDesktopOnly": false,
|
||||
"version": "0.1.3",
|
||||
"minAppVersion": "0.10.0"
|
||||
}
|
177
plugins/cm-editor-syntax-highlight-obsidian/styles.css
Normal file
177
plugins/cm-editor-syntax-highlight-obsidian/styles.css
Normal file
|
@ -0,0 +1,177 @@
|
|||
@charset "UTF-8";
|
||||
.cm-s-obsidian pre.HyperMD-codeblock span.cm-formatting-code-block {
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.cm-s-obsidian pre.HyperMD-codeblock .cm-keyword {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.theme-dark .cm-s-obsidian {
|
||||
/*
|
||||
|
||||
Name: yoncé
|
||||
Author: Thomas MacLean (http://github.com/thomasmaclean)
|
||||
|
||||
Original yoncé color scheme by Mina Markham (https://github.com/minamarkham)
|
||||
|
||||
*/
|
||||
/**/
|
||||
}
|
||||
.theme-dark .cm-s-obsidian .cm-hmd-frontmatter,
|
||||
.theme-dark .cm-s-obsidian pre.HyperMD-codeblock {
|
||||
color: #d4d4d4;
|
||||
}
|
||||
.theme-dark .cm-s-obsidian .cm-hmd-frontmatter.cm-keyword,
|
||||
.theme-dark .cm-s-obsidian .cm-math.cm-keyword,
|
||||
.theme-dark .cm-s-obsidian pre.HyperMD-codeblock .cm-keyword {
|
||||
color: #00A7AA;
|
||||
font-weight: normal;
|
||||
}
|
||||
.theme-dark .cm-s-obsidian .cm-hmd-frontmatter.cm-atom,
|
||||
.theme-dark .cm-s-obsidian .cm-math.cm-atom,
|
||||
.theme-dark .cm-s-obsidian pre.HyperMD-codeblock .cm-atom {
|
||||
color: #F39B35;
|
||||
}
|
||||
.theme-dark .cm-s-obsidian .cm-hmd-frontmatter.cm-number,
|
||||
.theme-dark .cm-s-obsidian .cm-math.cm-number,
|
||||
.theme-dark .cm-s-obsidian pre.HyperMD-codeblock .cm-number {
|
||||
color: #A06FCA;
|
||||
}
|
||||
.theme-dark .cm-s-obsidian span.cm-hmd-frontmatter.cm-type,
|
||||
.theme-dark .cm-s-obsidian span.cm-math.cm-type,
|
||||
.theme-dark .cm-s-obsidian pre.HyperMD-codeblock span.cm-type {
|
||||
color: #A06FCA;
|
||||
}
|
||||
.theme-dark .cm-s-obsidian .cm-hmd-frontmatter.cm-def,
|
||||
.theme-dark .cm-s-obsidian .cm-math.cm-def,
|
||||
.theme-dark .cm-s-obsidian pre.HyperMD-codeblock .cm-def {
|
||||
color: #98E342;
|
||||
}
|
||||
.theme-dark .cm-s-obsidian .cm-hmd-frontmatter.cm-property,
|
||||
.theme-dark .cm-s-obsidian .cm-math.cm-property,
|
||||
.theme-dark .cm-s-obsidian pre.HyperMD-codeblock .cm-property {
|
||||
color: #D4D4D4;
|
||||
}
|
||||
.theme-dark .cm-s-obsidian span.cm-hmd-frontmatter.cm-variable,
|
||||
.theme-dark .cm-s-obsidian span.cm-math.cm-variable,
|
||||
.theme-dark .cm-s-obsidian pre.HyperMD-codeblock span.cm-variable {
|
||||
color: #D4D4D4;
|
||||
}
|
||||
.theme-dark .cm-s-obsidian span.cm-hmd-frontmatter.cm-variable-2,
|
||||
.theme-dark .cm-s-obsidian span.cm-math.cm-variable-2,
|
||||
.theme-dark .cm-s-obsidian pre.HyperMD-codeblock span.cm-variable-2 {
|
||||
color: #da7dae;
|
||||
}
|
||||
.theme-dark .cm-s-obsidian span.cm-hmd-frontmatter.cm-variable-3,
|
||||
.theme-dark .cm-s-obsidian span.cm-math.cm-variable-3,
|
||||
.theme-dark .cm-s-obsidian pre.HyperMD-codeblock span.cm-variable-3 {
|
||||
color: #A06FCA;
|
||||
}
|
||||
.theme-dark .cm-s-obsidian .cm-hmd-frontmatter.cm-type.cm-def,
|
||||
.theme-dark .cm-s-obsidian .cm-math.cm-type.cm-def,
|
||||
.theme-dark .cm-s-obsidian pre.HyperMD-codeblock .cm-type.cm-def {
|
||||
color: #FC4384;
|
||||
}
|
||||
.theme-dark .cm-s-obsidian .cm-hmd-frontmatter.cm-property.cm-def,
|
||||
.theme-dark .cm-s-obsidian .cm-math.cm-property.cm-def,
|
||||
.theme-dark .cm-s-obsidian pre.HyperMD-codeblock .cm-property.cm-def {
|
||||
color: #FC4384;
|
||||
}
|
||||
.theme-dark .cm-s-obsidian .cm-hmd-frontmatter.cm-callee,
|
||||
.theme-dark .cm-s-obsidian .cm-math.cm-callee,
|
||||
.theme-dark .cm-s-obsidian pre.HyperMD-codeblock .cm-callee {
|
||||
color: #FC4384;
|
||||
}
|
||||
.theme-dark .cm-s-obsidian .cm-hmd-frontmatter.cm-operator,
|
||||
.theme-dark .cm-s-obsidian .cm-math.cm-operator,
|
||||
.theme-dark .cm-s-obsidian pre.HyperMD-codeblock .cm-operator {
|
||||
color: #FC4384;
|
||||
}
|
||||
.theme-dark .cm-s-obsidian .cm-hmd-frontmatter.cm-qualifier,
|
||||
.theme-dark .cm-s-obsidian .cm-math.cm-qualifier,
|
||||
.theme-dark .cm-s-obsidian pre.HyperMD-codeblock .cm-qualifier {
|
||||
color: #FC4384;
|
||||
}
|
||||
.theme-dark .cm-s-obsidian .cm-hmd-frontmatter.cm-tag,
|
||||
.theme-dark .cm-s-obsidian .cm-math.cm-tag,
|
||||
.theme-dark .cm-s-obsidian pre.HyperMD-codeblock .cm-tag {
|
||||
color: #FC4384;
|
||||
}
|
||||
.theme-dark .cm-s-obsidian .cm-hmd-frontmatter.cm-tag.cm-bracket,
|
||||
.theme-dark .cm-s-obsidian .cm-math.cm-tag.cm-bracket,
|
||||
.theme-dark .cm-s-obsidian pre.HyperMD-codeblock .cm-tag.cm-bracket {
|
||||
color: #D4D4D4;
|
||||
}
|
||||
.theme-dark .cm-s-obsidian .cm-hmd-frontmatter.cm-attribute,
|
||||
.theme-dark .cm-s-obsidian .cm-math.cm-attribute,
|
||||
.theme-dark .cm-s-obsidian pre.HyperMD-codeblock .cm-attribute {
|
||||
color: #A06FCA;
|
||||
}
|
||||
.theme-dark .cm-s-obsidian .cm-hmd-frontmatter.cm-comment,
|
||||
.theme-dark .cm-s-obsidian .cm-math.cm-comment,
|
||||
.theme-dark .cm-s-obsidian pre.HyperMD-codeblock .cm-comment {
|
||||
color: #696d70;
|
||||
}
|
||||
.theme-dark .cm-s-obsidian .cm-hmd-frontmatter.cm-comment.cm-tag,
|
||||
.theme-dark .cm-s-obsidian .cm-math.cm-comment.cm-tag,
|
||||
.theme-dark .cm-s-obsidian pre.HyperMD-codeblock .cm-comment.cm-tag {
|
||||
color: #FC4384;
|
||||
}
|
||||
.theme-dark .cm-s-obsidian .cm-hmd-frontmatter.cm-comment.cm-attribute,
|
||||
.theme-dark .cm-s-obsidian .cm-math.cm-comment.cm-attribute,
|
||||
.theme-dark .cm-s-obsidian pre.HyperMD-codeblock .cm-comment.cm-attribute {
|
||||
color: #D4D4D4;
|
||||
}
|
||||
.theme-dark .cm-s-obsidian .cm-hmd-frontmatter.cm-string,
|
||||
.theme-dark .cm-s-obsidian .cm-math.cm-string,
|
||||
.theme-dark .cm-s-obsidian pre.HyperMD-codeblock .cm-string {
|
||||
color: #E6DB74;
|
||||
}
|
||||
.theme-dark .cm-s-obsidian .cm-hmd-frontmatter.cm-string-2,
|
||||
.theme-dark .cm-s-obsidian .cm-math.cm-string-2,
|
||||
.theme-dark .cm-s-obsidian pre.HyperMD-codeblock .cm-string-2 {
|
||||
color: #F39B35;
|
||||
}
|
||||
.theme-dark .cm-s-obsidian .cm-hmd-frontmatter.cm-meta,
|
||||
.theme-dark .cm-s-obsidian .cm-math.cm-meta,
|
||||
.theme-dark .cm-s-obsidian pre.HyperMD-codeblock .cm-meta {
|
||||
color: #D4D4D4;
|
||||
background: inherit;
|
||||
}
|
||||
.theme-dark .cm-s-obsidian .cm-hmd-frontmatter.cm-builtin,
|
||||
.theme-dark .cm-s-obsidian .cm-math.cm-builtin,
|
||||
.theme-dark .cm-s-obsidian pre.HyperMD-codeblock .cm-builtin {
|
||||
color: #FC4384;
|
||||
}
|
||||
.theme-dark .cm-s-obsidian .cm-hmd-frontmatter.cm-header,
|
||||
.theme-dark .cm-s-obsidian .cm-math.cm-header,
|
||||
.theme-dark .cm-s-obsidian pre.HyperMD-codeblock .cm-header {
|
||||
color: #da7dae;
|
||||
}
|
||||
.theme-dark .cm-s-obsidian .cm-hmd-frontmatter.cm-hr,
|
||||
.theme-dark .cm-s-obsidian .cm-math.cm-hr,
|
||||
.theme-dark .cm-s-obsidian pre.HyperMD-codeblock .cm-hr {
|
||||
color: #98E342;
|
||||
}
|
||||
.theme-dark .cm-s-obsidian .cm-hmd-frontmatter.cm-link,
|
||||
.theme-dark .cm-s-obsidian .cm-math.cm-link,
|
||||
.theme-dark .cm-s-obsidian pre.HyperMD-codeblock .cm-link {
|
||||
color: #696d70;
|
||||
}
|
||||
.theme-dark .cm-s-obsidian .cm-hmd-frontmatter.cm-error,
|
||||
.theme-dark .cm-s-obsidian .cm-math.cm-error,
|
||||
.theme-dark .cm-s-obsidian pre.HyperMD-codeblock .cm-error {
|
||||
border-bottom: 1px solid #C42412;
|
||||
}
|
||||
.theme-dark .cm-s-obsidian .cm-hmd-frontmatter.CodeMirror-activeline-background,
|
||||
.theme-dark .cm-s-obsidian .cm-math.CodeMirror-activeline-background,
|
||||
.theme-dark .cm-s-obsidian pre.HyperMD-codeblock .CodeMirror-activeline-background {
|
||||
background: #272727;
|
||||
}
|
||||
.theme-dark .cm-s-obsidian .cm-hmd-frontmatter.CodeMirror-matchingbracket,
|
||||
.theme-dark .cm-s-obsidian .cm-math.CodeMirror-matchingbracket,
|
||||
.theme-dark .cm-s-obsidian pre.HyperMD-codeblock .CodeMirror-matchingbracket {
|
||||
outline: 1px solid grey;
|
||||
color: #D4D4D4 !important;
|
||||
}
|
104
plugins/cmdr/data.json
Normal file
104
plugins/cmdr/data.json
Normal file
|
@ -0,0 +1,104 @@
|
|||
{
|
||||
"confirmDeletion": true,
|
||||
"showAddCommand": true,
|
||||
"debug": false,
|
||||
"editorMenu": [],
|
||||
"fileMenu": [
|
||||
{
|
||||
"id": "cmdr:macro-0",
|
||||
"icon": "save",
|
||||
"name": "Git: Sync File",
|
||||
"mode": "any"
|
||||
},
|
||||
{
|
||||
"id": "cmdr:macro-1",
|
||||
"icon": "upload-cloud",
|
||||
"name": "Git: Sync All",
|
||||
"mode": "any"
|
||||
},
|
||||
{
|
||||
"id": "app:open-settings",
|
||||
"icon": "lucide-wrench",
|
||||
"name": "Open settings",
|
||||
"mode": "any"
|
||||
}
|
||||
],
|
||||
"leftRibbon": [],
|
||||
"rightRibbon": [],
|
||||
"titleBar": [],
|
||||
"statusBar": [],
|
||||
"pageHeader": [],
|
||||
"macros": [
|
||||
{
|
||||
"macro": [
|
||||
{
|
||||
"action": 0,
|
||||
"commandId": "editor:save-file"
|
||||
},
|
||||
{
|
||||
"action": 0,
|
||||
"commandId": "obsidian-git:stage-current-file"
|
||||
},
|
||||
{
|
||||
"action": 0,
|
||||
"commandId": "obsidian-git:commit-staged"
|
||||
},
|
||||
{
|
||||
"action": 0,
|
||||
"commandId": "obsidian-git:pull"
|
||||
},
|
||||
{
|
||||
"action": 0,
|
||||
"commandId": "obsidian-git:push2"
|
||||
}
|
||||
],
|
||||
"name": "Sync File",
|
||||
"icon": "save",
|
||||
"startup": false
|
||||
},
|
||||
{
|
||||
"macro": [
|
||||
{
|
||||
"action": 0,
|
||||
"commandId": "editor:save-file"
|
||||
},
|
||||
{
|
||||
"action": 0,
|
||||
"commandId": "obsidian-git:commit"
|
||||
},
|
||||
{
|
||||
"action": 0,
|
||||
"commandId": "obsidian-git:pull"
|
||||
},
|
||||
{
|
||||
"action": 0,
|
||||
"commandId": "obsidian-git:push2"
|
||||
}
|
||||
],
|
||||
"name": "Sync All",
|
||||
"icon": "upload-cloud",
|
||||
"startup": false
|
||||
}
|
||||
],
|
||||
"explorer": [],
|
||||
"hide": {
|
||||
"statusbar": [],
|
||||
"leftRibbon": []
|
||||
},
|
||||
"spacing": 8,
|
||||
"advancedToolbar": {
|
||||
"rowHeight": 48,
|
||||
"rowCount": 1,
|
||||
"spacing": 0,
|
||||
"buttonWidth": 48,
|
||||
"columnLayout": true,
|
||||
"mappedIcons": [
|
||||
{
|
||||
"commandID": "obsidian-auto-link-title:auto-link-title-normal-paste",
|
||||
"iconID": "unlink-2"
|
||||
}
|
||||
],
|
||||
"tooltips": false,
|
||||
"heightOffset": 0
|
||||
}
|
||||
}
|
9
plugins/cmdr/main.js
Normal file
9
plugins/cmdr/main.js
Normal file
File diff suppressed because one or more lines are too long
11
plugins/cmdr/manifest.json
Normal file
11
plugins/cmdr/manifest.json
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"id": "cmdr",
|
||||
"name": "Commander",
|
||||
"version": "0.5.1",
|
||||
"minAppVersion": "1.4.0",
|
||||
"description": "Customize your workspace by adding commands everywhere, create Macros and supercharge your mobile toolbar.",
|
||||
"author": "jsmorabito & phibr0",
|
||||
"authorUrl": "https://github.com/phibr0",
|
||||
"fundingUrl": "https://ko-fi.com/phibr0",
|
||||
"isDesktopOnly": false
|
||||
}
|
1
plugins/cmdr/styles.css
Normal file
1
plugins/cmdr/styles.css
Normal file
File diff suppressed because one or more lines are too long
130
plugins/code-block-copy/main.js
Normal file
130
plugins/code-block-copy/main.js
Normal file
File diff suppressed because one or more lines are too long
8
plugins/code-block-copy/manifest.json
Normal file
8
plugins/code-block-copy/manifest.json
Normal file
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"id": "code-block-copy",
|
||||
"name": "Copy button for code blocks",
|
||||
"author": "Daniel Brandenburg",
|
||||
"description": "Copy button for code blocks",
|
||||
"isDesktopOnly": false,
|
||||
"version": "0.1.0"
|
||||
}
|
41
plugins/code-block-copy/styles.css
Normal file
41
plugins/code-block-copy/styles.css
Normal file
|
@ -0,0 +1,41 @@
|
|||
.copy-code-button {
|
||||
color: var(--background-primary);
|
||||
background-color: var(--text-faint);
|
||||
border-radius: 1px 1px 0px 0px;
|
||||
/* right-align */
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: 0;
|
||||
margin-bottom: -2px;
|
||||
padding: 3px 8px;
|
||||
font-size: 0.8em;
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
right: 0px;
|
||||
}
|
||||
|
||||
.copy-code-button:hover {
|
||||
cursor: pointer;
|
||||
background-color: var(--text-normal);
|
||||
}
|
||||
|
||||
.copy-code-button:focus {
|
||||
/* Avoid an ugly focus outline on click in Chrome,
|
||||
but darken the button for accessibility.
|
||||
See https://stackoverflow.com/a/25298082/1481479 */
|
||||
background-color: var(--text-normal);
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
.copy-code-button:active {
|
||||
background-color: var(--text-normal);
|
||||
}
|
||||
|
||||
.highlight pre {
|
||||
/* Avoid pushing up the copy buttons. */
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.has-copy-button {
|
||||
position: relative;
|
||||
}
|
20404
plugins/dataview/main.js
Normal file
20404
plugins/dataview/main.js
Normal file
File diff suppressed because one or more lines are too long
10
plugins/dataview/manifest.json
Normal file
10
plugins/dataview/manifest.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"id": "dataview",
|
||||
"name": "Dataview",
|
||||
"version": "0.5.64",
|
||||
"minAppVersion": "0.13.11",
|
||||
"description": "Complex data views for the data-obsessed.",
|
||||
"author": "Michael Brenan <blacksmithgu@gmail.com>",
|
||||
"authorUrl": "https://github.com/blacksmithgu",
|
||||
"isDesktopOnly": false
|
||||
}
|
146
plugins/dataview/styles.css
Normal file
146
plugins/dataview/styles.css
Normal file
|
@ -0,0 +1,146 @@
|
|||
/** Live Preview padding fixes, specifically for DataviewJS custom HTML elements. */
|
||||
.is-live-preview .block-language-dataviewjs > p, .is-live-preview .block-language-dataviewjs > span {
|
||||
line-height: 1.0;
|
||||
}
|
||||
|
||||
.block-language-dataview {
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
/*****************/
|
||||
/** Table Views **/
|
||||
/*****************/
|
||||
|
||||
/* List View Default Styling; rendered internally as a table. */
|
||||
.table-view-table {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.table-view-table > thead > tr, .table-view-table > tbody > tr {
|
||||
margin-top: 1em;
|
||||
margin-bottom: 1em;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.table-view-table > tbody > tr:hover {
|
||||
background-color: var(--table-row-background-hover);
|
||||
}
|
||||
|
||||
.table-view-table > thead > tr > th {
|
||||
font-weight: 700;
|
||||
font-size: larger;
|
||||
border-top: none;
|
||||
border-left: none;
|
||||
border-right: none;
|
||||
border-bottom: solid;
|
||||
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.table-view-table > tbody > tr > td {
|
||||
text-align: left;
|
||||
border: none;
|
||||
font-weight: 400;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.table-view-table ul, .table-view-table ol {
|
||||
margin-block-start: 0.2em !important;
|
||||
margin-block-end: 0.2em !important;
|
||||
}
|
||||
|
||||
/** Rendered value styling for any view. */
|
||||
.dataview-result-list-root-ul {
|
||||
padding: 0em !important;
|
||||
margin: 0em !important;
|
||||
}
|
||||
|
||||
.dataview-result-list-ul {
|
||||
margin-block-start: 0.2em !important;
|
||||
margin-block-end: 0.2em !important;
|
||||
}
|
||||
|
||||
/** Generic grouping styling. */
|
||||
.dataview.result-group {
|
||||
padding-left: 8px;
|
||||
}
|
||||
|
||||
/*******************/
|
||||
/** Inline Fields **/
|
||||
/*******************/
|
||||
|
||||
.dataview.inline-field-key {
|
||||
padding-left: 8px;
|
||||
padding-right: 8px;
|
||||
font-family: var(--font-monospace);
|
||||
background-color: var(--background-primary-alt);
|
||||
color: var(--text-nav-selected);
|
||||
}
|
||||
|
||||
.dataview.inline-field-value {
|
||||
padding-left: 8px;
|
||||
padding-right: 8px;
|
||||
font-family: var(--font-monospace);
|
||||
background-color: var(--background-secondary-alt);
|
||||
color: var(--text-nav-selected);
|
||||
}
|
||||
|
||||
.dataview.inline-field-standalone-value {
|
||||
padding-left: 8px;
|
||||
padding-right: 8px;
|
||||
font-family: var(--font-monospace);
|
||||
background-color: var(--background-secondary-alt);
|
||||
color: var(--text-nav-selected);
|
||||
}
|
||||
|
||||
/***************/
|
||||
/** Task View **/
|
||||
/***************/
|
||||
|
||||
.dataview.task-list-item, .dataview.task-list-basic-item {
|
||||
margin-top: 3px;
|
||||
margin-bottom: 3px;
|
||||
transition: 0.4s;
|
||||
}
|
||||
|
||||
.dataview.task-list-item:hover, .dataview.task-list-basic-item:hover {
|
||||
background-color: var(--text-selection);
|
||||
box-shadow: -40px 0 0 var(--text-selection);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/*****************/
|
||||
/** Error Views **/
|
||||
/*****************/
|
||||
|
||||
div.dataview-error-box {
|
||||
width: 100%;
|
||||
min-height: 150px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border: 4px dashed var(--background-secondary);
|
||||
}
|
||||
|
||||
.dataview-error-message {
|
||||
color: var(--text-muted);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/*************************/
|
||||
/** Additional Metadata **/
|
||||
/*************************/
|
||||
|
||||
.dataview.small-text {
|
||||
font-size: smaller;
|
||||
color: var(--text-muted);
|
||||
margin-left: 3px;
|
||||
}
|
||||
|
||||
.dataview.small-text::before {
|
||||
content: "(";
|
||||
}
|
||||
|
||||
.dataview.small-text::after {
|
||||
content: ")";
|
||||
}
|
502
plugins/fantasy-calendar/main.js
Normal file
502
plugins/fantasy-calendar/main.js
Normal file
File diff suppressed because one or more lines are too long
10
plugins/fantasy-calendar/manifest.json
Normal file
10
plugins/fantasy-calendar/manifest.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"id": "fantasy-calendar",
|
||||
"name": "Fantasy Calendar",
|
||||
"version": "3.0.0",
|
||||
"minAppVersion": "0.12.10",
|
||||
"author": "Jeremy Valentine",
|
||||
"description": "Fantasy calendars in Obsidian!",
|
||||
"authorUrl": "https://github.com/fantasycalendar/obsidian-fantasy-calendar",
|
||||
"isDesktopOnly": false
|
||||
}
|
1
plugins/fantasy-calendar/styles.css
Normal file
1
plugins/fantasy-calendar/styles.css
Normal file
File diff suppressed because one or more lines are too long
1014
plugins/leader-hotkeys-obsidian/main.js
Normal file
1014
plugins/leader-hotkeys-obsidian/main.js
Normal file
File diff suppressed because one or more lines are too long
8
plugins/leader-hotkeys-obsidian/manifest.json
Normal file
8
plugins/leader-hotkeys-obsidian/manifest.json
Normal file
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"id": "leader-hotkeys-obsidian",
|
||||
"name": "Leader Hotkeys",
|
||||
"description": "Add leader hotkey support to any command (like tmux or vim)",
|
||||
"isDesktopOnly": false,
|
||||
"version": "0.2.1",
|
||||
"js": "main.js"
|
||||
}
|
7
plugins/leader-hotkeys-obsidian/styles.css
Normal file
7
plugins/leader-hotkeys-obsidian/styles.css
Normal file
|
@ -0,0 +1,7 @@
|
|||
.leader-hotkeys-setting-prepend-text {
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
.leader-hotkeys-setting-append-text {
|
||||
padding: 0 10px;
|
||||
}
|
42
plugins/metaedit/data.json
Normal file
42
plugins/metaedit/data.json
Normal file
|
@ -0,0 +1,42 @@
|
|||
{
|
||||
"ProgressProperties": {
|
||||
"enabled": false,
|
||||
"properties": []
|
||||
},
|
||||
"IgnoredProperties": {
|
||||
"enabled": true,
|
||||
"properties": [
|
||||
"created"
|
||||
]
|
||||
},
|
||||
"AutoProperties": {
|
||||
"enabled": true,
|
||||
"properties": [
|
||||
{
|
||||
"name": "status",
|
||||
"choices": [
|
||||
"Completed",
|
||||
"In-Progress",
|
||||
"Idea",
|
||||
"Researching"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"EditMode": {
|
||||
"mode": "Some Multi",
|
||||
"properties": [
|
||||
"project",
|
||||
"modified",
|
||||
"FRCInfo",
|
||||
"production"
|
||||
]
|
||||
},
|
||||
"KanbanHelper": {
|
||||
"enabled": false,
|
||||
"boards": []
|
||||
},
|
||||
"UIElements": {
|
||||
"enabled": true
|
||||
}
|
||||
}
|
5538
plugins/metaedit/main.js
Normal file
5538
plugins/metaedit/main.js
Normal file
File diff suppressed because it is too large
Load diff
10
plugins/metaedit/manifest.json
Normal file
10
plugins/metaedit/manifest.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"id": "metaedit",
|
||||
"name": "MetaEdit",
|
||||
"version": "1.8.2",
|
||||
"minAppVersion": "1.4.1",
|
||||
"description": "MetaEdit helps you manage your metadata.",
|
||||
"author": "Christian B. B. Houmann",
|
||||
"authorUrl": "https://bagerbach.com",
|
||||
"isDesktopOnly": false
|
||||
}
|
15
plugins/metaedit/styles.css
Normal file
15
plugins/metaedit/styles.css
Normal file
|
@ -0,0 +1,15 @@
|
|||
.centerSettingContent {
|
||||
display: grid;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.not-a-button {
|
||||
background: none;
|
||||
color: inherit;
|
||||
border: none;
|
||||
padding: 0;
|
||||
font: inherit;
|
||||
cursor: pointer;
|
||||
outline: inherit;
|
||||
}
|
9202
plugins/nldates-obsidian/main.js
Normal file
9202
plugins/nldates-obsidian/main.js
Normal file
File diff suppressed because one or more lines are too long
10
plugins/nldates-obsidian/manifest.json
Normal file
10
plugins/nldates-obsidian/manifest.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"id": "nldates-obsidian",
|
||||
"name": "Natural Language Dates",
|
||||
"description": "Create date-links based on natural language",
|
||||
"version": "0.6.1",
|
||||
"author": "Argentina Ortega Sainz",
|
||||
"authorUrl": "https://argentinaos.com/",
|
||||
"isDesktopOnly": false,
|
||||
"minAppVersion": "0.13.0"
|
||||
}
|
42680
plugins/numerals/main.js
Normal file
42680
plugins/numerals/main.js
Normal file
File diff suppressed because one or more lines are too long
10
plugins/numerals/manifest.json
Normal file
10
plugins/numerals/manifest.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"id": "numerals",
|
||||
"name": "Numerals",
|
||||
"version": "1.2.0",
|
||||
"minAppVersion": "0.16.0",
|
||||
"description": "Numerals turns any code block into an advanced calculator. Evaluates math expressions on each line of a code block, including units, currency, and optional TeX rendering.",
|
||||
"author": "RyanC",
|
||||
"authorUrl": "https://github.com/gtg922r/obsidian-numerals",
|
||||
"isDesktopOnly": false
|
||||
}
|
297
plugins/numerals/styles.css
Normal file
297
plugins/numerals/styles.css
Normal file
|
@ -0,0 +1,297 @@
|
|||
/* @settings
|
||||
|
||||
name: Numerals
|
||||
id: numerals-style
|
||||
settings:
|
||||
-
|
||||
id: numerals-comment
|
||||
title: In-line Comment Color
|
||||
description: Color of the text in in-line comments. Default is `--text-faint`.
|
||||
type: variable-themed-color
|
||||
format: hex
|
||||
opacity: false
|
||||
default-light: '#'
|
||||
default-dark: '#'
|
||||
-
|
||||
id: numerals-heading
|
||||
title: Heading / Comment Line Color
|
||||
description: Color of lines with only a comment. Default is `--text-faint`.
|
||||
type: variable-themed-color
|
||||
format: hex
|
||||
opacity: false
|
||||
default-light: '#'
|
||||
default-dark: '#'
|
||||
-
|
||||
id: numerals-background
|
||||
title: Block background color
|
||||
description: Background color of the block. Default is same as code-block background.
|
||||
type: variable-themed-color
|
||||
format: hex
|
||||
opacity: false
|
||||
default-light: '#'
|
||||
default-dark: '#'
|
||||
-
|
||||
id: numerals-alternating-row-color
|
||||
title: Alternating Row Color
|
||||
description: Background color for the row when alternating rows (when enabled)
|
||||
type: variable-themed-color
|
||||
format: hex
|
||||
opacity: false
|
||||
default-light: '#'
|
||||
default-dark: '#'
|
||||
-
|
||||
id: numerals-font
|
||||
title: Numerals block font
|
||||
description: Font used for Numerals block. Default is same as a code-block
|
||||
type: variable-text
|
||||
default: ''
|
||||
-
|
||||
id: numerals-size
|
||||
title: Numerals block font size
|
||||
description: Accepts an CSS font-size value. Default is same as a code-block
|
||||
type: variable-text
|
||||
default: ''
|
||||
-
|
||||
id: numerals-emitter-input-weight
|
||||
title: Annotated Result Input Font Weight
|
||||
description: Font weight for input which has result annotation (`=>`) (accepts CSS font-weight value). Default is `var(--normal-weight)`.
|
||||
type: variable-text
|
||||
default: ''
|
||||
*/
|
||||
|
||||
/***********************************/
|
||||
/******** Non-setting specific **/
|
||||
|
||||
body {
|
||||
--numerals-comment: var(--text-faint);
|
||||
--numerals-heading: var(--text-faint);
|
||||
--numerals-background: var(--code-background);
|
||||
--numerals-font: var(--font-monospace);
|
||||
--numerals-size: var(--code-size);
|
||||
--numerals-emitter-input-weight: var(--normal-weight);
|
||||
--numerals-alternating-row-color: var(--background-modifier-hover);
|
||||
}
|
||||
|
||||
.numerals-syntax .numerals-input span {
|
||||
padding: 0 2px;
|
||||
}
|
||||
.numerals-syntax .numerals-input {
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
.numerals-block .numerals-input .math-parenthesis,
|
||||
.numerals-block .numerals-input .math-paranthesis {
|
||||
padding-left: 0px;
|
||||
padding-right: 0px;
|
||||
}
|
||||
|
||||
.numerals-block .numerals-input .math-number {
|
||||
color: var(--code-value);
|
||||
}
|
||||
.numerals-block .numerals-input .math-string {
|
||||
color: var(--code-string);
|
||||
}
|
||||
.numerals-block .numerals-input .math-boolean {
|
||||
color: var(--code-value);
|
||||
}
|
||||
.numerals-block .numerals-input .math-undefined {
|
||||
color: var(--code-keyword);
|
||||
display: none;
|
||||
}
|
||||
.numerals-block .numerals-input .math-function {
|
||||
color: var(--code-function);
|
||||
}
|
||||
.numerals-block .numerals-input .math-parameter {
|
||||
color: var(--code-property);
|
||||
}
|
||||
.numerals-block .numerals-input .math-property {
|
||||
color: var(--code-property);
|
||||
}
|
||||
.numerals-block .numerals-input .math-symbol {
|
||||
color: var(--code-property);
|
||||
}
|
||||
.numerals-block .numerals-input .math-operator {
|
||||
color: var(--code-operator);
|
||||
}
|
||||
.numerals-block .numerals-input .math-parenthesis,
|
||||
.numerals-block .numerals-input .math-paranthesis {
|
||||
color: var(--code-punctuation);
|
||||
padding-left: 0px;
|
||||
padding-right: 0px;
|
||||
}
|
||||
.numerals-block .numerals-input .math-separator {
|
||||
color: var(--code-punctuation);
|
||||
}
|
||||
|
||||
.numerals-block {
|
||||
background-color: var(--numerals-background);
|
||||
font-family: var(--numerals-font);
|
||||
font-size: var(--numerals-size);
|
||||
padding: var(--size-4-4);
|
||||
}
|
||||
|
||||
.numerals-block .MathJax {
|
||||
text-align: left !important;
|
||||
margin-top: .5em !important;
|
||||
margin-bottom: .5em !important;
|
||||
}
|
||||
|
||||
.numerals-input.numerals-empty {
|
||||
font-weight: bold;
|
||||
color: var(--numerals-heading);
|
||||
}
|
||||
|
||||
.numerals-input .numerals-tex {
|
||||
display:inline-block;
|
||||
}
|
||||
|
||||
.numerals-input .numerals-inline-comment {
|
||||
display: inline-block;
|
||||
padding-left: 1em;
|
||||
color: var(--numerals-comment);
|
||||
}
|
||||
|
||||
.numerals-alt-row-color .numerals-line:nth-child(even){
|
||||
background-color: var(--numerals-alternating-row-color);
|
||||
}
|
||||
|
||||
.numerals-alt-row-color .numerals-line .numerals-input{
|
||||
padding-left: var(--size-2-2);
|
||||
}
|
||||
|
||||
.numerals-alt-row-color .numerals-line .numerals-result {
|
||||
padding-right: var(--size-2-2);
|
||||
}
|
||||
|
||||
.numerals-error-name {
|
||||
color:var(--color-red);
|
||||
padding-right: var(--size-4-2);
|
||||
}
|
||||
|
||||
/**********************************/
|
||||
/* ** Right-aligned Style ** */
|
||||
|
||||
/* TODO Switch to a diffent display layout so that result can be centered */
|
||||
|
||||
.numerals-answer-right .numerals-line {
|
||||
line-height: var(--line-height-tight);
|
||||
clear: both;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.numerals-answer-right .numerals-input {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.numerals-answer-right .numerals-result {
|
||||
float: right;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
/**********************************/
|
||||
/* ** Two Panes Style ** */
|
||||
/* this leads to filling all the way to the bottom of the container. probably bigger than desired */
|
||||
.numerals-panes .numerals-line {
|
||||
line-height: var(--line-height-tight);
|
||||
|
||||
}
|
||||
|
||||
.numerals-panes .numerals-line {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.numerals-panes .numerals-input {
|
||||
width:75%;
|
||||
}
|
||||
|
||||
.numerals-panes .numerals-result {
|
||||
color: var(--text-muted);
|
||||
background-color: var(--background-modifier-hover);
|
||||
width: 25%;
|
||||
text-align: left;
|
||||
padding-left: var(--size-2-2);
|
||||
border-left: 1px solid var(--background-modifier-border-focus);
|
||||
}
|
||||
|
||||
/* .numerals-panes .MathJax {
|
||||
float:left;
|
||||
} */
|
||||
|
||||
|
||||
/**********************************/
|
||||
/* ** Result on following line ** */
|
||||
|
||||
.numerals-answer-below .numerals-line {
|
||||
line-height: var(--line-height-tight);
|
||||
}
|
||||
|
||||
.numerals-answer-below .numerals-line .numerals-result,
|
||||
.numerals-answer-below .numerals-line .numerals-input {
|
||||
display:block;
|
||||
}
|
||||
|
||||
.numerals-answer-below .numerals-line .numerals-result {
|
||||
color: var(--text-muted);
|
||||
padding-left: var(--size-4-4);
|
||||
padding-bottom: var(--size-2-1);
|
||||
}
|
||||
|
||||
.numerals-answer-below .numerals-line .numerals-input {
|
||||
padding-top: var(--size-2-1);
|
||||
}
|
||||
|
||||
.numerals-answer-below .numerals-input.numerals-empty {
|
||||
padding-top: var(--size-4-3);
|
||||
padding-bottom: var(--size-4-1);
|
||||
}
|
||||
|
||||
.numerals-answer-below .numerals-result.numerals-empty {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Don't show text in .numerals-result that and aren't descendents of .numerals-emitter */
|
||||
.numerals-emitters-present:not(.numerals-hide-non-emitters) .numerals-result:not(.numerals-emitter .numerals-result) {
|
||||
color: var(--text-faint);
|
||||
}
|
||||
|
||||
.numerals-emitter .numerals-input {
|
||||
font-weight: var(--numerals-emitter-input-weight)
|
||||
}
|
||||
|
||||
.numerals-emitters-present.numerals-hide-non-emitters .numerals-result:not(.numerals-emitter .numerals-result) {
|
||||
color: transparent;
|
||||
}
|
||||
|
||||
|
||||
/**********************************/
|
||||
/* ** Inline Style ** */
|
||||
/* TODO Switch to a diffent display layout so that result can be centered */
|
||||
|
||||
.numerals-answer-right .numerals-line {
|
||||
line-height: var(--line-height-tight);
|
||||
/* clear: both; */
|
||||
/* overflow: auto; */
|
||||
}
|
||||
|
||||
.numerals-answer-inline .numerals-input {
|
||||
display:inline-block;
|
||||
padding-right: 20px;
|
||||
/* float: left; */
|
||||
}
|
||||
|
||||
.numerals-answer-inline .numerals-result {
|
||||
/* float: right; */
|
||||
color: var(--text-muted);
|
||||
display:inline-block;
|
||||
}
|
||||
|
||||
|
||||
/***************************/
|
||||
/* ** Suggestion Style ** */
|
||||
|
||||
/* .numerals-suggestion-icon {
|
||||
--icon-size: 1em;
|
||||
} */
|
||||
.numerals-suggestion {
|
||||
font-family: var(--numerals-font);
|
||||
font-size: var(--numerals-size);
|
||||
}
|
408
plugins/obsidian-account-linker/main.js
Normal file
408
plugins/obsidian-account-linker/main.js
Normal file
|
@ -0,0 +1,408 @@
|
|||
/*
|
||||
THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
|
||||
if you want to view the source, please visit the github repository of this plugin
|
||||
*/
|
||||
|
||||
var __defProp = Object.defineProperty;
|
||||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
||||
var __getOwnPropNames = Object.getOwnPropertyNames;
|
||||
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
||||
var __export = (target, all) => {
|
||||
for (var name in all)
|
||||
__defProp(target, name, { get: all[name], enumerable: true });
|
||||
};
|
||||
var __copyProps = (to, from, except, desc) => {
|
||||
if (from && typeof from === "object" || typeof from === "function") {
|
||||
for (let key of __getOwnPropNames(from))
|
||||
if (!__hasOwnProp.call(to, key) && key !== except)
|
||||
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
||||
}
|
||||
return to;
|
||||
};
|
||||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
||||
var __async = (__this, __arguments, generator) => {
|
||||
return new Promise((resolve, reject) => {
|
||||
var fulfilled = (value) => {
|
||||
try {
|
||||
step(generator.next(value));
|
||||
} catch (e) {
|
||||
reject(e);
|
||||
}
|
||||
};
|
||||
var rejected = (value) => {
|
||||
try {
|
||||
step(generator.throw(value));
|
||||
} catch (e) {
|
||||
reject(e);
|
||||
}
|
||||
};
|
||||
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
||||
step((generator = generator.apply(__this, __arguments)).next());
|
||||
});
|
||||
};
|
||||
|
||||
// main.ts
|
||||
var main_exports = {};
|
||||
__export(main_exports, {
|
||||
default: () => AccountLinker
|
||||
});
|
||||
module.exports = __toCommonJS(main_exports);
|
||||
var import_obsidian3 = require("obsidian");
|
||||
|
||||
// src/settings/AccountLinkerSettingTab.ts
|
||||
var import_obsidian2 = require("obsidian");
|
||||
|
||||
// src/control/utils.ts
|
||||
function replaceTemplateText(beforeText, ctx) {
|
||||
return beforeText.split("{{NAME}}").join(ctx.text).replace(/\{\{[^}]*\}\}/g, "");
|
||||
}
|
||||
function isColor(code) {
|
||||
return /^#[0-9A-Fa-f]{6}$/.test(code);
|
||||
}
|
||||
function isURL(link) {
|
||||
return true;
|
||||
}
|
||||
function selectFontColor(backgroundColor) {
|
||||
if (!isColor(backgroundColor)) {
|
||||
return "#000000";
|
||||
}
|
||||
const brightness = parseInt(backgroundColor.substring(1, 3), 16) * 0.299 + parseInt(backgroundColor.substring(3, 5), 16) * 0.587 + parseInt(backgroundColor.substring(5, 7), 16) * 0.114;
|
||||
return Math.floor(brightness) >= 140 ? "#000000" : "#FFFFFF";
|
||||
}
|
||||
|
||||
// src/drawing/drawAccountLink.ts
|
||||
function drawAccountLink(a, config, text) {
|
||||
a.empty();
|
||||
a.classList.add("frontmatter-accounts");
|
||||
const linkText = replaceTemplateText(config.urlTemplate, { text });
|
||||
if (isURL(linkText)) {
|
||||
a.href = linkText;
|
||||
} else {
|
||||
a.href = "";
|
||||
}
|
||||
const siteNameDiv = a.createEl("div");
|
||||
siteNameDiv.classList.add("frontmatter-accounts-sitename");
|
||||
siteNameDiv.innerText = config.name;
|
||||
siteNameDiv.style.backgroundColor = isColor(config.color) ? config.color : "#ffffff";
|
||||
siteNameDiv.style.color = selectFontColor(config.color);
|
||||
const labelText = replaceTemplateText(config.labelTemplate, { text });
|
||||
if (labelText != "") {
|
||||
const labelDiv = a.createEl("div");
|
||||
labelDiv.classList.add("frontmatter-accounts-label");
|
||||
labelDiv.innerText = labelText;
|
||||
}
|
||||
}
|
||||
|
||||
// src/settings/WebsiteEditModal.ts
|
||||
var import_obsidian = require("obsidian");
|
||||
var descriptions = {
|
||||
name: "Website name",
|
||||
color: "Website image color(HEX)",
|
||||
urlTemplate: "URL Replace Pattern",
|
||||
labelTemplate: "Account Name Replace Pattern",
|
||||
doesReverseResolution: "If on, it will reverse the account from the URL entered in the `accounts` field of the front matter",
|
||||
previewBox: "",
|
||||
saveButton: ""
|
||||
};
|
||||
var WebsiteEditModal = class extends import_obsidian.Modal {
|
||||
constructor(plugin, config, closeCallBack) {
|
||||
super(plugin.app);
|
||||
this.plugin = plugin;
|
||||
this.config = config;
|
||||
this.closeCallBack = closeCallBack;
|
||||
}
|
||||
onOpen() {
|
||||
const config = this.config;
|
||||
this.titleEl.setText("Website Config");
|
||||
const settings = {
|
||||
name: new import_obsidian.Setting(this.contentEl).setName("Name").setDesc(descriptions.name).addText((cb) => {
|
||||
cb.setValue(config.name).setPlaceholder("Twitter").onChange((value) => {
|
||||
config.name = value;
|
||||
this.updateText("name", settings);
|
||||
this.updateDisplay(settings);
|
||||
});
|
||||
}),
|
||||
color: new import_obsidian.Setting(this.contentEl).setName("Color").setDesc(descriptions.color).addText((cb) => {
|
||||
cb.setValue(config.color).setPlaceholder("#3e9cec").onChange((value) => {
|
||||
config.color = value;
|
||||
this.updateText("color", settings);
|
||||
this.updateDisplay(settings);
|
||||
});
|
||||
}),
|
||||
urlTemplate: new import_obsidian.Setting(this.contentEl).setName("URL Template").setDesc(descriptions.urlTemplate).addText((cb) => {
|
||||
cb.setValue(config.urlTemplate).setPlaceholder("https://twitter.com/{{NAME}}").onChange((value) => {
|
||||
config.urlTemplate = value;
|
||||
this.updateText("urlTemplate", settings);
|
||||
this.updateDisplay(settings);
|
||||
});
|
||||
}),
|
||||
labelTemplate: new import_obsidian.Setting(this.contentEl).setName("Label Template").setDesc(descriptions.labelTemplate).addText((cb) => {
|
||||
cb.setValue(config.labelTemplate).setPlaceholder("@{{NAME}}").onChange((value) => {
|
||||
config.labelTemplate = value;
|
||||
this.updateText("labelTemplate", settings);
|
||||
this.updateDisplay(settings);
|
||||
});
|
||||
}),
|
||||
doesReverseResolution: new import_obsidian.Setting(this.contentEl).setName("Reverse Resolution(Unimplemented)").setDesc(descriptions.doesReverseResolution).addToggle((cb) => {
|
||||
cb.setValue(config.doesReverseResolution).onChange((value) => {
|
||||
config.doesReverseResolution = value;
|
||||
this.updateText("doesReverseResolution", settings);
|
||||
this.updateDisplay(settings);
|
||||
}).setDisabled;
|
||||
}),
|
||||
previewBox: new import_obsidian.Setting(this.contentEl).setDesc(descriptions.previewBox).setName("Preview"),
|
||||
saveButton: new import_obsidian.Setting(this.contentEl).setDesc(descriptions.saveButton).addButton((b) => {
|
||||
b.setButtonText("Save").setDisabled(true).onClick((evt) => {
|
||||
this.closeCallBack(config);
|
||||
this.close();
|
||||
});
|
||||
})
|
||||
};
|
||||
["name", "color", "urlTemplate", "labelTemplate", "doesReverseResolution"].forEach((key) => {
|
||||
this.updateText(key, settings);
|
||||
});
|
||||
this.updateDisplay(settings);
|
||||
}
|
||||
checkConfig(key) {
|
||||
switch (key) {
|
||||
case "name":
|
||||
if (this.config.name == "") {
|
||||
return "The name length must be greater than zero";
|
||||
} else if (["aliases", "alias", "tags", "tag", "cssclass", "publish", "accounts"].includes(this.config.name.toLowerCase())) {
|
||||
return "The name must be something other";
|
||||
} else {
|
||||
return "";
|
||||
}
|
||||
case "color":
|
||||
if (!isColor(this.config.color)) {
|
||||
return "The color must be represented by `#` and a six-digit hexadecimal number";
|
||||
} else {
|
||||
return "";
|
||||
}
|
||||
case "urlTemplate":
|
||||
if (!isURL(this.config.urlTemplate.replace(/\{\{[^}]*\}\}/g, ""))) {
|
||||
return "URL is invalid";
|
||||
} else {
|
||||
return "";
|
||||
}
|
||||
case "labelTemplate":
|
||||
return "";
|
||||
case "doesReverseResolution":
|
||||
return "";
|
||||
}
|
||||
}
|
||||
updateText(key, settings) {
|
||||
if (this.checkConfig(key) != "") {
|
||||
settings[key].descEl.innerHTML = descriptions[key] + `<br><span class='mod-warning'>${this.checkConfig(key)}</span>`;
|
||||
} else {
|
||||
settings[key].descEl.innerHTML = descriptions[key];
|
||||
}
|
||||
}
|
||||
updateDisplay(settings) {
|
||||
let f = false;
|
||||
["name", "color", "urlTemplate", "labelTemplate", "doesReverseResolution"].forEach((key) => {
|
||||
if (this.checkConfig(key) != "") {
|
||||
f = true;
|
||||
}
|
||||
});
|
||||
settings.saveButton.setDisabled(f);
|
||||
const linker = document.createElement("a");
|
||||
drawAccountLink(linker, this.config, "example");
|
||||
settings.previewBox.descEl.innerHTML = linker.outerHTML;
|
||||
}
|
||||
};
|
||||
|
||||
// src/control/websiteConfig.ts
|
||||
var websiteConfig = class {
|
||||
constructor() {
|
||||
this.name = "";
|
||||
this.color = "#FFFFFF";
|
||||
this.urlTemplate = "";
|
||||
this.labelTemplate = "";
|
||||
this.doesReverseResolution = false;
|
||||
}
|
||||
};
|
||||
|
||||
// src/settings/AccountLinkerSettingTab.ts
|
||||
var AccountLinkerSettingTab = class extends import_obsidian2.PluginSettingTab {
|
||||
constructor(app, plugin) {
|
||||
super(app, plugin);
|
||||
this.plugin = plugin;
|
||||
}
|
||||
display() {
|
||||
const { containerEl } = this;
|
||||
containerEl.empty();
|
||||
const siteDiv = containerEl.createDiv();
|
||||
this.drawSites(siteDiv);
|
||||
}
|
||||
drawSites(div) {
|
||||
div.empty();
|
||||
const websites = this.plugin.settings.websites;
|
||||
websites.forEach((website, i) => {
|
||||
const s = new import_obsidian2.Setting(div).setDesc(website.name).addButton((button) => {
|
||||
button.onClick(() => {
|
||||
const modal = new WebsiteEditModal(this.plugin, website, (config) => {
|
||||
this.plugin.settings.websites[i] = config;
|
||||
this.plugin.saveSettings();
|
||||
this.drawSites(div);
|
||||
});
|
||||
modal.open();
|
||||
});
|
||||
button.setIcon("pencil");
|
||||
button.setTooltip("Edit");
|
||||
}).addButton((button) => {
|
||||
button.onClick(() => {
|
||||
this.plugin.settings.websites.remove(website);
|
||||
this.plugin.saveSettings();
|
||||
this.drawSites(div);
|
||||
});
|
||||
button.setIcon("cross");
|
||||
button.setTooltip("Remove");
|
||||
});
|
||||
const linker = document.createElement("a");
|
||||
drawAccountLink(linker, website, "example");
|
||||
s.descEl.innerHTML += linker.outerHTML;
|
||||
});
|
||||
new import_obsidian2.Setting(div).addButton((button) => {
|
||||
button.onClick(() => {
|
||||
const modal = new WebsiteEditModal(this.plugin, new websiteConfig(), (config) => {
|
||||
this.plugin.settings.websites.push(config);
|
||||
this.plugin.saveSettings();
|
||||
this.drawSites(div);
|
||||
});
|
||||
modal.open();
|
||||
});
|
||||
button.setIcon("plus-with-circle");
|
||||
button.setTooltip("New");
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
// src/settings/AccountLinkerSettings.ts
|
||||
var DEFAULT_SETTINGS = {
|
||||
websites: [
|
||||
{
|
||||
name: "Twitter",
|
||||
color: "#3e9cec",
|
||||
urlTemplate: "https://twitter.com/{{NAME}}",
|
||||
labelTemplate: "@{{NAME}}",
|
||||
doesReverseResolution: false
|
||||
},
|
||||
{
|
||||
name: "Facebook",
|
||||
color: "#3b5998",
|
||||
urlTemplate: "https://www.facebook.com/{{NAME}}",
|
||||
labelTemplate: "{{NAME}}",
|
||||
doesReverseResolution: false
|
||||
},
|
||||
{
|
||||
name: "Instagram",
|
||||
color: "#dc2477",
|
||||
urlTemplate: "https://www.instagram.com/{{NAME}}",
|
||||
labelTemplate: "@{{NAME}}",
|
||||
doesReverseResolution: false
|
||||
},
|
||||
{
|
||||
name: "GitHub",
|
||||
color: "#0a0c10",
|
||||
urlTemplate: "https://github.com/{{NAME}}",
|
||||
labelTemplate: "@{{NAME}}",
|
||||
doesReverseResolution: false
|
||||
},
|
||||
{
|
||||
name: "Mail",
|
||||
color: "#e7e7e7",
|
||||
urlTemplate: "mailto:{{NAME}}",
|
||||
labelTemplate: "{{NAME}}",
|
||||
doesReverseResolution: false
|
||||
},
|
||||
{
|
||||
name: "Linktree",
|
||||
color: "#3ea195",
|
||||
urlTemplate: "https://linktr.ee/{{NAME}}",
|
||||
labelTemplate: "{{NAME}}",
|
||||
doesReverseResolution: false
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
// src/drawing/frontmatterProcessor.ts
|
||||
var frontmatterProcessor = (plugin) => (el, ctx) => __async(void 0, null, function* () {
|
||||
const frontmatter = el.querySelector(".frontmatter");
|
||||
if (frontmatter !== null) {
|
||||
const embed = el.querySelector(".internal-embed");
|
||||
if (embed !== null) {
|
||||
return;
|
||||
}
|
||||
if (ctx.frontmatter) {
|
||||
const siteDict = {};
|
||||
plugin.settings.websites.forEach((config) => {
|
||||
if (!Object.keys(siteDict).includes(config.name.toLowerCase())) {
|
||||
siteDict[config.name.toLowerCase()] = [];
|
||||
}
|
||||
siteDict[config.name.toLowerCase()].push(config);
|
||||
});
|
||||
console.log(siteDict);
|
||||
const accountList = [];
|
||||
Object.keys(ctx.frontmatter).forEach((key) => {
|
||||
if (Object.keys(siteDict).includes(key.toLowerCase())) {
|
||||
const lk = key.toLowerCase();
|
||||
siteDict[lk].forEach((config) => {
|
||||
frontMatterRecursion(ctx.frontmatter[key], config, accountList);
|
||||
});
|
||||
}
|
||||
});
|
||||
const target = el.querySelector(".frontmatter-container");
|
||||
if (accountList.length) {
|
||||
target.innerHTML += `
|
||||
<div class="frontmatter-section">
|
||||
<span class="frontmatter-section-label">Accounts</span>
|
||||
<div class="frontmatter-section-accounts">
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
const section = target.querySelector(".frontmatter-section-accounts");
|
||||
accountList.forEach((a) => {
|
||||
const linkTag = section.createEl("a");
|
||||
drawAccountLink(linkTag, a.config, a.value);
|
||||
});
|
||||
target.style.display = "block";
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
function frontMatterRecursion(value, config, accountList) {
|
||||
if (typeof value === "string") {
|
||||
accountList.push({
|
||||
config,
|
||||
value
|
||||
});
|
||||
} else {
|
||||
value.forEach((v) => {
|
||||
frontMatterRecursion(v, config, accountList);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
// main.ts
|
||||
var AccountLinker = class extends import_obsidian3.Plugin {
|
||||
onload() {
|
||||
return __async(this, null, function* () {
|
||||
yield this.loadSettings();
|
||||
this.registerMarkdownPostProcessor(frontmatterProcessor(this));
|
||||
this.addSettingTab(new AccountLinkerSettingTab(this.app, this));
|
||||
});
|
||||
}
|
||||
onunload() {
|
||||
}
|
||||
loadSettings() {
|
||||
return __async(this, null, function* () {
|
||||
this.settings = Object.assign({}, DEFAULT_SETTINGS, yield this.loadData());
|
||||
});
|
||||
}
|
||||
saveSettings() {
|
||||
return __async(this, null, function* () {
|
||||
yield this.saveData(this.settings);
|
||||
});
|
||||
}
|
||||
};
|
10
plugins/obsidian-account-linker/manifest.json
Normal file
10
plugins/obsidian-account-linker/manifest.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"id": "obsidian-account-linker",
|
||||
"name": "Account Linker",
|
||||
"version": "1.0.1",
|
||||
"minAppVersion": "0.12.0",
|
||||
"description": "Plugin for describing external service accounts in the front matter",
|
||||
"author": "qwegat",
|
||||
"authorUrl": "https://github.com/qwegat",
|
||||
"isDesktopOnly": false
|
||||
}
|
30
plugins/obsidian-account-linker/styles.css
Normal file
30
plugins/obsidian-account-linker/styles.css
Normal file
|
@ -0,0 +1,30 @@
|
|||
.frontmatter-section-accounts{
|
||||
display: inline-flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.frontmatter-accounts {
|
||||
background-color: var(--background-secondary-alt);
|
||||
border-radius: 30px;
|
||||
font-size: 0.9em;
|
||||
border: 1px solid transparent;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
margin: 2px 4px;
|
||||
display: inline-flex;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.frontmatter-accounts-sitename {
|
||||
display: block;
|
||||
padding: 2px 8px 2px 8px;
|
||||
line-height: 19px;
|
||||
margin: 0;
|
||||
}
|
||||
.frontmatter-accounts-label {
|
||||
display: block;
|
||||
padding: 2px 8px 2px 8px;
|
||||
line-height: 19px;
|
||||
margin: 0;
|
||||
}
|
2776
plugins/obsidian-activity-history/main.js
Normal file
2776
plugins/obsidian-activity-history/main.js
Normal file
File diff suppressed because it is too large
Load diff
10
plugins/obsidian-activity-history/manifest.json
Normal file
10
plugins/obsidian-activity-history/manifest.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"id": "obsidian-activity-history",
|
||||
"name": "Activity History",
|
||||
"version": "0.1.4",
|
||||
"minAppVersion": "0.10.11",
|
||||
"description": "Track activity of specified projects, Github like activity board",
|
||||
"author": "darakah",
|
||||
"authorUrl": "https://github.com/Darakah/",
|
||||
"isDesktopOnly": false
|
||||
}
|
30
plugins/obsidian-activity-history/styles.css
Normal file
30
plugins/obsidian-activity-history/styles.css
Normal file
|
@ -0,0 +1,30 @@
|
|||
.block-language-ActivityHistory {
|
||||
margin: 1rem 0;
|
||||
}
|
||||
|
||||
.selectYear {
|
||||
border-color: none;
|
||||
}
|
||||
|
||||
.HistoryBoard {
|
||||
background-color: transparent !important;
|
||||
padding: 10px;
|
||||
border-radius: 14px;
|
||||
width: auto;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.ObsidianHistoryBlock {
|
||||
background-color: transparent !important;
|
||||
border-radius: 14px;
|
||||
width: auto;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.selectYear {
|
||||
margin: 10px !important;
|
||||
border-radius: 0 !important;
|
||||
border-color: transparent !important;
|
||||
background: #1b1b1b;
|
||||
color: rgb(201, 201, 201);
|
||||
}
|
4882
plugins/obsidian-advanced-uri/main.js
Normal file
4882
plugins/obsidian-advanced-uri/main.js
Normal file
File diff suppressed because one or more lines are too long
11
plugins/obsidian-advanced-uri/manifest.json
Normal file
11
plugins/obsidian-advanced-uri/manifest.json
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"id": "obsidian-advanced-uri",
|
||||
"name": "Advanced URI",
|
||||
"description": "Advanced modes for Obsidian URI",
|
||||
"isDesktopOnly": false,
|
||||
"js": "main.js",
|
||||
"fundingUrl": "https://ko-fi.com/vinzent",
|
||||
"version": "1.38.1",
|
||||
"author": "Vinzent",
|
||||
"authorUrl": "https://github.com/Vinzent03"
|
||||
}
|
36352
plugins/obsidian-annotator/main.js
Normal file
36352
plugins/obsidian-annotator/main.js
Normal file
File diff suppressed because one or more lines are too long
10
plugins/obsidian-annotator/manifest.json
Normal file
10
plugins/obsidian-annotator/manifest.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"id": "obsidian-annotator",
|
||||
"name": "Annotator",
|
||||
"version": "0.2.10",
|
||||
"minAppVersion": "1.0.3",
|
||||
"description": "This is a sample plugin for Obsidian. It allows you to open and annotate PDF and EPUB files.",
|
||||
"author": "Obsidian",
|
||||
"authorUrl": "https://obsidian.md/about",
|
||||
"isDesktopOnly": false
|
||||
}
|
10
plugins/obsidian-auto-link-title/data.json
Normal file
10
plugins/obsidian-auto-link-title/data.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"regex": {},
|
||||
"lineRegex": {},
|
||||
"linkRegex": {},
|
||||
"linkLineRegex": {},
|
||||
"imageRegex": {},
|
||||
"shouldReplaceSelection": true,
|
||||
"enhanceDefaultPaste": true,
|
||||
"websiteBlacklist": "localhost"
|
||||
}
|
516
plugins/obsidian-auto-link-title/main.js
Normal file
516
plugins/obsidian-auto-link-title/main.js
Normal file
File diff suppressed because one or more lines are too long
10
plugins/obsidian-auto-link-title/manifest.json
Normal file
10
plugins/obsidian-auto-link-title/manifest.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"id": "obsidian-auto-link-title",
|
||||
"name": "Auto Link Title",
|
||||
"version": "1.4.1",
|
||||
"minAppVersion": "0.12.17",
|
||||
"description": "This plugin automatically fetches the titles of links from the web",
|
||||
"author": "Matt Furden",
|
||||
"authorUrl": "https://github.com/zolrath",
|
||||
"isDesktopOnly": false
|
||||
}
|
1
plugins/obsidian-auto-link-title/styles.css
Normal file
1
plugins/obsidian-auto-link-title/styles.css
Normal file
|
@ -0,0 +1 @@
|
|||
/* no styles */
|
14
plugins/obsidian-divide-and-conquer/data.json
Normal file
14
plugins/obsidian-divide-and-conquer/data.json
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"pluginFilterRegexes": [
|
||||
"hot-reload",
|
||||
"obsidian-divide-and-conquer"
|
||||
],
|
||||
"snippetFilterRegexes": [],
|
||||
"filterUsingDisplayName": true,
|
||||
"filterUsingAuthor": false,
|
||||
"filterUsingDescription": false,
|
||||
"initializeAfterPluginChanges": false,
|
||||
"reloadAfterPluginChanges": false,
|
||||
"disabledStates": "{\"plugins\":[[\"obsidian-version-history-diff\",\"obsidian-git\",\"obsidian-frontmatter-tag-suggest\"]]}",
|
||||
"snapshots": "{\"plugins\":[\"obsidian-version-history-diff\",\"obsidian-git\",\"obsidian-frontmatter-tag-suggest\"]}"
|
||||
}
|
1589
plugins/obsidian-divide-and-conquer/main.js
Normal file
1589
plugins/obsidian-divide-and-conquer/main.js
Normal file
File diff suppressed because one or more lines are too long
10
plugins/obsidian-divide-and-conquer/manifest.json
Normal file
10
plugins/obsidian-divide-and-conquer/manifest.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"id": "obsidian-divide-and-conquer",
|
||||
"name": "Divide & Conquer",
|
||||
"version": "1.0.0",
|
||||
"minAppVersion": "0.13.19",
|
||||
"description": "Provides commands for bulk enabling/disabling of plugins. Useful for debugging when you have many plugins.",
|
||||
"author": "pseudometa",
|
||||
"authorUrl": "https://chris-grieser.de/",
|
||||
"isDesktopOnly": false
|
||||
}
|
104302
plugins/obsidian-emoji-toolbar/main.js
Normal file
104302
plugins/obsidian-emoji-toolbar/main.js
Normal file
File diff suppressed because one or more lines are too long
9
plugins/obsidian-emoji-toolbar/manifest.json
Normal file
9
plugins/obsidian-emoji-toolbar/manifest.json
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"id": "obsidian-emoji-toolbar",
|
||||
"name": "Emoji Toolbar",
|
||||
"version": "0.4.1",
|
||||
"description": "Quickly search for and insert emojis into your notes.",
|
||||
"author": "oliveryh",
|
||||
"authorUrl": "https://github.com/oliveryh/obsidian-emoji-toolbar",
|
||||
"isDesktopOnly": false
|
||||
}
|
505
plugins/obsidian-emoji-toolbar/styles.css
Normal file
505
plugins/obsidian-emoji-toolbar/styles.css
Normal file
|
@ -0,0 +1,505 @@
|
|||
img.emoji {
|
||||
height: 1em;
|
||||
width: 1em;
|
||||
margin: 0 0.05em 0 0.1em;
|
||||
vertical-align: -0.1em;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.emoji-mart,
|
||||
.emoji-mart * {
|
||||
box-sizing: border-box;
|
||||
line-height: 1.15;
|
||||
}
|
||||
|
||||
.emoji-mart {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
|
||||
font-size: 16px;
|
||||
display: inline-block;
|
||||
color: #222427;
|
||||
border: 1px solid #d9d9d9;
|
||||
border-radius: 5px;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.emoji-mart .emoji-mart-emoji {
|
||||
padding: 6px !important;
|
||||
}
|
||||
|
||||
.emoji-mart-bar {
|
||||
border: 0 solid #d9d9d9;
|
||||
}
|
||||
.emoji-mart-bar:first-child {
|
||||
border-bottom-width: 1px;
|
||||
border-top-left-radius: 5px;
|
||||
border-top-right-radius: 5px;
|
||||
}
|
||||
.emoji-mart-bar:last-child {
|
||||
border-top-width: 1px;
|
||||
border-bottom-left-radius: 5px;
|
||||
border-bottom-right-radius: 5px;
|
||||
}
|
||||
|
||||
.emoji-mart-anchors {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
padding: 0 6px;
|
||||
line-height: 0;
|
||||
}
|
||||
|
||||
.emoji-mart-anchor {
|
||||
position: relative;
|
||||
display: block;
|
||||
flex: 1 1 auto;
|
||||
color: #858585;
|
||||
text-align: center;
|
||||
padding: 12px 4px !important;
|
||||
overflow: hidden;
|
||||
transition: color .1s ease-out;
|
||||
margin: 0 !important;
|
||||
box-shadow: none !important;
|
||||
background: none !important;
|
||||
border: none !important;
|
||||
}
|
||||
.emoji-mart-anchor:focus { outline: 0 }
|
||||
.emoji-mart-anchor:hover,
|
||||
.emoji-mart-anchor:focus,
|
||||
.emoji-mart-anchor-selected {
|
||||
color: #464646;
|
||||
}
|
||||
|
||||
.emoji-mart-anchor-selected .emoji-mart-anchor-bar {
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
.emoji-mart-anchor-bar {
|
||||
position: absolute;
|
||||
bottom: -3px; left: 0;
|
||||
width: 100%; height: 3px;
|
||||
background-color: #464646;
|
||||
}
|
||||
|
||||
.emoji-mart-anchors i {
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
max-width: 22px;
|
||||
}
|
||||
|
||||
.emoji-mart-anchors svg,
|
||||
.emoji-mart-anchors img {
|
||||
fill: currentColor;
|
||||
height: 18px;
|
||||
width: 18px;
|
||||
}
|
||||
|
||||
.emoji-mart-scroll {
|
||||
overflow-y: scroll;
|
||||
overflow-x: hidden;
|
||||
height: 270px;
|
||||
padding: 0 6px 6px 6px;
|
||||
will-change: transform; /* avoids "repaints on scroll" in mobile Chrome */
|
||||
}
|
||||
|
||||
.emoji-mart-search {
|
||||
margin-top: 6px;
|
||||
padding: 0 6px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.emoji-mart-search input {
|
||||
font-size: 16px;
|
||||
display: block;
|
||||
width: 100%;
|
||||
padding: 5px 25px 6px 10px;
|
||||
border-radius: 5px;
|
||||
border: 1px solid #d9d9d9;
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
.emoji-mart-search input,
|
||||
.emoji-mart-search input::-webkit-search-decoration,
|
||||
.emoji-mart-search input::-webkit-search-cancel-button,
|
||||
.emoji-mart-search input::-webkit-search-results-button,
|
||||
.emoji-mart-search input::-webkit-search-results-decoration {
|
||||
/* remove webkit/blink styles for <input type="search">
|
||||
* via https://stackoverflow.com/a/9422689 */
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
.emoji-mart-search-icon {
|
||||
position: absolute;
|
||||
top: 7px;
|
||||
right: 11px;
|
||||
z-index: 2;
|
||||
padding: 2px 5px 1px;
|
||||
border: none !important;
|
||||
box-shadow: none !important;
|
||||
background: none !important;
|
||||
}
|
||||
|
||||
.emoji-mart-category .emoji-mart-emoji span {
|
||||
z-index: 1;
|
||||
position: relative;
|
||||
text-align: center;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.emoji-mart-category .emoji-mart-emoji:focus { outline: 0 }
|
||||
|
||||
.emoji-mart-category .emoji-mart-emoji:hover:before,
|
||||
.emoji-mart-category .emoji-mart-emoji:focus:before {
|
||||
z-index: 0;
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0; left: 0;
|
||||
width: 100%; height: 100%;
|
||||
background-color: #c5c5c5;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
.emoji-mart-category-label {
|
||||
z-index: 2;
|
||||
position: relative;
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.emoji-mart-category-label span {
|
||||
display: block;
|
||||
width: 100%;
|
||||
font-weight: 500;
|
||||
padding: 5px 6px;
|
||||
background-color: #fff;
|
||||
background-color: rgba(255, 255, 255, .95);
|
||||
}
|
||||
|
||||
.emoji-mart-category-list {
|
||||
border-spacing: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.emoji-mart-category-list td {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.emoji-mart-emoji {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
font-size: 0;
|
||||
margin: 0 !important;
|
||||
padding: 0 !important;
|
||||
border: none !important;
|
||||
background: none !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
.emoji-mart-emoji-native {
|
||||
font-family: "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "Apple Color Emoji", "Twemoji Mozilla", "Noto Color Emoji", "Android Emoji";
|
||||
}
|
||||
|
||||
.emoji-mart-no-results {
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
padding-top: 70px;
|
||||
color: #858585;
|
||||
}
|
||||
.emoji-mart-no-results-img {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
width: 50%;
|
||||
}
|
||||
.emoji-mart-no-results .emoji-mart-category-label {
|
||||
display: none;
|
||||
}
|
||||
.emoji-mart-no-results .emoji-mart-no-results-label {
|
||||
margin-top: .2em;
|
||||
}
|
||||
.emoji-mart-no-results .emoji-mart-emoji:hover:before {
|
||||
content: none;
|
||||
}
|
||||
|
||||
.emoji-mart-preview {
|
||||
position: relative;
|
||||
height: 70px;
|
||||
}
|
||||
|
||||
.emoji-mart-preview-emoji,
|
||||
.emoji-mart-preview-data,
|
||||
.emoji-mart-preview-skins {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
|
||||
.emoji-mart-preview-emoji {
|
||||
left: 12px;
|
||||
}
|
||||
|
||||
.emoji-mart-preview-data {
|
||||
left: 68px; right: 12px;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.emoji-mart-preview-skins {
|
||||
right: 30px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.emoji-mart-preview-skins.custom {
|
||||
right: 10px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.emoji-mart-preview-name {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.emoji-mart-preview-shortname {
|
||||
font-size: 12px;
|
||||
color: #888;
|
||||
}
|
||||
.emoji-mart-preview-shortname + .emoji-mart-preview-shortname,
|
||||
.emoji-mart-preview-shortname + .emoji-mart-preview-emoticon,
|
||||
.emoji-mart-preview-emoticon + .emoji-mart-preview-emoticon {
|
||||
margin-left: .5em;
|
||||
}
|
||||
|
||||
.emoji-mart-preview-emoticon {
|
||||
font-size: 11px;
|
||||
color: #bbb;
|
||||
}
|
||||
|
||||
.emoji-mart-title span {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.emoji-mart-title .emoji-mart-emoji {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.emoji-mart-title-label {
|
||||
color: #999A9C;
|
||||
font-size: 26px;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
.emoji-mart-skin-swatches {
|
||||
font-size: 0;
|
||||
padding: 2px 0;
|
||||
border: 1px solid #d9d9d9;
|
||||
border-radius: 12px;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.emoji-mart-skin-swatches.custom {
|
||||
font-size: 0;
|
||||
border: none;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.emoji-mart-skin-swatches.opened .emoji-mart-skin-swatch {
|
||||
width: 16px;
|
||||
padding: 0 2px;
|
||||
}
|
||||
|
||||
.emoji-mart-skin-swatches.opened .emoji-mart-skin-swatch.selected:after {
|
||||
opacity: .75;
|
||||
}
|
||||
|
||||
.emoji-mart-skin-swatch {
|
||||
display: inline-block;
|
||||
width: 0;
|
||||
vertical-align: middle;
|
||||
transition-property: width, padding;
|
||||
transition-duration: .125s;
|
||||
transition-timing-function: ease-out;
|
||||
}
|
||||
|
||||
.emoji-mart-skin-swatch:nth-child(1) { transition-delay: 0s }
|
||||
.emoji-mart-skin-swatch:nth-child(2) { transition-delay: .03s }
|
||||
.emoji-mart-skin-swatch:nth-child(3) { transition-delay: .06s }
|
||||
.emoji-mart-skin-swatch:nth-child(4) { transition-delay: .09s }
|
||||
.emoji-mart-skin-swatch:nth-child(5) { transition-delay: .12s }
|
||||
.emoji-mart-skin-swatch:nth-child(6) { transition-delay: .15s }
|
||||
|
||||
.emoji-mart-skin-swatch.selected {
|
||||
position: relative;
|
||||
width: 16px;
|
||||
padding: 0 2px;
|
||||
}
|
||||
|
||||
.emoji-mart-skin-swatch.selected:after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 50%; left: 50%;
|
||||
width: 4px; height: 4px;
|
||||
margin: -2px 0 0 -2px;
|
||||
background-color: #fff;
|
||||
border-radius: 100%;
|
||||
pointer-events: none;
|
||||
opacity: 0;
|
||||
transition: opacity .2s ease-out;
|
||||
}
|
||||
|
||||
.emoji-mart-skin-swatch.custom {
|
||||
display: inline-block;
|
||||
width: 0;
|
||||
height: 38px;
|
||||
overflow: hidden;
|
||||
vertical-align: middle;
|
||||
transition-property: width, height;
|
||||
transition-duration: .125s;
|
||||
transition-timing-function: ease-out;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.emoji-mart-skin-swatch.custom.selected {
|
||||
position: relative;
|
||||
width: 36px;
|
||||
height: 38px;
|
||||
padding: 0 2px 0 0;
|
||||
}
|
||||
|
||||
.emoji-mart-skin-swatch.custom.selected:after {
|
||||
content: "";
|
||||
width: 0;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
.emoji-mart-skin-swatches.custom .emoji-mart-skin-swatch.custom:hover {
|
||||
background-color: #f4f4f4;
|
||||
border-radius: 10%;
|
||||
}
|
||||
|
||||
.emoji-mart-skin-swatches.custom.opened .emoji-mart-skin-swatch.custom {
|
||||
width: 36px;
|
||||
height: 38px;
|
||||
padding: 0 2px 0 0;
|
||||
}
|
||||
|
||||
.emoji-mart-skin-swatches.custom.opened .emoji-mart-skin-swatch.custom.selected:after {
|
||||
opacity: .75;
|
||||
}
|
||||
|
||||
.emoji-mart-skin-text.opened {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
text-align: left;
|
||||
color: #888;
|
||||
font-size: 11px;
|
||||
padding: 5px 2px;
|
||||
width: 95px;
|
||||
height: 40px;
|
||||
border-radius: 10%;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.emoji-mart-skin {
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
padding-top: 100%;
|
||||
max-width: 12px;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
.emoji-mart-skin-tone-1 { background-color: #ffc93a }
|
||||
.emoji-mart-skin-tone-2 { background-color: #fadcbc }
|
||||
.emoji-mart-skin-tone-3 { background-color: #e0bb95 }
|
||||
.emoji-mart-skin-tone-4 { background-color: #bf8f68 }
|
||||
.emoji-mart-skin-tone-5 { background-color: #9b643d }
|
||||
.emoji-mart-skin-tone-6 { background-color: #594539 }
|
||||
|
||||
/* For screenreaders only, via https://stackoverflow.com/a/19758620 */
|
||||
.emoji-mart-sr-only {
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
padding: 0;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
clip: rect(0, 0, 0, 0);
|
||||
border: 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* Dark mode styles
|
||||
*/
|
||||
|
||||
.emoji-mart-dark {
|
||||
color: #fff;
|
||||
border-color: #555453;
|
||||
background-color: #222;
|
||||
}
|
||||
|
||||
.emoji-mart-dark .emoji-mart-bar {
|
||||
border-color: #555453;
|
||||
}
|
||||
|
||||
.emoji-mart-dark .emoji-mart-search input {
|
||||
color: #fff;
|
||||
border-color: #555453;
|
||||
background-color: #2f2f2f;
|
||||
}
|
||||
|
||||
.emoji-mart-dark .emoji-mart-search-icon svg {
|
||||
fill: #fff;
|
||||
}
|
||||
|
||||
.emoji-mart-category .emoji-mart-emoji {
|
||||
background-color: unset !important;
|
||||
}
|
||||
|
||||
.emoji-mart-anchor {
|
||||
background-color: unset !important;
|
||||
}
|
||||
|
||||
.emoji-mart-search-icon {
|
||||
background-color: unset !important;
|
||||
}
|
||||
|
||||
.emoji-mart-dark .emoji-mart-category .emoji-mart-emoji:hover:before,
|
||||
.emoji-mart-dark .emoji-mart-category .emoji-mart-emoji:focus:before {
|
||||
background-color: #888;
|
||||
}
|
||||
|
||||
.emoji-mart-dark .emoji-mart-category-label span {
|
||||
background-color: #222;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.emoji-mart-dark .emoji-mart-skin-swatches {
|
||||
border-color: #555453;
|
||||
background-color: #222;
|
||||
}
|
||||
|
||||
.emoji-mart-dark .emoji-mart-anchor:hover,
|
||||
.emoji-mart-dark .emoji-mart-anchor:focus,
|
||||
.emoji-mart-dark .emoji-mart-anchor-selected {
|
||||
color: #bfbfbf;
|
||||
}
|
||||
|
||||
#emoji-modal {
|
||||
padding: 0px;
|
||||
min-width: unset;
|
||||
width: unset !important;
|
||||
}
|
||||
|
||||
#emoji-modal > .modal-content {
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
||||
#emoji-modal > button {
|
||||
background-color: unset;
|
||||
border: 0px !important;
|
||||
box-shadow: 0px !important;
|
||||
}
|
||||
|
||||
#emoji-modal > .modal-close-button {
|
||||
visibility: hidden;
|
||||
}
|
14
plugins/obsidian-filename-heading-sync/data.json
Normal file
14
plugins/obsidian-filename-heading-sync/data.json
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"userIllegalSymbols": [
|
||||
"[]",
|
||||
"#",
|
||||
"..."
|
||||
],
|
||||
"ignoredFiles": {},
|
||||
"ignoreRegex": "\\b(_Templates|_Resources)\\b",
|
||||
"useFileOpenHook": false,
|
||||
"useFileSaveHook": true,
|
||||
"newHeadingStyle": "Prefix",
|
||||
"replaceStyle": false,
|
||||
"underlineString": "***"
|
||||
}
|
734
plugins/obsidian-filename-heading-sync/main.js
Normal file
734
plugins/obsidian-filename-heading-sync/main.js
Normal file
File diff suppressed because one or more lines are too long
10
plugins/obsidian-filename-heading-sync/manifest.json
Normal file
10
plugins/obsidian-filename-heading-sync/manifest.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"id": "obsidian-filename-heading-sync",
|
||||
"name": "Filename Heading Sync",
|
||||
"version": "1.9.0",
|
||||
"minAppVersion": "0.11.0",
|
||||
"description": "Obsidian plugin for keeping the filename with the first heading of a file in sync",
|
||||
"author": "dvcrn",
|
||||
"authorUrl": "https://github.com/dvcrn/obsidian-filename-heading-sync",
|
||||
"isDesktopOnly": false
|
||||
}
|
129
plugins/obsidian-frontmatter-tag-suggest/main.js
Normal file
129
plugins/obsidian-frontmatter-tag-suggest/main.js
Normal file
|
@ -0,0 +1,129 @@
|
|||
/*
|
||||
THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
|
||||
if you want to view the source, please visit the github repository of this plugin
|
||||
*/
|
||||
|
||||
var __create = Object.create;
|
||||
var __defProp = Object.defineProperty;
|
||||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
||||
var __getOwnPropNames = Object.getOwnPropertyNames;
|
||||
var __getProtoOf = Object.getPrototypeOf;
|
||||
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
||||
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
||||
var __export = (target, all) => {
|
||||
__markAsModule(target);
|
||||
for (var name in all)
|
||||
__defProp(target, name, { get: all[name], enumerable: true });
|
||||
};
|
||||
var __reExport = (target, module2, desc) => {
|
||||
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
||||
for (let key of __getOwnPropNames(module2))
|
||||
if (!__hasOwnProp.call(target, key) && key !== "default")
|
||||
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
|
||||
}
|
||||
return target;
|
||||
};
|
||||
var __toModule = (module2) => {
|
||||
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", module2 && module2.__esModule && "default" in module2 ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
|
||||
};
|
||||
var __async = (__this, __arguments, generator) => {
|
||||
return new Promise((resolve, reject) => {
|
||||
var fulfilled = (value) => {
|
||||
try {
|
||||
step(generator.next(value));
|
||||
} catch (e) {
|
||||
reject(e);
|
||||
}
|
||||
};
|
||||
var rejected = (value) => {
|
||||
try {
|
||||
step(generator.throw(value));
|
||||
} catch (e) {
|
||||
reject(e);
|
||||
}
|
||||
};
|
||||
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
||||
step((generator = generator.apply(__this, __arguments)).next());
|
||||
});
|
||||
};
|
||||
|
||||
// main.ts
|
||||
__export(exports, {
|
||||
default: () => FrontmatterTagSuggestPlugin
|
||||
});
|
||||
var import_obsidian = __toModule(require("obsidian"));
|
||||
var FrontmatterTagSuggestPlugin = class extends import_obsidian.Plugin {
|
||||
onload() {
|
||||
return __async(this, null, function* () {
|
||||
this.registerEditorSuggest(new TagSuggest(this));
|
||||
});
|
||||
}
|
||||
};
|
||||
var TagSuggest = class extends import_obsidian.EditorSuggest {
|
||||
constructor(plugin) {
|
||||
super(plugin.app);
|
||||
this.inline = false;
|
||||
this.plugin = plugin;
|
||||
}
|
||||
getTags() {
|
||||
const tags = this.plugin.app.metadataCache.getTags();
|
||||
return [...Object.keys(tags)].map((p) => p.split("#").pop());
|
||||
}
|
||||
inRange(range) {
|
||||
var _a;
|
||||
if (!range || !range.length)
|
||||
return false;
|
||||
if (((_a = range.match(/^---\n/gm)) == null ? void 0 : _a.length) != 1)
|
||||
return false;
|
||||
if (!/^tags?:/gm.test(range))
|
||||
return false;
|
||||
const split = range.split(/(^\w+:?\s*\n?)/gm);
|
||||
for (let i = split.length - 1; i >= 0; i--) {
|
||||
if (/(^\w+:?\s*\n?)/gm.test(split[i]))
|
||||
return split[i].startsWith("tags:");
|
||||
}
|
||||
return false;
|
||||
}
|
||||
onTrigger(cursor, editor, _) {
|
||||
var _a;
|
||||
const lineContents = editor.getLine(cursor.line).toLowerCase();
|
||||
const onFrontmatterTagLine = lineContents.startsWith("tags:") || lineContents.startsWith("tag:") || this.inRange(editor.getRange({ line: 0, ch: 0 }, cursor));
|
||||
if (onFrontmatterTagLine) {
|
||||
this.inline = lineContents.startsWith("tags:") || lineContents.startsWith("tag:");
|
||||
const sub = editor.getLine(cursor.line).substring(0, cursor.ch);
|
||||
const match = (_a = sub.match(/(\S+)$/)) == null ? void 0 : _a.first();
|
||||
if (match) {
|
||||
this.tags = this.getTags();
|
||||
const matchData = {
|
||||
end: cursor,
|
||||
start: {
|
||||
ch: sub.lastIndexOf(match),
|
||||
line: cursor.line
|
||||
},
|
||||
query: match
|
||||
};
|
||||
return matchData;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
getSuggestions(context) {
|
||||
const suggestions = this.tags.filter((p) => p.toLowerCase().contains(context.query.toLowerCase()));
|
||||
return suggestions;
|
||||
}
|
||||
renderSuggestion(suggestion, el) {
|
||||
const outer = el.createDiv({ cls: "ES-suggester-container" });
|
||||
outer.createDiv({ cls: "ES-tags" }).setText(`#${suggestion}`);
|
||||
}
|
||||
selectSuggestion(suggestion) {
|
||||
if (this.context) {
|
||||
if (this.inline) {
|
||||
suggestion = `${suggestion}`;
|
||||
} else {
|
||||
suggestion = `${suggestion}
|
||||
-`;
|
||||
}
|
||||
this.context.editor.replaceRange(`${suggestion} `, this.context.start, this.context.end);
|
||||
}
|
||||
}
|
||||
};
|
10
plugins/obsidian-frontmatter-tag-suggest/manifest.json
Normal file
10
plugins/obsidian-frontmatter-tag-suggest/manifest.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"id": "obsidian-frontmatter-tag-suggest",
|
||||
"name": "Frontmatter Tag Suggest",
|
||||
"version": "0.4.1",
|
||||
"minAppVersion": "0.12.0",
|
||||
"description": "Autocompletes tags in the frontmatter tags field",
|
||||
"author": "Jonathan Miller",
|
||||
"authorUrl": "https://jmill.dev",
|
||||
"isDesktopOnly": false
|
||||
}
|
55
plugins/obsidian-git/data.json
Normal file
55
plugins/obsidian-git/data.json
Normal file
|
@ -0,0 +1,55 @@
|
|||
{
|
||||
"commitMessage": "vault backup: {{date}} (Manual)",
|
||||
"commitDateFormat": "YYYY-MM-DD HH:mm:ss",
|
||||
"autoSaveInterval": 5,
|
||||
"autoPushInterval": 0,
|
||||
"autoPullInterval": 0,
|
||||
"autoPullOnBoot": true,
|
||||
"disablePush": false,
|
||||
"pullBeforePush": true,
|
||||
"disablePopups": false,
|
||||
"listChangedFilesInMessageBody": false,
|
||||
"showStatusBar": true,
|
||||
"updateSubmodules": false,
|
||||
"syncMethod": "merge",
|
||||
"customMessageOnAutoBackup": false,
|
||||
"autoBackupAfterFileChange": true,
|
||||
"treeStructure": false,
|
||||
"refreshSourceControl": true,
|
||||
"basePath": "",
|
||||
"differentIntervalCommitAndPush": false,
|
||||
"changedFilesInStatusBar": true,
|
||||
"showedMobileNotice": true,
|
||||
"refreshSourceControlTimer": 7000,
|
||||
"showBranchStatusBar": false,
|
||||
"setLastSaveToLastCommit": false,
|
||||
"submoduleRecurseCheckout": false,
|
||||
"gitDir": "",
|
||||
"showFileMenu": false,
|
||||
"lineAuthor": {
|
||||
"show": false,
|
||||
"followMovement": "inactive",
|
||||
"authorDisplay": "initials",
|
||||
"showCommitHash": false,
|
||||
"dateTimeFormatOptions": "date",
|
||||
"dateTimeFormatCustomString": "YYYY-MM-DD HH:mm",
|
||||
"dateTimeTimezone": "viewer-local",
|
||||
"coloringMaxAge": "1y",
|
||||
"colorNew": {
|
||||
"r": 255,
|
||||
"g": 150,
|
||||
"b": 150
|
||||
},
|
||||
"colorOld": {
|
||||
"r": 120,
|
||||
"g": 160,
|
||||
"b": 255
|
||||
},
|
||||
"textColorCss": "var(--text-muted)",
|
||||
"ignoreWhitespace": false,
|
||||
"gutterSpacingFallbackLength": 12,
|
||||
"lastShownAuthorDisplay": "initials",
|
||||
"lastShownDateTimeFormatOptions": "date"
|
||||
},
|
||||
"autoCommitMessage": "vault backup: {{date}} (Auto)"
|
||||
}
|
44242
plugins/obsidian-git/main.js
Normal file
44242
plugins/obsidian-git/main.js
Normal file
File diff suppressed because one or more lines are too long
9
plugins/obsidian-git/manifest.json
Normal file
9
plugins/obsidian-git/manifest.json
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"id": "obsidian-git",
|
||||
"name": "Obsidian Git",
|
||||
"description": "Backup your vault with Git.",
|
||||
"isDesktopOnly": false,
|
||||
"fundingUrl": "https://ko-fi.com/vinzent",
|
||||
"js": "main.js",
|
||||
"version": "2.22.0"
|
||||
}
|
512
plugins/obsidian-git/styles.css
Normal file
512
plugins/obsidian-git/styles.css
Normal file
|
@ -0,0 +1,512 @@
|
|||
@keyframes loading {
|
||||
0% {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type='git-view'] .button-border {
|
||||
border: 2px solid var(--interactive-accent);
|
||||
border-radius: var(--radius-s);
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type='git-view'] .view-content {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type='git-history-view'] .view-content {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.loading>svg {
|
||||
animation: 2s linear infinite loading;
|
||||
transform-origin: 50% 50%;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.obsidian-git-center {
|
||||
margin: auto;
|
||||
text-align: center;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
.obsidian-git-textarea {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.obsidian-git-center-button {
|
||||
display: block;
|
||||
margin: 20px auto;
|
||||
}
|
||||
|
||||
.tooltip.mod-left {
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
|
||||
.tooltip.mod-right {
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
.git-tools {
|
||||
display: flex;
|
||||
margin-left: auto;
|
||||
}
|
||||
.git-tools .type {
|
||||
padding-left: var(--size-2-1);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 11px;
|
||||
}
|
||||
|
||||
.git-tools .type[data-type="M"] {
|
||||
color: orange;
|
||||
}
|
||||
.git-tools .type[data-type="D"] {
|
||||
color: red;
|
||||
}
|
||||
.git-tools .buttons {
|
||||
display: flex;
|
||||
}
|
||||
.git-tools .buttons > * {
|
||||
padding: 0 0;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-d-none {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-wrapper {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-header {
|
||||
background-color: var(--background-primary);
|
||||
border-bottom: 1px solid var(--interactive-accent);
|
||||
font-family: var(--font-monospace);
|
||||
height: 35px;
|
||||
padding: 5px 10px;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-header,
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-stats {
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-stats {
|
||||
font-size: 14px;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-lines-added {
|
||||
border: 1px solid #b4e2b4;
|
||||
border-radius: 5px 0 0 5px;
|
||||
color: #399839;
|
||||
padding: 2px;
|
||||
text-align: right;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-lines-deleted {
|
||||
border: 1px solid #e9aeae;
|
||||
border-radius: 0 5px 5px 0;
|
||||
color: #c33;
|
||||
margin-left: 1px;
|
||||
padding: 2px;
|
||||
text-align: left;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-name-wrapper {
|
||||
-webkit-box-align: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
font-size: 15px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-name {
|
||||
overflow-x: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-wrapper {
|
||||
border: 1px solid var(--background-modifier-border);
|
||||
border-radius: 3px;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-collapse {
|
||||
-webkit-box-pack: end;
|
||||
-ms-flex-pack: end;
|
||||
-webkit-box-align: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
border: 1px solid var(--background-modifier-border);
|
||||
border-radius: 3px;
|
||||
cursor: pointer;
|
||||
display: none;
|
||||
font-size: 12px;
|
||||
justify-content: flex-end;
|
||||
padding: 4px 8px;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-collapse.d2h-selected {
|
||||
background-color: #c8e1ff;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-collapse-input {
|
||||
margin: 0 4px 0 0;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-diff-table {
|
||||
border-collapse: collapse;
|
||||
font-family: Menlo, Consolas, monospace;
|
||||
font-size: 13px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-files-diff {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-diff {
|
||||
overflow-y: hidden;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-side-diff {
|
||||
display: inline-block;
|
||||
margin-bottom: -8px;
|
||||
margin-right: -4px;
|
||||
overflow-x: scroll;
|
||||
overflow-y: hidden;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line {
|
||||
padding: 0 8em;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line,
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line {
|
||||
display: inline-block;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
white-space: nowrap;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line {
|
||||
padding: 0 4.5em;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line-ctn {
|
||||
word-wrap: normal;
|
||||
background: none;
|
||||
display: inline-block;
|
||||
padding: 0;
|
||||
-webkit-user-select: text;
|
||||
-moz-user-select: text;
|
||||
-ms-user-select: text;
|
||||
user-select: text;
|
||||
vertical-align: middle;
|
||||
white-space: pre;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.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 {
|
||||
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-side-line del {
|
||||
background-color: #8d232881;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line del,
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line ins,
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line del,
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line ins {
|
||||
border-radius: 0.2em;
|
||||
display: inline-block;
|
||||
margin-top: -1px;
|
||||
text-decoration: none;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.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 {
|
||||
background-color: #97f295;
|
||||
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-side-line ins {
|
||||
background-color: #1d921996;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line-prefix {
|
||||
word-wrap: normal;
|
||||
background: none;
|
||||
display: inline;
|
||||
padding: 0;
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .line-num1 {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .line-num1,
|
||||
.workspace-leaf-content[data-type="diff-view"] .line-num2 {
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
overflow: hidden;
|
||||
padding: 0 0.5em;
|
||||
text-overflow: ellipsis;
|
||||
width: 3.5em;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .line-num2 {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber {
|
||||
background-color: var(--background-primary);
|
||||
border: solid var(--background-modifier-border);
|
||||
border-width: 0 1px;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
color: var(--text-muted);
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
text-align: right;
|
||||
width: 7.5em;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber:after {
|
||||
content: "\200b";
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber {
|
||||
background-color: var(--background-primary);
|
||||
border: solid var(--background-modifier-border);
|
||||
border-width: 0 1px;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
color: var(--text-muted);
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
overflow: hidden;
|
||||
padding: 0 0.5em;
|
||||
position: absolute;
|
||||
text-align: right;
|
||||
text-overflow: ellipsis;
|
||||
width: 4em;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-diff-tbody tr {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber:after {
|
||||
content: "\200b";
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-emptyplaceholder,
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-emptyplaceholder {
|
||||
background-color: var(--background-primary);
|
||||
border-color: var(--background-modifier-border);
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-line-prefix,
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber,
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber,
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-emptyplaceholder {
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-linenumber,
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-code-side-linenumber {
|
||||
direction: rtl;
|
||||
}
|
||||
|
||||
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-del {
|
||||
background-color: #fee8e9;
|
||||
border-color: #e9aeae;
|
||||
}
|
||||
|
||||
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-ins {
|
||||
background-color: #dfd;
|
||||
border-color: #b4e2b4;
|
||||
}
|
||||
|
||||
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-del {
|
||||
background-color: #521b1d83;
|
||||
border-color: #691d1d73;
|
||||
}
|
||||
|
||||
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-ins {
|
||||
background-color: rgba(30, 71, 30, 0.5);
|
||||
border-color: #13501381;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-info {
|
||||
background-color: var(--background-primary);
|
||||
border-color: var(--background-modifier-border);
|
||||
color: var(--text-normal);
|
||||
}
|
||||
|
||||
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-file-diff .d2h-del.d2h-change {
|
||||
background-color: #fdf2d0;
|
||||
}
|
||||
|
||||
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-file-diff .d2h-del.d2h-change {
|
||||
background-color: #55492480;
|
||||
}
|
||||
|
||||
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-file-diff .d2h-ins.d2h-change {
|
||||
background-color: #ded;
|
||||
}
|
||||
|
||||
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-file-diff .d2h-ins.d2h-change {
|
||||
background-color: rgba(37, 78, 37, 0.418);
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-wrapper {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-wrapper a {
|
||||
color: #3572b0;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-wrapper a:visited {
|
||||
color: #3572b0;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-header {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-title {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-line {
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list {
|
||||
display: block;
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list>li {
|
||||
border-bottom: 1px solid var(--background-modifier-border);
|
||||
margin: 0;
|
||||
padding: 5px 10px;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list>li:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-file-switch {
|
||||
cursor: pointer;
|
||||
display: none;
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-icon {
|
||||
fill: currentColor;
|
||||
margin-right: 10px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-deleted {
|
||||
color: #c33;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-added {
|
||||
color: #399839;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-changed {
|
||||
color: #d0b44c;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-moved {
|
||||
color: #3572b0;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-tag {
|
||||
background-color: var(--background-primary);
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
font-size: 10px;
|
||||
margin-left: 5px;
|
||||
padding: 0 2px;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-deleted-tag {
|
||||
border: 2px solid #c33;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-added-tag {
|
||||
border: 1px solid #399839;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-changed-tag {
|
||||
border: 1px solid #d0b44c;
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="diff-view"] .d2h-moved-tag {
|
||||
border: 1px solid #3572b0;
|
||||
}
|
||||
|
||||
/* ====================== Line Authoring Information ====================== */
|
||||
|
||||
.cm-gutterElement.obs-git-blame-gutter {
|
||||
/* Add background color to spacing inbetween and around the gutter for better aesthetics */
|
||||
border-width: 0px 2px 0.2px 2px;
|
||||
border-style: solid;
|
||||
border-color: var(--background-secondary);
|
||||
background-color: var(--background-secondary);
|
||||
}
|
||||
|
||||
.cm-gutterElement.obs-git-blame-gutter > div, .line-author-settings-preview {
|
||||
/* delegate text color to settings */
|
||||
color: var(--obs-git-gutter-text);
|
||||
font-family: monospace;
|
||||
height: 100%; /* ensure, that age-based background color occupies entire parent */
|
||||
text-align: right;
|
||||
padding: 0px 6px 0px 6px;
|
||||
white-space: pre; /* Keep spaces and do not collapse them. */
|
||||
}
|
22
plugins/obsidian-icon-folder/data.json
Normal file
22
plugins/obsidian-icon-folder/data.json
Normal file
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"settings": {
|
||||
"migrated": 3,
|
||||
"iconPacksPath": ".obsidian/plugins/obsidian-icon-folder/icons",
|
||||
"fontSize": 16,
|
||||
"emojiStyle": "none",
|
||||
"iconColor": null,
|
||||
"recentlyUsedIcons": [],
|
||||
"recentlyUsedIconsSize": 5,
|
||||
"rules": [],
|
||||
"extraMargin": {
|
||||
"top": 0,
|
||||
"right": 4,
|
||||
"bottom": 0,
|
||||
"left": 0
|
||||
},
|
||||
"iconInTabsEnabled": false,
|
||||
"iconsBackgroundCheckEnabled": false,
|
||||
"iconInTitleEnabled": false,
|
||||
"iconInFrontmatterEnabled": false
|
||||
}
|
||||
}
|
5823
plugins/obsidian-icon-folder/main.js
Normal file
5823
plugins/obsidian-icon-folder/main.js
Normal file
File diff suppressed because one or more lines are too long
10
plugins/obsidian-icon-folder/manifest.json
Normal file
10
plugins/obsidian-icon-folder/manifest.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"id": "obsidian-icon-folder",
|
||||
"name": "Iconize",
|
||||
"version": "2.7.3",
|
||||
"minAppVersion": "0.9.12",
|
||||
"description": "Add icons to anything you desire in Obsidian, including files, folders, and text.",
|
||||
"author": "Florian Woelki",
|
||||
"authorUrl": "https://florianwoelki.com/",
|
||||
"isDesktopOnly": false
|
||||
}
|
118
plugins/obsidian-icon-folder/styles.css
Normal file
118
plugins/obsidian-icon-folder/styles.css
Normal file
|
@ -0,0 +1,118 @@
|
|||
.iconize-title-icon {
|
||||
max-width: var(--max-width);
|
||||
width: var(--line-width);
|
||||
margin-inline: var(--content-margin) !important;
|
||||
}
|
||||
|
||||
.iconize-icon {
|
||||
border: 1px solid transparent;
|
||||
margin: 0px 4px 0px 0px;
|
||||
display: flex;
|
||||
align-self: center;
|
||||
margin: auto 0;
|
||||
}
|
||||
|
||||
.nav-folder-title,
|
||||
.nav-file-title {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.iconize-setting .setting-item-control .dropdown {
|
||||
margin-right: 12px;
|
||||
}
|
||||
|
||||
.iconize-setting input[type='color'] {
|
||||
margin: 0 6px;
|
||||
}
|
||||
|
||||
.iconize-modal.prompt-results {
|
||||
margin: 0;
|
||||
overflow-y: auto;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(5, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.prompt .iconize-subheadline {
|
||||
margin-top: 12px;
|
||||
font-size: 12px;
|
||||
color: gray;
|
||||
grid-column-start: 1;
|
||||
grid-column-end: 6;
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.iconize-modal.prompt-results {
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
}
|
||||
.prompt .iconize-subheadline {
|
||||
grid-column-end: 4;
|
||||
}
|
||||
}
|
||||
|
||||
.iconize-modal.prompt-results .suggestion-item {
|
||||
cursor: pointer;
|
||||
white-space: pre-wrap;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
align-items: center;
|
||||
flex-direction: column-reverse;
|
||||
text-align: center;
|
||||
font-size: 13px;
|
||||
color: var(--text-muted);
|
||||
padding: 16px 8px;
|
||||
line-break: auto;
|
||||
word-break: break-word;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.iconize-modal.prompt-results
|
||||
.suggestion-item.suggestion-item__center {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.iconize-icon-preview {
|
||||
font-size: 22px;
|
||||
}
|
||||
|
||||
.iconize-icon-preview img {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
.iconize-icon-preview svg {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
color: currentColor;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.iconize-dragover {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.iconize-dragover-el {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
color: var(--text-normal);
|
||||
background-color: var(--background-secondary-alt);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
/* Custom rule modal. */
|
||||
.iconize-custom-rule-modal .modal-title h3 {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.iconize-custom-rule-modal .modal-content {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.iconize-custom-rule-modal .modal-content input {
|
||||
width: 100%;
|
||||
margin-right: 0.5rem;
|
||||
}
|
6833
plugins/obsidian-journey-plugin/main.js
Normal file
6833
plugins/obsidian-journey-plugin/main.js
Normal file
File diff suppressed because one or more lines are too long
10
plugins/obsidian-journey-plugin/manifest.json
Normal file
10
plugins/obsidian-journey-plugin/manifest.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"id": "obsidian-journey-plugin",
|
||||
"name": "Journey",
|
||||
"version": "0.0.7",
|
||||
"minAppVersion": "0.10.10",
|
||||
"description": "Discover the stories between your notes.",
|
||||
"author": "Alexis Rondeau",
|
||||
"authorUrl": "https://publish.obsidian.md/alexisrondeau",
|
||||
"isDesktopOnly": false
|
||||
}
|
106
plugins/obsidian-journey-plugin/styles.css
Normal file
106
plugins/obsidian-journey-plugin/styles.css
Normal file
|
@ -0,0 +1,106 @@
|
|||
.journey-search-form select, .journey-search-form input[type=text], .journey-input-button {
|
||||
width: 100%;
|
||||
height: 50px !important;
|
||||
font-size: 24px;
|
||||
padding: 5px;
|
||||
padding-left: 10px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.show-me {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.hide-me {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.journey-search-form .journey-search-autocomplete-results-container {
|
||||
position: relative;
|
||||
height: 0px;
|
||||
top: -20px;
|
||||
width: 730px;
|
||||
min-width: 730px;
|
||||
max-width: 730px;
|
||||
}
|
||||
|
||||
.journey-search-autocomplete-results-container .journey-search-autocomplete-results-content {
|
||||
background-color: #222;
|
||||
}
|
||||
|
||||
.journey-search-autocomplete-results-content-item {
|
||||
font-size: 24px;
|
||||
color: white;
|
||||
border-bottom: 1px solid #000000;
|
||||
padding: 10px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.journey-input-button {
|
||||
background-color: black;
|
||||
color: white;
|
||||
}
|
||||
|
||||
/** Search Results */
|
||||
|
||||
.journey-result-list .journey-result-list-item-note,
|
||||
.journey-result-list .journey-result-list-item-start,
|
||||
.journey-result-list .journey-result-list-item-end,
|
||||
.journey-result-list .journey-result-list-item-tag {
|
||||
font-size: 24px;
|
||||
padding: 10px;
|
||||
margin-bottom: 10px;
|
||||
background-color: #555;
|
||||
border: 5px solid #777;
|
||||
border-radius: 10px 10px 10px 10px;
|
||||
}
|
||||
|
||||
.journey-result-list .journey-result-list-item-start {
|
||||
background-color: darkgreen;
|
||||
border: 3px solid forestgreen;
|
||||
}
|
||||
|
||||
.journey-result-list .journey-result-list-item-end {
|
||||
background-color: darkgreen;
|
||||
border: 3px solid forestgreen;
|
||||
}
|
||||
|
||||
.journey-result-list .journey-result-list-item-tag {
|
||||
background-color: darkblue;
|
||||
border: 3px solid royalblue;
|
||||
}
|
||||
|
||||
.journey-result-list-high-contrast .journey-result-list-item-note,
|
||||
.journey-result-list-high-contrast .journey-result-list-item-start,
|
||||
.journey-result-list-high-contrast .journey-result-list-item-end,
|
||||
.journey-result-list-high-contrast .journey-result-list-item-tag {
|
||||
font-size: 24px;
|
||||
padding: 10px;
|
||||
margin-bottom: 10px;
|
||||
background-color: #000;
|
||||
color: white;
|
||||
border: 5px solid #333;
|
||||
border-radius: 10px 10px 10px 10px;
|
||||
}
|
||||
|
||||
|
||||
.journey-result-list-reset-link {
|
||||
text-align: center;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.discovery-settings {
|
||||
font-size: 9px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.journey-search-lucky {
|
||||
text-align: center;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.moc-max-links-counter {
|
||||
text-align: right;
|
||||
}
|
9
plugins/obsidian-plugin-update-tracker/data.json
Normal file
9
plugins/obsidian-plugin-update-tracker/data.json
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"daysToSuppressNewUpdates": 0,
|
||||
"dismissedVersionsByPluginId": {},
|
||||
"showIconOnMobile": true,
|
||||
"excludeBetaVersions": true,
|
||||
"excludeDisabledPlugins": true,
|
||||
"minUpdateCountToShowIcon": 0,
|
||||
"hoursBetweenCheckingForUpdates": 0.5
|
||||
}
|
1184
plugins/obsidian-plugin-update-tracker/main.js
Normal file
1184
plugins/obsidian-plugin-update-tracker/main.js
Normal file
File diff suppressed because one or more lines are too long
10
plugins/obsidian-plugin-update-tracker/manifest.json
Normal file
10
plugins/obsidian-plugin-update-tracker/manifest.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"id": "obsidian-plugin-update-tracker",
|
||||
"name": "Plugin Update Tracker",
|
||||
"version": "1.5.2",
|
||||
"minAppVersion": "0.15.0",
|
||||
"description": "Know when installed plugins have updates and evaluate the risk of upgrading",
|
||||
"author": "Obsidian",
|
||||
"authorUrl": "https://github.com/swar8080/obsidian-plugin-update-tracker",
|
||||
"isDesktopOnly": false
|
||||
}
|
176
plugins/obsidian-relative-line-numbers/main.js
Normal file
176
plugins/obsidian-relative-line-numbers/main.js
Normal file
|
@ -0,0 +1,176 @@
|
|||
/*
|
||||
THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
|
||||
if you want to view the source, please visit the github repository of this plugin
|
||||
*/
|
||||
|
||||
var __create = Object.create;
|
||||
var __defProp = Object.defineProperty;
|
||||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
||||
var __getOwnPropNames = Object.getOwnPropertyNames;
|
||||
var __getProtoOf = Object.getPrototypeOf;
|
||||
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
||||
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
||||
var __export = (target, all) => {
|
||||
__markAsModule(target);
|
||||
for (var name in all)
|
||||
__defProp(target, name, { get: all[name], enumerable: true });
|
||||
};
|
||||
var __reExport = (target, module2, desc) => {
|
||||
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
||||
for (let key of __getOwnPropNames(module2))
|
||||
if (!__hasOwnProp.call(target, key) && key !== "default")
|
||||
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
|
||||
}
|
||||
return target;
|
||||
};
|
||||
var __toModule = (module2) => {
|
||||
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", module2 && module2.__esModule && "default" in module2 ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
|
||||
};
|
||||
var __async = (__this, __arguments, generator) => {
|
||||
return new Promise((resolve, reject) => {
|
||||
var fulfilled = (value) => {
|
||||
try {
|
||||
step(generator.next(value));
|
||||
} catch (e) {
|
||||
reject(e);
|
||||
}
|
||||
};
|
||||
var rejected = (value) => {
|
||||
try {
|
||||
step(generator.throw(value));
|
||||
} catch (e) {
|
||||
reject(e);
|
||||
}
|
||||
};
|
||||
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
||||
step((generator = generator.apply(__this, __arguments)).next());
|
||||
});
|
||||
};
|
||||
|
||||
// main.ts
|
||||
__export(exports, {
|
||||
default: () => RelativeLineNumbers
|
||||
});
|
||||
var import_obsidian = __toModule(require("obsidian"));
|
||||
|
||||
// node_modules/codemirror-line-numbers-relative/dist/index.js
|
||||
var import_view = __toModule(require("@codemirror/view"));
|
||||
var import_state = __toModule(require("@codemirror/state"));
|
||||
var import_gutter = __toModule(require("@codemirror/gutter"));
|
||||
var relativeLineNumberGutter = /* @__PURE__ */ new import_state.Compartment();
|
||||
var Marker = class extends import_gutter.GutterMarker {
|
||||
constructor(text) {
|
||||
super();
|
||||
this.text = text;
|
||||
}
|
||||
toDOM() {
|
||||
return document.createTextNode(this.text);
|
||||
}
|
||||
};
|
||||
var absoluteLineNumberGutter = /* @__PURE__ */ (0, import_gutter.gutter)({
|
||||
lineMarker: (view, line) => {
|
||||
const lineNo = view.state.doc.lineAt(line.from).number;
|
||||
const absoluteLineNo = new Marker(lineNo.toString());
|
||||
const cursorLine = view.state.doc.lineAt(view.state.selection.asSingle().ranges[0].to).number;
|
||||
if (lineNo === cursorLine) {
|
||||
return absoluteLineNo;
|
||||
}
|
||||
return null;
|
||||
},
|
||||
initialSpacer: () => {
|
||||
const spacer = new Marker("0");
|
||||
return spacer;
|
||||
}
|
||||
});
|
||||
function relativeLineNumbers(lineNo, state) {
|
||||
if (lineNo > state.doc.lines) {
|
||||
return " ";
|
||||
}
|
||||
const cursorLine = state.doc.lineAt(state.selection.asSingle().ranges[0].to).number;
|
||||
if (lineNo === cursorLine) {
|
||||
return " ";
|
||||
} else {
|
||||
return Math.abs(cursorLine - lineNo).toString();
|
||||
}
|
||||
}
|
||||
var showLineNumbers = /* @__PURE__ */ relativeLineNumberGutter.of(/* @__PURE__ */ (0, import_gutter.lineNumbers)({ formatNumber: relativeLineNumbers }));
|
||||
var lineNumbersUpdateListener = /* @__PURE__ */ import_view.EditorView.updateListener.of((viewUpdate) => {
|
||||
if (viewUpdate.selectionSet) {
|
||||
viewUpdate.view.dispatch({
|
||||
effects: relativeLineNumberGutter.reconfigure((0, import_gutter.lineNumbers)({ formatNumber: relativeLineNumbers }))
|
||||
});
|
||||
}
|
||||
});
|
||||
function lineNumbersRelative() {
|
||||
return [absoluteLineNumberGutter, showLineNumbers, lineNumbersUpdateListener];
|
||||
}
|
||||
|
||||
// main.ts
|
||||
var RelativeLineNumbers = class extends import_obsidian.Plugin {
|
||||
isLegacy() {
|
||||
var _a;
|
||||
return (_a = this.app.vault.config) == null ? void 0 : _a.legacyEditor;
|
||||
}
|
||||
onload() {
|
||||
return __async(this, null, function* () {
|
||||
const showLineNumber = this.app.vault.getConfig("showLineNumber");
|
||||
if (showLineNumber) {
|
||||
this.enable();
|
||||
}
|
||||
this.setupConfigChangeListener();
|
||||
});
|
||||
}
|
||||
onunload() {
|
||||
this.disable();
|
||||
}
|
||||
enable() {
|
||||
this.enabled = true;
|
||||
if (this.isLegacy()) {
|
||||
this.legacyEnable();
|
||||
} else {
|
||||
this.registerEditorExtension(lineNumbersRelative());
|
||||
}
|
||||
}
|
||||
disable() {
|
||||
this.enabled = false;
|
||||
if (this.isLegacy) {
|
||||
this.legacyDisable();
|
||||
}
|
||||
}
|
||||
legacyEnable() {
|
||||
this.registerCodeMirror((cm) => {
|
||||
cm.on("cursorActivity", this.legacyRelativeLineNumbers);
|
||||
});
|
||||
}
|
||||
legacyDisable() {
|
||||
this.app.workspace.iterateCodeMirrors((cm) => {
|
||||
cm.off("cursorActivity", this.legacyRelativeLineNumbers);
|
||||
cm.setOption("lineNumberFormatter", CodeMirror.defaults["lineNumberFormatter"]);
|
||||
});
|
||||
}
|
||||
setupConfigChangeListener() {
|
||||
const configChangedEvent = this.app.vault.on("config-changed", () => {
|
||||
const showLineNumber = this.app.vault.getConfig("showLineNumber");
|
||||
if (showLineNumber && !this.enabled) {
|
||||
this.enable();
|
||||
} else if (!showLineNumber && this.enabled) {
|
||||
this.disable();
|
||||
}
|
||||
});
|
||||
configChangedEvent.ctx = this;
|
||||
this.registerEvent(configChangedEvent);
|
||||
}
|
||||
legacyRelativeLineNumbers(cm) {
|
||||
const current = cm.getCursor().line + 1;
|
||||
if (cm.state.curLineNum === current) {
|
||||
return;
|
||||
}
|
||||
cm.state.curLineNum = current;
|
||||
cm.setOption("lineNumberFormatter", (line) => {
|
||||
if (line === current) {
|
||||
return String(current);
|
||||
}
|
||||
return String(Math.abs(current - line));
|
||||
});
|
||||
}
|
||||
};
|
10
plugins/obsidian-relative-line-numbers/manifest.json
Normal file
10
plugins/obsidian-relative-line-numbers/manifest.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"id": "obsidian-relative-line-numbers",
|
||||
"name": "Relative Line Numbers",
|
||||
"version": "2.0.1",
|
||||
"minAppVersion": "0.13.14",
|
||||
"description": "Enables relative line numbers in editor mode",
|
||||
"author": "Nadav Spiegelman",
|
||||
"authorUrl": "https://nadav.is",
|
||||
"isDesktopOnly": true
|
||||
}
|
21428
plugins/obsidian-spaced-repetition/main.js
Normal file
21428
plugins/obsidian-spaced-repetition/main.js
Normal file
File diff suppressed because one or more lines are too long
11
plugins/obsidian-spaced-repetition/manifest.json
Normal file
11
plugins/obsidian-spaced-repetition/manifest.json
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"id": "obsidian-spaced-repetition",
|
||||
"name": "Spaced Repetition",
|
||||
"version": "1.10.5",
|
||||
"minAppVersion": "0.15.4",
|
||||
"description": "Fight the forgetting curve by reviewing flashcards & entire notes.",
|
||||
"author": "Stephen Mwangi",
|
||||
"authorUrl": "https://github.com/st3v3nmw",
|
||||
"isDesktopOnly": false,
|
||||
"fundingUrl": "https://ko-fi.com/M4M44DEN6"
|
||||
}
|
157
plugins/obsidian-spaced-repetition/styles.css
Normal file
157
plugins/obsidian-spaced-repetition/styles.css
Normal file
|
@ -0,0 +1,157 @@
|
|||
.sr-flashcard-menu {
|
||||
display: block;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
.sr-flashcard-menu-item {
|
||||
box-shadow: none !important;
|
||||
margin-right: 1rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.sr-flashcard-menu-item:disabled {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.sr-flashcard-input-modal {
|
||||
height: 80%;
|
||||
}
|
||||
|
||||
.sr-flashcard-input-area {
|
||||
height: 80%;
|
||||
}
|
||||
|
||||
.sr-flashcard-input-area > textarea {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.sr-flashcard-edit-button-bar {
|
||||
display: flex;
|
||||
flex-direction: row-reverse;
|
||||
justify-content: space-between;
|
||||
width: 100%;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.sr-flashcard-response {
|
||||
display: inline-grid;
|
||||
width: 100%;
|
||||
grid-template-columns: auto auto auto auto;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
.sr-ignorestats-btn {
|
||||
/* Bit of a hack, but it works. */
|
||||
margin: 0px !important;
|
||||
margin-right: 12px !important;
|
||||
}
|
||||
|
||||
.sr-ignorestats-response {
|
||||
grid-template-columns: auto auto !important;
|
||||
}
|
||||
|
||||
.sr-centered {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.sr-deck-counts {
|
||||
color: #ffffff;
|
||||
margin-left: 4px;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
#sr-show-answer {
|
||||
height: 48px;
|
||||
line-height: 48px;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
cursor: pointer;
|
||||
background-color: #2196f3;
|
||||
color: #ffffff;
|
||||
border-radius: 4px;
|
||||
user-select: text;
|
||||
}
|
||||
|
||||
#sr-hr-card-divide {
|
||||
backdrop-filter: invert(40%);
|
||||
border: none;
|
||||
height: 2px;
|
||||
}
|
||||
|
||||
#sr-hard-btn,
|
||||
#sr-good-btn,
|
||||
#sr-easy-btn {
|
||||
height: 48px;
|
||||
margin: auto;
|
||||
color: #ffffff;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#sr-hard-btn {
|
||||
background-color: #f44336;
|
||||
}
|
||||
|
||||
#sr-good-btn {
|
||||
background-color: #2196f3;
|
||||
}
|
||||
|
||||
#sr-easy-btn {
|
||||
background-color: #4caf50;
|
||||
}
|
||||
|
||||
#sr-context {
|
||||
font-style: italic;
|
||||
font-weight: bold;
|
||||
margin-top: 16px;
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#sr-flashcard-view {
|
||||
font-size: var(--font-text-size);
|
||||
overflow-y: auto;
|
||||
height: 80%;
|
||||
user-select: text;
|
||||
}
|
||||
|
||||
#sr-chart-period {
|
||||
appearance: menulist;
|
||||
border-right: 8px solid transparent;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 600px) {
|
||||
.sr-back-btn {
|
||||
width: initial !important;
|
||||
}
|
||||
|
||||
.sr-modal-content {
|
||||
width: 98% !important;
|
||||
}
|
||||
|
||||
.sr-modal-content::-webkit-scrollbar,
|
||||
#sr-flashcard-view::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.sr-flashcard-response,
|
||||
#sr-show-answer {
|
||||
width: 93.5% !important;
|
||||
line-height: 60px;
|
||||
}
|
||||
|
||||
#sr-hard-btn,
|
||||
#sr-good-btn,
|
||||
#sr-easy-btn {
|
||||
width: 100px;
|
||||
}
|
||||
}
|
69
plugins/obsidian-style-settings/data.json
Normal file
69
plugins/obsidian-style-settings/data.json
Normal file
|
@ -0,0 +1,69 @@
|
|||
{
|
||||
"catppuccin-theme-settings@@catppuccin-theme-dark": "ctp-macchiato",
|
||||
"catppuccin-interface-styles@@ctp-bold-folder-title": true,
|
||||
"catppuccin-theme-settings@@catppuccin-theme-accents": "ctp-full-palette",
|
||||
"checkbox@@check-bg": true,
|
||||
"checkbox@@checkbox-strike-brn": false,
|
||||
"checkbox@@check-color": true,
|
||||
"checkbox@@check-strike": false,
|
||||
"checkbox@@check-text": true,
|
||||
"catppuccin-icon-styles@@ctp-icon-hide": false,
|
||||
"checkbox@@checkbox-strike-regular": false,
|
||||
"checkbox@@checkbox-strike-checked": false,
|
||||
"anuppuccin-theme-settings@@anuppuccin-theme-dark": "ctp-macchiato",
|
||||
"anuppuccin-theme-settings@@anuppuccin-theme-accents": "ctp-accent-mauve",
|
||||
"anuppuccin-theme-settings-extended@@anp-theme-ext-amoled": false,
|
||||
"anuppuccin-theme-settings-extended@@catppuccin-theme-dark-extended": "ctp-everforest-dark",
|
||||
"anuppuccin-theme-settings@@anp-color-transition-toggle": true,
|
||||
"anuppuccin-theme-settings@@anp-button-metadata-toggle": true,
|
||||
"anuppuccin-theme-settings@@anp-autohide-titlebar": false,
|
||||
"anuppuccin-theme-settings@@anp-codeblock-numbers": true,
|
||||
"anuppuccin-theme-settings@@anp-toggle-preview": false,
|
||||
"anuppuccin-theme-settings@@anp-toggle-scrollbars": false,
|
||||
"anuppuccin-theme-settings@@anp-hide-status-bar": false,
|
||||
"anuppuccin-theme-settings@@anp-tooltip-toggle": false,
|
||||
"anuppuccin-theme-settings@@anuppuccin-accent-toggle": true,
|
||||
"anuppuccin-theme-settings@@anp-custom-checkboxes": true,
|
||||
"anuppuccin-theme-settings@@anp-speech-bubble": true,
|
||||
"anuppuccin-theme-settings@@anp-callout-select": "anp-callout-block",
|
||||
"anuppuccin-theme-settings@@anp-callout-color-toggle": true,
|
||||
"anuppuccin-theme-settings@@anp-active-line": "anp-current-line",
|
||||
"anuppuccin-theme-settings@@anp-list-toggle": true,
|
||||
"anuppuccin-theme-settings@@anp-table-toggle": true,
|
||||
"anuppuccin-theme-settings@@anp-canvas-dark-bg": true,
|
||||
"anuppuccin-theme-settings@@anp-background-image-toggle": false,
|
||||
"anuppuccin-theme-settings@@anp-colorful-frame": false,
|
||||
"anuppuccin-theme-settings@@anp-colorful-frame-icon-toggle-dark": false,
|
||||
"anuppuccin-theme-settings@@anp-colorful-frame-icon-toggle-light": false,
|
||||
"anuppuccin-theme-settings@@anp-collapse-folders": true,
|
||||
"anuppuccin-theme-settings@@anp-file-icons": false,
|
||||
"anuppuccin-theme-settings@@anp-floating-header": false,
|
||||
"anuppuccin-theme-settings@@anp-custom-vault-toggle": false,
|
||||
"anuppuccin-theme-settings@@anp-file-label-align": "0",
|
||||
"anuppuccin-theme-settings@@anp-alt-rainbow-style": "anp-default-rainbow",
|
||||
"anp-custom-rainbow-colors@@rainbow-color-9-default": "rainbow-color-9-yellow",
|
||||
"anp-custom-rainbow-colors@@rainbow-color-10-default": "rainbow-color-10-green",
|
||||
"anuppuccin-theme-settings@@anp-rainbow-file-toggle": false,
|
||||
"anuppuccin-theme-settings@@anp-header-color-toggle": true,
|
||||
"anuppuccin-theme-settings@@anp-codeblock-wrap-edit": "none",
|
||||
"anuppuccin-theme-settings@@anp-h1-divider": true,
|
||||
"anuppuccin-theme-settings@@anp-header-divider-color-toggle": true,
|
||||
"anuppuccin-theme-settings@@anp-status-bar-select": "anp-fixed-status-bar",
|
||||
"anuppuccin-theme-settings@@anp-alt-tab-style": "anp-mini-tab-toggle",
|
||||
"anuppuccin-theme-settings@@anp-disable-newtab-align": false,
|
||||
"anuppuccin-theme-settings@@anp-depth-tab-text-invert": false,
|
||||
"anuppuccin-theme-settings@@anp-safari-tab-animated": false,
|
||||
"anuppuccin-theme-settings@@anp-layout-select": "none",
|
||||
"anuppuccin-theme-settings@@anp-bg-fix": true,
|
||||
"anuppuccin-theme-settings@@anp-hide-borders": false,
|
||||
"anuppuccin-theme-settings@@anp-card-layout-filebrowser": false,
|
||||
"anuppuccin-theme-settings@@anp-card-layout-actions": false,
|
||||
"anuppuccin-theme-settings@@anp-card-shadows": false,
|
||||
"anuppuccin-theme-settings@@anp-header-margin-toggle": false,
|
||||
"anp-custom-rainbow-colors@@rainbow-color-repeat": "rainbow-repeat-1",
|
||||
"anuppuccin-theme-settings@@anp-decoration-toggle": true,
|
||||
"anuppuccin-theme-settings@@anp-bold-custom": "anp-bold-blue",
|
||||
"anuppuccin-theme-settings@@anp-colorful-frame-opacity": 1,
|
||||
"anuppuccin-theme-settings@@anp-h2-divider": true,
|
||||
"anuppuccin-theme-settings@@h1-line-height": 1.5
|
||||
}
|
9850
plugins/obsidian-style-settings/main.js
Normal file
9850
plugins/obsidian-style-settings/main.js
Normal file
File diff suppressed because one or more lines are too long
1
plugins/obsidian-style-settings/manifest.json
Normal file
1
plugins/obsidian-style-settings/manifest.json
Normal file
|
@ -0,0 +1 @@
|
|||
{"id":"obsidian-style-settings","name":"Style Settings","version":"1.0.7","minAppVersion":"0.11.5","description":"Offers controls for adjusting theme, plugin, and snippet CSS variables.","author":"mgmeyers","authorUrl":"https://github.com/mgmeyers/obsidian-style-settings","isDesktopOnly":false}
|
243
plugins/obsidian-style-settings/styles.css
Normal file
243
plugins/obsidian-style-settings/styles.css
Normal file
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue