first commit

This commit is contained in:
Boris
2024-01-15 20:14:10 +00:00
commit 8c81ee28b7
3106 changed files with 474415 additions and 0 deletions

14
.obsidian/app.json vendored Normal file
View File

@@ -0,0 +1,14 @@
{
"showInlineTitle": true,
"useMarkdownLinks": true,
"promptDelete": false,
"showLineNumber": true,
"attachmentFolderPath": "images",
"pdfExportSettings": {
"pageSize": "A4",
"landscape": false,
"margin": "2",
"downscalePercent": 100
},
"readableLineLength": false
}

7
.obsidian/appearance.json vendored Normal file
View File

@@ -0,0 +1,7 @@
{
"accentColor": "",
"theme": "obsidian",
"cssTheme": "Dracula Official",
"nativeMenus": true,
"baseFontSize": 30
}

18
.obsidian/bookmarks.json vendored Normal file
View File

@@ -0,0 +1,18 @@
{
"items": [
{
"type": "file",
"ctime": 1695299728113,
"path": "Semester 1/Web Development and HCI/Week 1/Week 1 Web Development.md",
"subpath": "#^401105",
"title": "WebDev Assessment Deadline"
},
{
"type": "file",
"ctime": 1695715480041,
"path": "Semester 1/Professional Development & Practices/Week 1/Week 1 Professional Development.md",
"subpath": "#^af5cab",
"title": "PDP Weighting"
}
]
}

11
.obsidian/community-plugins.json vendored Normal file
View File

@@ -0,0 +1,11 @@
[
"obsidian-git",
"dataview",
"obsidian-day-planner",
"obsidian-excel-to-markdown-table",
"obsidian-linter",
"omnisearch",
"cm-typewriter-scroll-obsidian",
"local-backup",
"obsidian-diagrams-net"
]

30
.obsidian/core-plugins-migration.json vendored Normal file
View File

@@ -0,0 +1,30 @@
{
"file-explorer": true,
"global-search": true,
"switcher": true,
"graph": true,
"backlink": true,
"canvas": true,
"outgoing-link": true,
"tag-pane": true,
"properties": true,
"page-preview": true,
"daily-notes": true,
"templates": true,
"note-composer": true,
"command-palette": true,
"slash-command": false,
"editor-status": true,
"bookmarks": true,
"markdown-importer": false,
"zk-prefixer": false,
"random-note": false,
"outline": true,
"word-count": true,
"slides": false,
"audio-recorder": false,
"workspaces": false,
"file-recovery": true,
"publish": false,
"sync": false
}

21
.obsidian/core-plugins.json vendored Normal file
View File

@@ -0,0 +1,21 @@
[
"file-explorer",
"global-search",
"switcher",
"graph",
"backlink",
"canvas",
"outgoing-link",
"tag-pane",
"properties",
"page-preview",
"daily-notes",
"templates",
"note-composer",
"command-palette",
"editor-status",
"bookmarks",
"outline",
"word-count",
"file-recovery"
]

22
.obsidian/graph.json vendored Normal file
View File

@@ -0,0 +1,22 @@
{
"collapse-filter": false,
"search": "",
"showTags": false,
"showAttachments": false,
"hideUnresolved": false,
"showOrphans": true,
"collapse-color-groups": false,
"colorGroups": [],
"collapse-display": true,
"showArrow": false,
"textFadeMultiplier": 0,
"nodeSizeMultiplier": 1,
"lineSizeMultiplier": 1,
"collapse-forces": true,
"centerStrength": 0.518713248970312,
"repelStrength": 10,
"linkStrength": 1,
"linkDistance": 250,
"scale": 1,
"close": true
}

20
.obsidian/hotkeys.json vendored Normal file
View File

@@ -0,0 +1,20 @@
{
"file-explorer:open": [
{
"modifiers": [
"Mod",
"Shift"
],
"key": "E"
}
],
"obsidian-diagrams-net:app:diagrams-net-new-diagram": [
{
"modifiers": [
"Mod",
"Shift"
],
"key": "D"
}
]
}

View File

@@ -0,0 +1,6 @@
{
"enabled": false,
"typewriterOffset": 0,
"zenEnabled": true,
"zenOpacity": 0.75
}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,10 @@
{
"id": "cm-typewriter-scroll-obsidian",
"name": "Typewriter Scroll",
"author": "death_au",
"authorUrl": "https://github.com/deathau",
"description": "Typewriter-style scrolling which keeps the view centered in the editor.",
"isDesktopOnly": false,
"version": "0.2.2",
"minAppVersion": "0.10.0"
}

View File

@@ -0,0 +1,6 @@
body.plugin-cm-typewriter-scroll-zen .CodeMirror-lines:not(.selecting) .CodeMirror-code > :not(.CodeMirror-activeline) {
opacity: var(--zen-opacity);
}
body.plugin-cm-typewriter-scroll-zen .cm-editor.cm-focused .cm-line:not(.cm-active) {
opacity: var(--zen-opacity);
}

20105
.obsidian/plugins/dataview/main.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,10 @@
{
"id": "dataview",
"name": "Dataview",
"version": "0.5.59",
"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
.obsidian/plugins/dataview/styles.css vendored Normal file
View 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: ")";
}

View File

@@ -0,0 +1,10 @@
{
"welcomeComplete": true,
"theme": {
"dark": true,
"layout": "compact"
},
"drawing": {
"sketch": false
}
}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,10 @@
{
"id": "drawio-obsidian",
"name": "Diagrams",
"version": "1.5.0",
"minAppVersion": "0.9.12",
"description": "Draw.io diagrams for Obsidian. This plugin introduces diagrams that can be included within notes or as stand-alone files. Diagrams are created as SVG files (although .drawio extensions are also supported).",
"author": "Sam Greenhalgh",
"authorUrl": "https://www.radicalresearch.co.uk/",
"isDesktopOnly": true
}

View File

@@ -0,0 +1,28 @@
.progress-bar-line {
width: 100%;
left: 0;
}
.progress-bar-indicator {
width: 90%;
margin: 0 10%;
}
.diagram-view svg {
max-width: 100%;
max-height: 100%;
display: block;
}
.diagram-view svg a:link,
.diagram-view svg a:visited {
color: var(--interactive-accent, #00f);
filter: drop-shadow(
0 0 3px rgba(var(--interactive-accent-rgb, "0, 0, 255"), 0.5)
);
}
.diagram-view svg a:hover {
color: var(--interactive-accent-hover, #00f);
filter: drop-shadow(0 0 3px var(--interactive-accent-hover, #00f));
}

View File

@@ -0,0 +1,5 @@
{
"startupSetting": true,
"lifecycleSetting": "3",
"savePathSetting": "/home/boris/Documents/Obsidian"
}

4920
.obsidian/plugins/local-backup/main.js vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,13 @@
{
"id": "local-backup",
"name": "Local Backup",
"version": "0.0.5",
"minAppVersion": "0.15.0",
"description": "Automatically creates a local backup of the vault.",
"author": "GC Chen",
"authorUrl": "https://github.com/cgcel/obsidian-local-backup",
"fundingUrl": "https://www.buymeacoffee.com/cgcel",
"isDesktopOnly": true,
"js": "main.js",
"tags": ["backup"]
}

View File

@@ -0,0 +1,17 @@
{
"circularProgress": true,
"nowAndNextInStatusBar": true,
"showTaskNotification": true,
"zoomLevel": 2,
"timelineIcon": "calendar-with-checkmark",
"endLabel": "All done",
"startHour": 6,
"timelineDateFormat": "LLLL",
"centerNeedle": false,
"showHelp": true,
"plannerHeading": "Day planner",
"plannerHeadingLevel": 1,
"timelineColored": false,
"timelineStartColor": "#006466",
"timelineEndColor": "#4d194d"
}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,11 @@
{
"id": "obsidian-day-planner",
"name": "Day Planner",
"version": "0.10.1",
"minAppVersion": "0.16.0",
"description": "A day planner with clean UI and readable syntax",
"author": "James Lynch, continued by Ivan Lednev",
"authorUrl": "https://github.com/ivan-lednev",
"fundingUrl": "https://www.buymeacoffee.com/machineelf",
"isDesktopOnly": false
}

View File

@@ -0,0 +1,463 @@
/* src/styles.scss */
.progress-pie {
width: 60px;
height: 60px;
border-radius: 50%;
background: #eee;
background-image: linear-gradient(to right, transparent 50%, #4CC9D8 0);
position: relative;
display: inline-block;
}
.progress-pie::before {
content: "";
display: block;
margin-left: 50%;
height: 100%;
border-radius: 0 100% 100% 0/50%;
background-color: inherit;
transform-origin: left;
}
.progress-pie::after {
content: attr(data-value);
position: absolute;
width: 70%;
height: 70%;
margin: auto;
border-radius: 50%;
background-color: #fff;
left: 0;
right: 0;
top: 0;
bottom: 0;
text-align: center;
font: 900 20px/41px Tahoma;
}
.progress-pie[data-value="0"]:before {
transform: rotate(0turn);
}
.progress-pie[data-value="1"]:before {
transform: rotate(0.01turn);
}
.progress-pie[data-value="2"]:before {
transform: rotate(0.02turn);
}
.progress-pie[data-value="3"]:before {
transform: rotate(0.03turn);
}
.progress-pie[data-value="4"]:before {
transform: rotate(0.04turn);
}
.progress-pie[data-value="5"]:before {
transform: rotate(0.05turn);
}
.progress-pie[data-value="6"]:before {
transform: rotate(0.06turn);
}
.progress-pie[data-value="7"]:before {
transform: rotate(0.07turn);
}
.progress-pie[data-value="8"]:before {
transform: rotate(0.08turn);
}
.progress-pie[data-value="9"]:before {
transform: rotate(0.09turn);
}
.progress-pie[data-value="10"]:before {
transform: rotate(0.1turn);
}
.progress-pie[data-value="11"]:before {
transform: rotate(0.11turn);
}
.progress-pie[data-value="12"]:before {
transform: rotate(0.12turn);
}
.progress-pie[data-value="13"]:before {
transform: rotate(0.13turn);
}
.progress-pie[data-value="14"]:before {
transform: rotate(0.14turn);
}
.progress-pie[data-value="15"]:before {
transform: rotate(0.15turn);
}
.progress-pie[data-value="16"]:before {
transform: rotate(0.16turn);
}
.progress-pie[data-value="17"]:before {
transform: rotate(0.17turn);
}
.progress-pie[data-value="18"]:before {
transform: rotate(0.18turn);
}
.progress-pie[data-value="19"]:before {
transform: rotate(0.19turn);
}
.progress-pie[data-value="20"]:before {
transform: rotate(0.2turn);
}
.progress-pie[data-value="21"]:before {
transform: rotate(0.21turn);
}
.progress-pie[data-value="22"]:before {
transform: rotate(0.22turn);
}
.progress-pie[data-value="23"]:before {
transform: rotate(0.23turn);
}
.progress-pie[data-value="24"]:before {
transform: rotate(0.24turn);
}
.progress-pie[data-value="25"]:before {
transform: rotate(0.25turn);
}
.progress-pie[data-value="26"]:before {
transform: rotate(0.26turn);
}
.progress-pie[data-value="27"]:before {
transform: rotate(0.27turn);
}
.progress-pie[data-value="28"]:before {
transform: rotate(0.28turn);
}
.progress-pie[data-value="29"]:before {
transform: rotate(0.29turn);
}
.progress-pie[data-value="30"]:before {
transform: rotate(0.3turn);
}
.progress-pie[data-value="31"]:before {
transform: rotate(0.31turn);
}
.progress-pie[data-value="32"]:before {
transform: rotate(0.32turn);
}
.progress-pie[data-value="33"]:before {
transform: rotate(0.33turn);
}
.progress-pie[data-value="34"]:before {
transform: rotate(0.34turn);
}
.progress-pie[data-value="35"]:before {
transform: rotate(0.35turn);
}
.progress-pie[data-value="36"]:before {
transform: rotate(0.36turn);
}
.progress-pie[data-value="37"]:before {
transform: rotate(0.37turn);
}
.progress-pie[data-value="38"]:before {
transform: rotate(0.38turn);
}
.progress-pie[data-value="39"]:before {
transform: rotate(0.39turn);
}
.progress-pie[data-value="40"]:before {
transform: rotate(0.4turn);
}
.progress-pie[data-value="41"]:before {
transform: rotate(0.41turn);
}
.progress-pie[data-value="42"]:before {
transform: rotate(0.42turn);
}
.progress-pie[data-value="43"]:before {
transform: rotate(0.43turn);
}
.progress-pie[data-value="44"]:before {
transform: rotate(0.44turn);
}
.progress-pie[data-value="45"]:before {
transform: rotate(0.45turn);
}
.progress-pie[data-value="46"]:before {
transform: rotate(0.46turn);
}
.progress-pie[data-value="47"]:before {
transform: rotate(0.47turn);
}
.progress-pie[data-value="48"]:before {
transform: rotate(0.48turn);
}
.progress-pie[data-value="49"]:before {
transform: rotate(0.49turn);
}
.progress-pie[data-value="50"]:before {
transform: rotate(0.5turn);
}
.progress-pie[data-value="51"]:before {
background-color: #4CC9D8;
transform: rotate(0.01turn);
}
.progress-pie[data-value="52"]:before {
background-color: #4CC9D8;
transform: rotate(0.02turn);
}
.progress-pie[data-value="53"]:before {
background-color: #4CC9D8;
transform: rotate(0.03turn);
}
.progress-pie[data-value="54"]:before {
background-color: #4CC9D8;
transform: rotate(0.04turn);
}
.progress-pie[data-value="55"]:before {
background-color: #4CC9D8;
transform: rotate(0.05turn);
}
.progress-pie[data-value="56"]:before {
background-color: #4CC9D8;
transform: rotate(0.06turn);
}
.progress-pie[data-value="57"]:before {
background-color: #4CC9D8;
transform: rotate(0.07turn);
}
.progress-pie[data-value="58"]:before {
background-color: #4CC9D8;
transform: rotate(0.08turn);
}
.progress-pie[data-value="59"]:before {
background-color: #4CC9D8;
transform: rotate(0.09turn);
}
.progress-pie[data-value="60"]:before {
background-color: #4CC9D8;
transform: rotate(0.1turn);
}
.progress-pie[data-value="61"]:before {
background-color: #4CC9D8;
transform: rotate(0.11turn);
}
.progress-pie[data-value="62"]:before {
background-color: #4CC9D8;
transform: rotate(0.12turn);
}
.progress-pie[data-value="63"]:before {
background-color: #4CC9D8;
transform: rotate(0.13turn);
}
.progress-pie[data-value="64"]:before {
background-color: #4CC9D8;
transform: rotate(0.14turn);
}
.progress-pie[data-value="65"]:before {
background-color: #4CC9D8;
transform: rotate(0.15turn);
}
.progress-pie[data-value="66"]:before {
background-color: #4CC9D8;
transform: rotate(0.16turn);
}
.progress-pie[data-value="67"]:before {
background-color: #4CC9D8;
transform: rotate(0.17turn);
}
.progress-pie[data-value="68"]:before {
background-color: #4CC9D8;
transform: rotate(0.18turn);
}
.progress-pie[data-value="69"]:before {
background-color: #4CC9D8;
transform: rotate(0.19turn);
}
.progress-pie[data-value="70"]:before {
background-color: #4CC9D8;
transform: rotate(0.2turn);
}
.progress-pie[data-value="71"]:before {
background-color: #4CC9D8;
transform: rotate(0.21turn);
}
.progress-pie[data-value="72"]:before {
background-color: #4CC9D8;
transform: rotate(0.22turn);
}
.progress-pie[data-value="73"]:before {
background-color: #4CC9D8;
transform: rotate(0.23turn);
}
.progress-pie[data-value="74"]:before {
background-color: #4CC9D8;
transform: rotate(0.24turn);
}
.progress-pie[data-value="75"]:before {
background-color: #4CC9D8;
transform: rotate(0.25turn);
}
.progress-pie[data-value="76"]:before {
background-color: #4CC9D8;
transform: rotate(0.26turn);
}
.progress-pie[data-value="77"]:before {
background-color: #4CC9D8;
transform: rotate(0.27turn);
}
.progress-pie[data-value="78"]:before {
background-color: #4CC9D8;
transform: rotate(0.28turn);
}
.progress-pie[data-value="79"]:before {
background-color: #4CC9D8;
transform: rotate(0.29turn);
}
.progress-pie[data-value="80"]:before {
background-color: #4CC9D8;
transform: rotate(0.3turn);
}
.progress-pie[data-value="81"]:before {
background-color: #4CC9D8;
transform: rotate(0.31turn);
}
.progress-pie[data-value="82"]:before {
background-color: #4CC9D8;
transform: rotate(0.32turn);
}
.progress-pie[data-value="83"]:before {
background-color: #4CC9D8;
transform: rotate(0.33turn);
}
.progress-pie[data-value="84"]:before {
background-color: #4CC9D8;
transform: rotate(0.34turn);
}
.progress-pie[data-value="85"]:before {
background-color: #4CC9D8;
transform: rotate(0.35turn);
}
.progress-pie[data-value="86"]:before {
background-color: #4CC9D8;
transform: rotate(0.36turn);
}
.progress-pie[data-value="87"]:before {
background-color: #4CC9D8;
transform: rotate(0.37turn);
}
.progress-pie[data-value="88"]:before {
background-color: #4CC9D8;
transform: rotate(0.38turn);
}
.progress-pie[data-value="89"]:before {
background-color: #4CC9D8;
transform: rotate(0.39turn);
}
.progress-pie[data-value="90"]:before {
background-color: #4CC9D8;
transform: rotate(0.4turn);
}
.progress-pie[data-value="91"]:before {
background-color: #4CC9D8;
transform: rotate(0.41turn);
}
.progress-pie[data-value="92"]:before {
background-color: #4CC9D8;
transform: rotate(0.42turn);
}
.progress-pie[data-value="93"]:before {
background-color: #4CC9D8;
transform: rotate(0.43turn);
}
.progress-pie[data-value="94"]:before {
background-color: #4CC9D8;
transform: rotate(0.44turn);
}
.progress-pie[data-value="95"]:before {
background-color: #4CC9D8;
transform: rotate(0.45turn);
}
.progress-pie[data-value="96"]:before {
background-color: #4CC9D8;
transform: rotate(0.46turn);
}
.progress-pie[data-value="97"]:before {
background-color: #4CC9D8;
transform: rotate(0.47turn);
}
.progress-pie[data-value="98"]:before {
background-color: #4CC9D8;
transform: rotate(0.48turn);
}
.progress-pie[data-value="99"]:before {
background-color: #4CC9D8;
transform: rotate(0.49turn);
}
.progress-pie[data-value="100"]:before {
background-color: #4CC9D8;
transform: rotate(0.5turn);
}
.day-planner {
position: relative;
}
.day-planner .status-bar-item-segment:hover {
cursor: pointer;
}
.day-planner-progress-bar {
overflow: hidden;
display: flex;
align-items: stretch;
align-self: stretch;
min-width: 100px;
background-color: var(--text-faint);
border-radius: var(--radius-s);
}
.day-planner-progress-value {
background-color: var(--color-accent);
}
.day-planner-progress-value.green,
.day-planner .progress-pie.green::before {
background-color: #4caf50;
}
.day-planner .progress-pie.green {
background-image: linear-gradient(to right, transparent 50%, #4caf50 0);
}
.day-planner-status-bar-text {
float: left;
margin-right: 10px;
}
.day-planner-status-card {
position: absolute;
top: -140px;
display: none;
width: 300px;
padding: 8px;
background-color: var(--background-secondary-alt);
border-radius: 4px;
}
.day-planner-status-card .arrow-down {
position: absolute;
width: 20px;
border-top: 20px solid var(--background-secondary-alt);
border-right: 20px solid transparent;
border-left: 20px solid transparent;
}
.progress-pie.day-planner {
float: left;
display: none;
width: 20px;
height: 20px;
margin: 0.3px 10px 0.3px 0;
background-color: var(--text-muted);
}
.progress-pie.day-planner::after {
width: 80%;
height: 80%;
}
.progress-pie.day-planner::after {
font-size: 8px;
font-weight: 900;
line-height: 13px;
color: transparent;
background-color: transparent;
}
[data-type=timeline] .view-content,
[data-type=weekly] .view-content {
--time-ruler-width: 30px;
display: flex;
flex-direction: column;
padding: 0;
}
.absolute-stretch-x {
position: absolute;
right: 0;
left: 0;
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,10 @@
{
"id": "obsidian-diagrams-net",
"name": "Diagrams.net",
"version": "1.0.4",
"minAppVersion": "0.12.0",
"description": "Enable diagrams.net (previously draw.io) type diagrams, with the diagrams.net embedded editor.",
"author": "Jens M Gleditsch",
"authorUrl": "https://github.com/jensmtg",
"isDesktopOnly": true
}

View File

@@ -0,0 +1,228 @@
/*
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());
});
};
// src/main.ts
__export(exports, {
default: () => ExcelToMarkdownTablePlugin
});
var import_obsidian = __toModule(require("obsidian"));
// src/table-alignment-syntax.ts
var ALIGNED_LEFT_SYNTAX = {
prefix: "",
postfix: "",
adjust: 0
};
var ALIGNED_RIGHT_SYNTAX = {
prefix: "",
postfix: ":",
adjust: 1
};
var ALIGNED_CENTER_SYNTAX = {
prefix: ":",
postfix: ":",
adjust: 2
};
// src/excel-markdown-helpers.ts
var ALIGNED_LEFT = "l";
var ALIGNED_RIGHT = "r";
var ALIGNED_CENTER = "c";
var EXCEL_COLUMN_DELIMITER = " ";
var MARKDOWN_NEWLINE = "<br/>";
var UNESCAPED_DOUBLE_QUOTE = '"';
var EXCEL_ROW_DELIMITER_REGEX = /[\n\u0085\u2028\u2029]|\r\n?/g;
var COLUMN_ALIGNMENT_REGEX = /^(\^[lcr])/i;
var EXCEL_NEWLINE_ESCAPED_CELL_REGEX = /"([^\t]*(?<=[^\r])\n[^\t]*)"/g;
var EXCEL_NEWLINE_REGEX = /\n/g;
var EXCEL_DOUBLE_QUOTE_ESCAPED_REGEX = /""/g;
function addMarkdownSyntax(rows, columnWidths) {
return rows.map(function(row, rowIndex) {
return "| " + row.map(function(column, index) {
column = column.replace("|", "\\|");
return column + Array(columnWidths[index] - column.length + 1).join(" ");
}).join(" | ") + " |";
});
}
function addAlignmentSyntax(markdownRows, columnWidths, colAlignments) {
let result = Object.assign([], markdownRows);
result.splice(1, 0, "|" + columnWidths.map(function(width, index) {
let { prefix, postfix, adjust } = calculateAlignmentMarkdownSyntaxMetadata(colAlignments[index]);
return prefix + Array(columnWidths[index] + 3 - adjust).join("-") + postfix;
}).join("|") + "|");
return result;
}
function calculateAlignmentMarkdownSyntaxMetadata(alignment) {
switch (alignment) {
case ALIGNED_LEFT:
return ALIGNED_LEFT_SYNTAX;
case ALIGNED_CENTER:
return ALIGNED_CENTER_SYNTAX;
case ALIGNED_RIGHT:
return ALIGNED_RIGHT_SYNTAX;
default:
return ALIGNED_LEFT_SYNTAX;
}
}
function getColumnWidthsAndAlignments(rows) {
let colAlignments = [];
return {
columnWidths: rows[0].map(function(column, columnIndex) {
let alignment = columnAlignment(column);
colAlignments.push(alignment);
column = column.replace(COLUMN_ALIGNMENT_REGEX, "");
rows[0][columnIndex] = column;
return columnWidth(rows, columnIndex);
}),
colAlignments
};
}
function columnAlignment(columnHeaderText) {
var m = columnHeaderText.match(COLUMN_ALIGNMENT_REGEX);
if (m) {
var alignChar = m[1][1].toLowerCase();
return columnAlignmentFromChar(alignChar);
}
return ALIGNED_LEFT;
}
function columnAlignmentFromChar(alignChar) {
switch (alignChar) {
case ALIGNED_LEFT:
return ALIGNED_LEFT;
case ALIGNED_CENTER:
return ALIGNED_CENTER;
case ALIGNED_RIGHT:
return ALIGNED_RIGHT;
default:
return ALIGNED_LEFT;
}
}
function columnWidth(rows, columnIndex) {
return Math.max.apply(null, rows.map(function(row) {
return row[columnIndex] && row[columnIndex].length || 0;
}));
}
function splitIntoRowsAndColumns(data) {
var rows = data.split(EXCEL_ROW_DELIMITER_REGEX).map(function(row) {
return row.split(EXCEL_COLUMN_DELIMITER);
});
return rows;
}
function replaceIntraCellNewline(data) {
let cellReplacer = (_) => _.slice(1, -1).replace(EXCEL_DOUBLE_QUOTE_ESCAPED_REGEX, UNESCAPED_DOUBLE_QUOTE).replace(EXCEL_NEWLINE_REGEX, MARKDOWN_NEWLINE);
return data.replace(EXCEL_NEWLINE_ESCAPED_CELL_REGEX, cellReplacer);
}
// src/excel-markdown-tables.ts
var LINE_ENDING = "\n";
function excelToMarkdown(rawData) {
let data = rawData.trim();
var intraCellNewlineReplacedData = replaceIntraCellNewline(data);
var rows = splitIntoRowsAndColumns(intraCellNewlineReplacedData);
var { columnWidths, colAlignments } = getColumnWidthsAndAlignments(rows);
const markdownRows = addMarkdownSyntax(rows, columnWidths);
return addAlignmentSyntax(markdownRows, columnWidths, colAlignments).join(LINE_ENDING);
}
function getExcelRows(rawData) {
let data = rawData.trim();
var intraCellNewlineReplacedData = replaceIntraCellNewline(data);
return splitIntoRowsAndColumns(intraCellNewlineReplacedData);
}
function excelRowsToMarkdown(rows) {
var { columnWidths, colAlignments } = getColumnWidthsAndAlignments(rows);
const markdownRows = addMarkdownSyntax(rows, columnWidths);
return addAlignmentSyntax(markdownRows, columnWidths, colAlignments).join(LINE_ENDING);
}
function isExcelData(rows) {
return rows && rows[0] && rows[0].length > 1 ? true : false;
}
// src/main.ts
var ExcelToMarkdownTablePlugin = class extends import_obsidian.Plugin {
constructor() {
super(...arguments);
this.pasteHandler = (evt, editor) => {
if (evt.clipboardData === null) {
return;
}
if (evt.clipboardData.types.length === 1 && evt.clipboardData.types[0] === "text/plain") {
return;
}
const rawData = evt.clipboardData.getData("text");
const rows = getExcelRows(rawData);
if (isExcelData(rows)) {
const markdownData = excelRowsToMarkdown(rows);
editor.replaceSelection(markdownData + "\n");
evt.preventDefault();
}
};
}
onload() {
return __async(this, null, function* () {
this.addCommand({
id: "excel-to-markdown-table",
name: "Excel to Markdown",
hotkeys: [
{
modifiers: ["Mod", "Alt"],
key: "v"
}
],
editorCallback: (editor, view) => __async(this, null, function* () {
const text = yield navigator.clipboard.readText();
editor.replaceSelection(excelToMarkdown(text));
})
});
this.app.workspace.on("editor-paste", this.pasteHandler);
});
}
onunload() {
this.app.workspace.off("editor-paste", this.pasteHandler);
}
};

View File

@@ -0,0 +1,10 @@
{
"id": "obsidian-excel-to-markdown-table",
"name": "Excel to Markdown Table",
"version": "0.4.0",
"minAppVersion": "0.12.0",
"description": "An Obsidian plugin to paste data from Microsoft Excel, Google Sheets, Apple Numbers and LibreOffice Calc as Markdown tables in Obsidian editor.",
"author": "Ganessh Kumar R P <rpganesshkumar@gmail.com>",
"authorUrl": "https://ganesshkumar.com",
"isDesktopOnly": false
}

View File

@@ -0,0 +1 @@

View File

@@ -0,0 +1,55 @@
{
"commitMessage": "vault backup: {{date}}",
"commitDateFormat": "YYYY-MM-DD HH:mm:ss",
"autoSaveInterval": 0,
"autoPushInterval": 0,
"autoPullInterval": 0,
"autoPullOnBoot": false,
"disablePush": false,
"pullBeforePush": true,
"disablePopups": false,
"listChangedFilesInMessageBody": false,
"showStatusBar": true,
"updateSubmodules": false,
"syncMethod": "merge",
"customMessageOnAutoBackup": false,
"autoBackupAfterFileChange": false,
"treeStructure": true,
"refreshSourceControl": true,
"basePath": "",
"differentIntervalCommitAndPush": false,
"changedFilesInStatusBar": false,
"showedMobileNotice": true,
"refreshSourceControlTimer": 7000,
"showBranchStatusBar": true,
"setLastSaveToLastCommit": false,
"submoduleRecurseCheckout": false,
"gitDir": "",
"showFileMenu": true,
"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": 5,
"lastShownAuthorDisplay": "initials",
"lastShownDateTimeFormatOptions": "date"
},
"autoCommitMessage": "vault backup: {{date}}"
}

44242
.obsidian/plugins/obsidian-git/main.js vendored Normal file

File diff suppressed because one or more lines are too long

View 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"
}

View 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. */
}

View File

@@ -0,0 +1,257 @@
{
"ruleConfigs": {
"escape-yaml-special-characters": {
"enabled": false,
"try-to-escape-single-line-arrays": false
},
"force-yaml-escape": {
"enabled": false,
"force-yaml-escape-keys": ""
},
"format-tags-in-yaml": {
"enabled": false
},
"format-yaml-array": {
"enabled": false,
"alias-key": true,
"tag-key": true,
"default-array-style": "single-line",
"default-array-keys": true,
"force-single-line-array-style": "",
"force-multi-line-array-style": ""
},
"insert-yaml-attributes": {
"enabled": false,
"text-to-insert": "aliases: \ntags: "
},
"move-tags-to-yaml": {
"enabled": false,
"how-to-handle-existing-tags": "Nothing",
"tags-to-ignore": ""
},
"remove-yaml-keys": {
"enabled": false,
"yaml-keys-to-remove": ""
},
"yaml-key-sort": {
"enabled": false,
"yaml-key-priority-sort-order": "",
"priority-keys-at-start-of-yaml": true,
"yaml-sort-order-for-other-keys": "None"
},
"yaml-timestamp": {
"enabled": false,
"date-created": true,
"date-created-key": "date created",
"force-retention-of-create-value": false,
"date-modified": true,
"date-modified-key": "date modified",
"format": "dddd, MMMM Do YYYY, h:mm:ss a"
},
"yaml-title": {
"enabled": false,
"title-key": "title",
"mode": "first-h1-or-filename-if-h1-missing"
},
"yaml-title-alias": {
"enabled": false,
"preserve-existing-alias-section-style": true,
"keep-alias-that-matches-the-filename": false,
"use-yaml-key-to-keep-track-of-old-filename-or-heading": true
},
"capitalize-headings": {
"enabled": true,
"style": "Title Case",
"ignore-case-words": true,
"ignore-words": "macOS, iOS, iPhone, iPad, JavaScript, TypeScript, AppleScript, I",
"lowercase-words": "a, an, the, aboard, about, abt., above, abreast, absent, across, after, against, along, aloft, alongside, amid, amidst, mid, midst, among, amongst, anti, apropos, around, round, as, aslant, astride, at, atop, ontop, bar, barring, before, B4, behind, below, beneath, neath, beside, besides, between, 'tween, beyond, but, by, chez, circa, c., ca., come, concerning, contra, counting, cum, despite, spite, down, during, effective, ere, except, excepting, excluding, failing, following, for, from, in, including, inside, into, less, like, minus, modulo, mod, near, nearer, nearest, next, notwithstanding, of, o', off, offshore, on, onto, opposite, out, outside, over, o'er, pace, past, pending, per, plus, post, pre, pro, qua, re, regarding, respecting, sans, save, saving, short, since, sub, than, through, thru, throughout, thruout, till, times, to, t', touching, toward, towards, under, underneath, unlike, until, unto, up, upon, versus, vs., v., via, vice, vis-à-vis, wanting, with, w/, w., c̄, within, w/i, without, 'thout, w/o, abroad, adrift, aft, afterward, afterwards, ahead, apart, ashore, aside, away, back, backward, backwards, beforehand, downhill, downstage, downstairs, downstream, downward, downwards, downwind, east, eastward, eastwards, forth, forward, forwards, heavenward, heavenwards, hence, henceforth, here, hereby, herein, hereof, hereto, herewith, home, homeward, homewards, indoors, inward, inwards, leftward, leftwards, north, northeast, northward, northwards, northwest, now, onward, onwards, outdoors, outward, outwards, overboard, overhead, overland, overseas, rightward, rightwards, seaward, seawards, skywards, skyward, south, southeast, southwards, southward, southwest, then, thence, thenceforth, there, thereby, therein, thereof, thereto, therewith, together, underfoot, underground, uphill, upstage, upstairs, upstream, upward, upwards, upwind, west, westward, westwards, when, whence, where, whereby, wherein, whereto, wherewith, although, because, considering, given, granted, if, lest, once, provided, providing, seeing, so, supposing, though, unless, whenever, whereas, wherever, while, whilst, ago, according to, as regards, counter to, instead of, owing to, pertaining to, at the behest of, at the expense of, at the hands of, at risk of, at the risk of, at variance with, by dint of, by means of, by virtue of, by way of, for the sake of, for sake of, for lack of, for want of, from want of, in accordance with, in addition to, in case of, in charge of, in compliance with, in conformity with, in contact with, in exchange for, in favor of, in front of, in lieu of, in light of, in the light of, in line with, in place of, in point of, in quest of, in relation to, in regard to, with regard to, in respect to, with respect to, in return for, in search of, in step with, in touch with, in terms of, in the name of, in view of, on account of, on behalf of, on grounds of, on the grounds of, on the part of, on top of, with a view to, with the exception of, à la, a la, as soon as, as well as, close to, due to, far from, in case, other than, prior to, pursuant to, regardless of, subsequent to, as long as, as much as, as far as, by the time, in as much as, inasmuch, in order to, in order that, even, provide that, if only, whether, whose, whoever, why, how, or not, whatever, what, both, and, or, not only, but also, either, neither, nor, just, rather, no sooner, such, that, yet, is, it"
},
"file-name-heading": {
"enabled": false
},
"header-increment": {
"enabled": false,
"start-at-h2": false
},
"headings-start-line": {
"enabled": false
},
"remove-trailing-punctuation-in-heading": {
"enabled": false,
"punctuation-to-remove": ".,;:!。,;:!"
},
"footnote-after-punctuation": {
"enabled": true
},
"move-footnotes-to-the-bottom": {
"enabled": true
},
"re-index-footnotes": {
"enabled": true
},
"auto-correct-common-misspellings": {
"enabled": true,
"ignore-words": ""
},
"blockquote-style": {
"enabled": true,
"style": "space"
},
"convert-bullet-list-markers": {
"enabled": true
},
"emphasis-style": {
"enabled": true,
"style": "asterisk"
},
"no-bare-urls": {
"enabled": true,
"no-bare-uris": true
},
"ordered-list-style": {
"enabled": true,
"number-style": "ascending",
"list-end-style": "."
},
"proper-ellipsis": {
"enabled": true
},
"quote-style": {
"enabled": false,
"single-quote-enabled": true,
"single-quote-style": "''",
"double-quote-enabled": true,
"double-quote-style": "\"\""
},
"remove-consecutive-list-markers": {
"enabled": true
},
"remove-empty-list-markers": {
"enabled": true
},
"remove-hyphenated-line-breaks": {
"enabled": true
},
"remove-multiple-spaces": {
"enabled": true
},
"strong-style": {
"enabled": true,
"style": "consistent"
},
"two-spaces-between-lines-with-content": {
"enabled": true
},
"unordered-list-style": {
"enabled": true,
"list-style": "consistent"
},
"compact-yaml": {
"enabled": true,
"inner-new-lines": false
},
"consecutive-blank-lines": {
"enabled": true
},
"convert-spaces-to-tabs": {
"enabled": true,
"tabsize": " "
},
"empty-line-around-blockquotes": {
"enabled": true
},
"empty-line-around-code-fences": {
"enabled": true
},
"empty-line-around-math-blocks": {
"enabled": true
},
"empty-line-around-tables": {
"enabled": true
},
"heading-blank-lines": {
"enabled": true,
"bottom": true,
"empty-line-after-yaml": true
},
"line-break-at-document-end": {
"enabled": true
},
"move-math-block-indicators-to-their-own-line": {
"enabled": true
},
"paragraph-blank-lines": {
"enabled": true
},
"remove-empty-lines-between-list-markers-and-checklists": {
"enabled": true
},
"remove-link-spacing": {
"enabled": true
},
"remove-space-around-characters": {
"enabled": false,
"include-fullwidth-forms": true,
"include-cjk-symbols-and-punctuation": true,
"include-dashes": true,
"other-symbols": ""
},
"remove-space-before-or-after-characters": {
"enabled": false,
"characters-to-remove-space-before": ",!?;:).’”]",
"characters-to-remove-space-after": "¿¡‘“(["
},
"space-after-list-markers": {
"enabled": true
},
"space-between-chinese-japanese-or-korean-and-english-or-numbers": {
"enabled": false
},
"trailing-spaces": {
"enabled": true,
"twp-space-line-break": false
},
"add-blockquote-indentation-on-paste": {
"enabled": false
},
"prevent-double-checklist-indicator-on-paste": {
"enabled": true
},
"prevent-double-list-item-indicator-on-paste": {
"enabled": true
},
"proper-ellipsis-on-paste": {
"enabled": false
},
"remove-hyphens-on-paste": {
"enabled": false
},
"remove-leading-or-trailing-whitespace-on-paste": {
"enabled": true
},
"remove-leftover-footnotes-from-quote-on-paste": {
"enabled": true
},
"remove-multiple-blank-lines-on-paste": {
"enabled": true
}
},
"lintOnSave": true,
"recordLintOnSaveLogs": false,
"displayChanged": true,
"lintOnFileChange": false,
"displayLintOnFileChangeNotice": false,
"settingsConvertedToConfigKeyValues": true,
"foldersToIgnore": [],
"linterLocale": "system-default",
"logLevel": "ERROR",
"lintCommands": [],
"customRegexes": [],
"commonStyles": {
"aliasArrayStyle": "single-line",
"tagArrayStyle": "single-line",
"minimumNumberOfDollarSignsToBeAMathBlock": 2,
"escapeCharacter": "\"",
"removeUnnecessaryEscapeCharsForMultiLineArrays": false
}
}

2624
.obsidian/plugins/obsidian-linter/main.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,10 @@
{
"id": "obsidian-linter",
"name": "Linter",
"version": "1.20.0",
"minAppVersion": "0.15.6",
"description": "Formats and styles your notes. It can be used to format YAML tags, aliases, arrays, and metadata; footnotes; headings; spacing; math blocks; regular markdown contents like list, italics, and bold styles; and more with the use of custom rule options as well.",
"author": "Victor Tao",
"authorUrl": "https://github.com/platers",
"isDesktopOnly": false
}

View File

@@ -0,0 +1,225 @@
/**
* Based on https://github.com/Fevol/obsidian-translate/blob/master/src/ui/translator-components/SettingsPage.svelte
*/
.linter-navigation-item {
cursor: pointer;
border-radius: 100px;
border: 1px solid var(--background-modifier-border);
border-radius: 8px 8px 2px 2px;
font-weight: bold;
font-size: 16px;
display: flex;
flex-direction: row;
white-space: nowrap;
padding: 4px 6px;
align-items: center;
gap: 4px;
overflow: hidden;
background-color: var(--background-primary-secondary-alt);
transition: color 0.25s ease-in-out,
padding 0.25s ease-in-out,
background-color 0.35s cubic-bezier(0.45, 0.25, 0.83, 0.67),
max-width 0.35s cubic-bezier(0.57, 0.04, 0.58, 1);
height: 32px;
}
@media screen and (max-width: 1325px) {
.linter-navigation-item.linter-desktop {
max-width: 32px;
}
}
@media screen and (max-width: 800px) {
.linter-navigation-item.linter-mobile {
max-width: 32px;
}
}
.linter-navigation-item-icon {
padding-top: 5px;
}
.linter-navigation-item:hover {
border-color: var(--interactive-accent-hover);
border-bottom: 0px;
}
.linter-navigation-item-selected {
background-color: var(--interactive-accent) !important;
color: var(--text-on-accent);
padding: 4px 9px !important;
max-width: 100% !important;
border: 1px solid var(--background-modifier-border);
border-radius: 8px 8px 2px 2px;
border-bottom: 0px;
transition: color 0.25s ease-in-out,
padding 0.25s ease-in-out,
background-color 0.35s cubic-bezier(0.45, 0.25, 0.83, 0.67),
max-width 0.45s cubic-bezier(0.57, 0.04, 0.58, 1) 0.2s;
}
/**
* Based on https://github.com/phibr0/obsidian-commander/blob/main/src/styles.scss
*/
.linter {
transition: transform 400ms 0s;
}
.linter-setting-title {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 30px;
}
.linter-setting-title.linter-mobile {
justify-content: space-around;
}
.linter-setting-title h1 {
font-weight: 900;
margin-top: 6px;
margin-bottom: 12px;
}
.linter-setting-header {
margin-bottom: 24px;
overflow-y: hidden;
overflow-x: auto;
}
.linter-setting-header .linter-setting-tab-group {
display: flex;
align-items: flex-end;
flex-wrap: wrap;
width: 100%;
}
.linter-setting-tab-group {
margin-top: 6px;
padding-left: 2px;
padding-right: 2px;
border-bottom: 2px solid var(--background-modifier-border);
}
.linter-setting-header .linter-tab-settings {
padding: 6px 12px;
font-weight: 600;
cursor: pointer;
white-space: nowrap;
border-left: 2px solid transparent;
border-right: 2px solid transparent;
}
.linter-setting-header .linter-tab-settings:first-child {
margin-left: 6px;
}
.linter-setting-header .linter-tab-settings.linter-tab-settings-active {
border-bottom: 2px solid var(--background-primary);
transform: translateY(2px);
border-radius: 2px;
border-left: 2px solid var(--background-modifier-border);
border-top: 2px solid var(--background-modifier-border);
border-right: 2px solid var(--background-modifier-border);
}
/** Hide linter element css
* Based on https://zellwk.com/blog/hide-content-accessibly/
*/
.linter-navigation-item:not(.linter-navigation-item-selected) > span:nth-child(2),
.linter-visually-hidden {
border: 0;
clip: rect(0 0 0 0);
clip-path: rect(0 0 0 0);
height: auto;
margin: 0;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
white-space: nowrap;
}
/**
* Full-width text areas
* Based on https://github.com/nyable/obsidian-code-block-enhancer/blob/bb0c636c1e7609b6d26c48a8d7ca15d5cd9abdcf/src/styles/index.scss
*/
textarea.full-width {
width: 100%;
min-height: 10em;
margin-top: 0.8em;
margin-bottom: 0.8em;
}
.full-width-textbox-input-wrapper {
position: relative;
}
.settings-copy-button {
position: absolute;
top: 0.8em;
right: 0.8em;
margin: 0 0 0 auto;
padding: 4px;
}
.settings-copy-button svg.linter-clipboard path {
fill: var(--text-faint);
}
.settings-copy-button svg.linter-success path {
fill: var(--interactive-success);
}
.settings-copy-button:hover, .settings-copy-button:active {
cursor: pointer;
}
.settings-copy-button:hover svg path, .settings-copy-button:active svg path {
fill: var(--text-accent-hover);
transition: all ease 0.3s;
}
.settings-copy-button:focus {
outline: 0;
}
/**
* Custom regex replacement
*/
.linter-custom-regex-replacement-container div:last-child{
border: none;
}
.linter-custom-regex-replacement {
margin-bottom: 15px;
border: none;
border-bottom: var(--hr-thickness) solid;
border-color: var(--hr-color);
}
.linter-custom-regex-replacement-row2 {
flex-wrap: wrap;
}
.linter-custom-regex-replacement-normal-input {
width: 40%;
}
.linter-custom-regex-replacement-flags {
width: 15%;
}
.linter-custom-regex-replacement-label {
flex-direction: row-reverse;
}
.linter-custom-regex-replacement-label-input {
width: 50%;
}
/**
* Setting item no border
*/
.linter-no-border {
border: none;
}
/**
* Custom row
*/
.custom-row-description {
margin-top: 0px;
}

28
.obsidian/plugins/omnisearch/data.json vendored Normal file
View File

@@ -0,0 +1,28 @@
{
"useCache": true,
"hideExcluded": false,
"ignoreDiacritics": true,
"indexedFileTypes": [],
"PDFIndexing": false,
"imagesIndexing": false,
"unsupportedFilesIndexing": "no",
"splitCamelCase": true,
"openInNewPane": false,
"vimLikeNavigationShortcut": false,
"ribbonIcon": true,
"showExcerpt": true,
"renderLineReturnInExcerpts": true,
"showCreateButton": false,
"highlight": true,
"showPreviousQueryResults": true,
"simpleSearch": false,
"fuzziness": "1",
"weightBasename": 3,
"weightDirectory": 2,
"weightH1": 1.5,
"weightH2": 1.3,
"weightH3": 1.1,
"weightUnmarkedTags": 1.1,
"welcomeMessage": "1.10.1",
"verboseLogging": false
}

50
.obsidian/plugins/omnisearch/main.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,14 @@
{
"id": "omnisearch",
"name": "Omnisearch",
"version": "1.17.1",
"minAppVersion": "1.3.0",
"description": "A search engine that just works",
"author": "Simon Cambier",
"authorUrl": "https://github.com/scambier/obsidian-omnisearch",
"fundingUrl": {
"Github": "https://github.com/sponsors/scambier",
"Ko-fi": "https://ko-fi.com/scambier"
},
"isDesktopOnly": false
}

94
.obsidian/plugins/omnisearch/styles.css vendored Normal file
View File

@@ -0,0 +1,94 @@
.omnisearch-modal {
}
.omnisearch-result {
white-space: normal;
display: flex;
flex-direction: row;
justify-content: space-between;
flex-wrap: nowrap;
}
.omnisearch-result__title-container {
display: flex;
align-items: center;
justify-content: space-between;
column-gap: 5px;
flex-wrap: wrap;
}
.omnisearch-result__title {
white-space: pre-wrap;
align-items: center;
display: flex;
gap: 5px;
}
.omnisearch-result__title > span {
}
.omnisearch-result__folder-path {
font-size: 0.75rem;
align-items: center;
display: flex;
gap: 5px;
color: var(--text-muted);
}
.omnisearch-result__extension {
font-size: 0.7rem;
color: var(--text-muted);
}
.omnisearch-result__counter {
font-size: 0.7rem;
color: var(--text-muted);
}
.omnisearch-result__body {
white-space: normal;
font-size: small;
word-wrap: normal;
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
color: var(--text-muted);
margin-left: 0.5em;
}
.omnisearch-result__image-container {
flex-basis: 20%;
text-align: right
}
.omnisearch-highlight {
}
.omnisearch-default-highlight {
text-decoration: underline;
text-decoration-color: var(--text-highlight-bg);
text-decoration-thickness: 3px;
text-underline-offset: -1px;
text-decoration-skip-ink: none;
}
.omnisearch-input-container {
display: flex;
flex-direction: row;
gap: 5px;
}
@media only screen and (max-width: 600px) {
.omnisearch-input-container {
flex-direction: column;
}
}
.omnisearch-input-field {
position: relative;
flex-grow: 1;
}

View File

@@ -0,0 +1,7 @@
{
"name": "Catppuccin",
"version": "0.4.17",
"minAppVersion": "1.0.0",
"author": "Marshall Beckrich",
"authorUrl": "https://github.com/catppuccin/obsidian"
}

3842
.obsidian/themes/Catppuccin/theme.css vendored Normal file

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,7 @@
{
"name": "Dracula Official",
"version": "1.0.9",
"minAppVersion": "0.16.0",
"author": "Dracula",
"authorUrl": "https://gitlab.com/chrismettal"
}

View File

@@ -0,0 +1,805 @@
.theme-dark,
.theme-light{
/* Obsidian "Dark" import so light mode looks the same*/
--color-scheme: dark;
--highlight-mix-blend-mode: lighten;
--mono-rgb-0: 0, 0, 0;
--mono-rgb-100: 255, 255, 255;
--color-red-rgb: 251, 70, 76;
--color-red: #fb464c;
--color-orange-rgb: 233, 151, 63;
--color-orange: #e9973f;
--color-yellow-rgb: 224, 222, 113;
--color-yellow: #e0de71;
--color-green-rgb: 68, 207, 110;
--color-green: #44cf6e;
--color-cyan-rgb: 83, 223, 221;
--color-cyan: #53dfdd;
--color-blue-rgb: 2, 122, 255;
--color-blue: #027aff;
--color-purple-rgb: 168, 130, 255;
--color-purple: #a882ff;
--color-pink-rgb: 250, 153, 205;
--color-pink: #fa99cd;
--color-base-00: #1e1e1e;
--color-base-05: #212121;
--color-base-10: #242424;
--color-base-20: #262626;
--color-base-25: #2a2a2a;
--color-base-30: #363636;
--color-base-35: #3f3f3f;
--color-base-40: #555555;
--color-base-50: #666666;
--color-base-60: #999999;
--color-base-70: #bababa;
--color-base-100: #dadada;
--color-accent-hsl: var(--accent-h), var(--accent-s), var(--accent-l);
--color-accent: hsl(var(--accent-h), var(--accent-s), var(--accent-l));
--color-accent-1: hsl(var(--accent-h), var(--accent-s), calc(var(--accent-l) - 3.8%));
--color-accent-2: hsl(var(--accent-h), var(--accent-s), calc(var(--accent-l) + 3.8%));
--background-modifier-form-field: var(--color-base-25);
--interactive-normal: var(--color-base-30);
--interactive-hover: var(--color-base-35);
--background-modifier-box-shadow: rgba(0, 0, 0, 0.3);
--background-modifier-cover: rgba(10, 10, 10, 0.4);
--text-selection: hsla(var(--interactive-accent-hsl), 0.25);
--input-shadow: inset 0 0.5px 0.5px 0.5px rgba(255, 255, 255, 0.09), 0 2px 4px 0 rgba(0,0,0,.15), 0 1px 1.5px 0 rgba(0,0,0,.1), 0 1px 2px 0 rgba(0,0,0,.2), 0 0 0 0 transparent;
--input-shadow-hover: inset 0 0.5px 1px 0.5px rgba(255, 255, 255, 0.16), 0 2px 3px 0 rgba(0,0,0,.3), 0 1px 1.5px 0 rgba(0,0,0,.2), 0 1px 2px 0 rgba(0,0,0,.4), 0 0 0 0 transparent;
--shadow-s: 0px 1px 2px rgba(0, 0, 0, 0.121), 0px 3.4px 6.7px rgba(0, 0, 0, 0.179), 0px 15px 30px rgba(0, 0, 0, 0.3);
--shadow-l: 0px 1.8px 7.3px rgba(0, 0, 0, 0.071), 0px 6.3px 24.7px rgba(0, 0, 0, 0.112), 0px 30px 90px rgba(0, 0, 0, 0.2);
--pdf-shadow: 0 0 0 1px var(--background-modifier-border);
--pdf-thumbnail-shadow: 0 0 0 1px var(--background-modifier-border);
/* Actual Dracula colors*/
--background-primary: #282a36;
--background-primary-alt: #44475a;
--background-secondary: #1a1e24;
--background-secondary-alt: #282a36;
--text-normal: #f8f8f2;
--text-on-accent: #282a36;
--text-title-h1: #bd93f9;
--text-title-h2: #ffb86c;
--text-title-h3: #52fa7c;
--text-title-h4: #ff5555;
--text-title-h5: #f1fa8c;
--text-title-h6: #bd93f4;
--canvas-color-1: 255, 85, 85;
--canvas-color-2: 255, 184, 108;
--canvas-color-3: 241, 250, 140;
--canvas-color-4: 82, 250, 124;
--canvas-color-5: 139, 233, 253;
--canvas-color-6: 189, 147, 244;
--text-link: var(--text-accent);
--markup-code: #ffb86c;
--text-tag: #50fa7b;
--text-a: #ff79c6;
--text-a-hover: #ff79c0;
--text-mark: #f1fa8c;
--interactive-accent: #50fa7b;
--blockquote-border: #b294bb;
--interactive-accent-rgb: #f1fa8c;
--accent-h: 135;
--accent-s: 94%;
--accent-l: 65%;
}
/* LINKS & BRACKETS */
/* link */
/* url's */
/* editor */
.cm-url {
color: var(--text-link) !important;
}
/* preview */
.external-link {
color: var(--text-link) !important;
}
/* make external links italics to differentiate */
a:not(.internal-link) {
font-style: italic;
}
/* horizontal line in preview */
hr {
background-color: var(--text-normal);
border-color: var(--text-normal);
}
.markdown-preview-view hr {
background-color: var(--text-normal);
border-color: var(--text-normal);
}
.markdown-rendered hr {
background-color: var(--text-normal);
border-color: var(--text-normal);
}
.markdown-embed {
padding-left: 8px !important;
padding-right: 4px !important;
margin-left: 8px !important;
margin-right: 4px !important;
}
/* internal embedded link rendering in preview */
.markdown-embed-title {
color: var(--text-link);
}
/* NAKED EMBEDS*/
/* But keeping Border and Scroll! */
.markdown-embed-title {
display: none;
}
.markdown-preview-view .markdown-embed-content > :first-child {
margin-top: 0;
}
.markdown-preview-view .markdown-embed-content > :last-child {
margin-bottom: 0;
}
.markdown-embed-link {
color: var(--text-a) !important;
right: 2px !important;
}
.markdown-embed-link:hover {
color: var(--text-link) !important;
}
/* NO FILE OPEN PAGE*/
.empty-state-title {
color: var(--text-title-h1) !important;
}
.empty-state-action {
color: var(--text-muted) !important;
}
.empty-state-action:hover {
color: var(--text-normal) !important;
}
/* GRAPH VIEW */
#graph-view-canvas .links {
stroke: var(--interactive-accent-rgb) !important;
}
/* CODEBLOCKS */
/* code blocks in preview */
pre code {
padding: 5px !important;
color: var(--code-normal) !important;
line-height: normal;
display: block;
background-color: var(--background-primary-alt) !important;
}
.markdown-preview-view pre {
padding: 0px !important;
}
/* in-line code for editor and preview and code block for editor*/
code,
.cm-inline-code {
background-color: var(--background-primary-alt) !important;
color: var(--markup-code) !important;
bottom: 0px !important;
}
/* Code Appearance */
/* editor */
.CodeMirror-code span.cm-inline-code {
color: var(--markup-code) !important;
}
/* Editor CodeBlock TEXT Appearance - */
.cm-s-obsidian pre.HyperMD-codeblock {
color: var(--markup-code) !important;
}
/* preview */
.markdown-preview-view code {
color: var(--code-normal);
background-color: var(--background-primary-alt) !important;
bottom: -0.1px !important;
}
/* borders */
.cm-s-obsidian span.cm-inline-code {
border: 1px solid #525660;
border-radius: 4px;
}
.cm-s-obsidian span.cm-formatting-code.cm-inline-code {
border-right-width: 0;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.cm-s-obsidian span.cm-formatting-code.cm-inline-code + span.cm-inline-code {
border-right: none;
border-left: none;
border-radius: 0;
}
.cm-s-obsidian
span.cm-formatting-code.cm-inline-code
+ span.cm-inline-code
+ span.cm-formatting-code.cm-inline-code {
border-left-width: 0;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
border-right-width: 1px;
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
}
/* BLOCKQUOTES */
/* editor */
.cm-quote {
color: var(--interactive-accent) !important;
font-style: italic;
}
/* preview */
blockquote {
color: var(--interactive-accent) !important;
font-style: italic;
border-color: var(--blockquote-border) !important;
}
/* IMAGES */
/* embedded images */
img {
display: block;
margin-left: 20pt;
margin-right: auto;
}
/* TABLES */
th {
border: 1px solid var(--background-primary-alt) !important;
}
td {
border: 1px solid var(--background-primary-alt) !important
}
thead {
border-bottom: 4px solid var(--background-primary-alt);
}
.table {
background-color: var(--background-secondary-alt);
border: 1px solid var(--background-primary-alt);
padding: 4px;
line-height: normal;
display: block;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
border-bottom-left-radius: 4px;
}
/* SIDEBAR & DOCK ETC. */
/* view action buttons */
.view-action {
color: var(--text-muted) !important;
text-decoration: none !important;
}
.view-action:hover,
.view-action.is-active {
color: var(--text-normal) !important;
}
.status-bar {
background-color: var(--background-secondary-alt);
}
.side-dock-ribbon-action {
color: var(--text-muted) !important;
}
.side-dock-ribbon-action:hover {
color: var(--text-normal) !important;
}
.workspace-tab-header {
color: var(--text-muted) !important;
text-decoration: none !important;
}
.workspace-tab-header:hover {
color: var(--text-normal) !important;
}
button.mod-cta {
background-color: var(--interactive-accent);
color: var(--text-on-accent);
}
.horizontal-tab-nav-item.is-active, .vertical-tab-nav-item.is-active {
background-color: var(--interactive-accent);
color: var(--text-on-accent);
}
/* searchbar */
.side-dock-panels-container {
background-color: var(--background-secondary-alt) !important;
color: var(background-secondary-alt);
}
/* icons at top of panes*/
.file-view-actions a {
color: var(--text-muted) !important;
}
.file-view-actions a:hover {
color: var(--text-muted) !important;
}
/* html tags in editor */
.cm-tag {
color: var(--text-tag) !important;
}
/* .side-dock-ribbon-tab,
.side-dock-ribbon-action {} */
.side-dock-ribbon-tab.is-active {
color: var(--interactive-accent) !important;
}
.side-dock-ribbon-tab.is-active .side-dock-ribbon-tab-inner:hover {
color: #6272a4 !important;
background-color: var(--background-secondary);
}
.nav-file-title {
color: var(--text-muted) !important;
background-color: var(--background-secondary);
}
.is-translucent .nav-file-title:not(.is-active) {
background-color: transparent;
}
.nav-folder-title {
color: var(--text-muted) !important;
background-color: var(--background-secondary);
}
.is-translucent .nav-folder-title {
background-color: transparent;
}
.nav-file-title:hover {
color: var(--text-normal) !important;
}
.nav-folder-title:hover {
color: var(--text-normal) !important;
}
.nav-action-button.is-active {
background-color: var(--background-secondary-alt);
}
.search-result-file-title {
color: var(--text-a) !important;
background-color: var(--background-secondary);
}
.is-translucent .search-result-file-title {
background-color: transparent;
}
.search-result-file-matched-text {
color: var(--text-link) !important;
background-color: var(--background-secondary);
}
/* .nav-file-tag {
color: #59a2c5;
} /* for the PNG text, but can't specifically target "PNG", just all of those filetype tags. */
.nav-file.is-active .nav-file-tag {
color: var(--text-normal);
}
/* hover actions on side dock navigation */
.side-dock-ribbon-tab:hover,
.side-dock-ribbon-tab-inner:hover,
.side-dock-ribbon-action:hover,
.side-dock-ribbon-action.is-active:hover,
.nav-action-button:hover,
.side-dock-collapse-btn:hover {
color: var(--text-normal);
}
/* Hover color over tree item flairs */
.tree-item-self:hover .tree-item-flair {
background-color: var(--background-secondary);
}
/* clean up side bar empty state (e.g. unlinked mentions) */
.search-empty-state {
width: auto;
padding-left: 15px;
padding-right: 15px;
line-height: normal;
}
/* clean up side bar empty state (e.g. unlinked mentions) */
.search-empty-state {
width: auto;
padding-left: 10px;
padding-right: 5px;
line-height: normal;
}
/* NORMAL TEXT OUTSIDE OF HEADINGS AND CODE */
/* preview */
.markdown-preview-view {
color: var(--text-normal);
padding-left: 8% !important;
padding-right: 4% !important;
}
.mod-single-child .markdown-preview-view {
color: var(--text-normal);
padding-left: 10% !important;
padding-right: 10% !important;
}
/* editor */
.cm-s-obsidian {
color: var(--text-normal);
padding-left: 8% !important;
padding-right: 4% !important;
}
.mod-single-child .cm-s-obsidian {
color: var(--text-normal);
padding-left: 8% !important;
padding-right: 4% !important;
}
/* HEADINGS */
/* preview */
.markdown-preview-view h1 {
color: var(--text-title-h1);
}
.markdown-preview-view h2 {
color: var(--text-title-h2);
}
.markdown-preview-view h3 {
color: var(--text-title-h3);
}
.markdown-preview-view h4 {
color: var(--text-title-h4);
}
.markdown-preview-view h5 {
color: var(--text-title-h5);
}
.markdown-preview-view h6 {
color: var(--text-title-h6);
}
/* editor */
.cm-header-1 {
color: var(--text-title-h1);
}
.cm-header-2 {
color: var(--text-title-h2);
}
.cm-header-3 {
color: var(--text-title-h3);
}
.cm-header-4 {
color: var(--text-title-h4);
}
.cm-header-5 {
color: var(--text-title-h5);
}
.cm-header-6 {
color: var(--text-title-h6);
}
/* TAGS */
/* preview */
a.tag {
color: var(--text-tag);
}
/* editor */
.cm-hashtag {
color: var(--text-tag) !important;
}
/* BOLD */
/* preview */
strong {
color: var(--markup-code);
}
/* editor */
.cm-strong {
color: var(--markup-code);
}
/* ITALICS */
/* preview */
em {
color: var(--interactive-accent);
}
/* editor */
.cm-em {
color: var(--interactive-accent);
}
/* HIGHLIGHT */
/* preview */
mark {
color: var(--background-primary);
background-color: var(--text-mark);
padding-top: 1px;
padding-bottom: 1px;
}
/* editor */
.cm-highlight {
color: var(--background-primary) !important;
background-color: var(--text-mark) !important;
padding-top: 1px;
padding-bottom: 1px;
}
/* COLLAPSED RIBBONS */
.workspace-ribbon.is-collapsed {
background-color: var(--background-secondary-alt) !important;
}
.workspace-ribbon.mod-right.is-collapsed {
background-color: var(--background-secondary-alt) !important;
}
.workspace-ribbon.mod-left.is-collapsed {
background-color: var(--background-secondary-alt) !important;
}
/* POPUP NOTIFICATION*/
.notice {
color: var(--text-normal) !important;
background-color: var(--blockquote-border) !important;
}
/* UL, OL, BULLETS, CHECKBOXES & FOLDING ARROWS */
/* task lists */
.markdown-preview-view .task-list-item-checkbox {
-webkit-appearance: none;
top: 1.3px !important;
right: 5px !important;
box-sizing: border-box;
border: 1px solid var(--accent-2);
position: relative;
width: 1.25em;
height: 1.25em;
margin: 0;
box-shadow: 0 0 0.1em var(--interactive-accent);
}
.markdown-preview-view .task-list-item-checkbox:checked::before {
content: "✓";
position: absolute;
color: var(--interactive-accent);
line-height: 1.25em;
width: 1.2em;
text-align: center;
text-shadow: 0 0 0.5em var(--accent-2);
}
.markdown-preview-view .task-list-item-checkbox {
top: 0px;
}
.checkbox-container {
background-color: var(--background-primary-alt);
border-radius: 14px;
display: inline-block;
height: 22px;
position: relative;
top: 4px;
user-select: none;
width: 42px;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.15);
transition: background 0.15s ease-in-out, box-shadow 0.15s ease-in-out,
border 0.15s ease-in-out, opacity 0.15s ease-in-out,
-webkit-box-shadow 0.15s ease-in-out;
}
.checkbox-container.is-enabled {
background-color: var(--interactive-accent);
}
.markdown-preview-view mark {
color: var(--text-link);
background-color: var(--background-primary-alt);
}
.cm-formatting
/* This is the color of header hashtags. Don't change. */
.cm-formatting-list-ul .cm-list-1
/* This is the color of text in lists. Don't change. */
/* Subtler code folding arrows */
.CodeMirror-foldgutter-folded:after,
.CodeMirror-foldgutter-open:after {
opacity: 0.5;
color: var(--text-link);
}
.CodeMirror-foldgutter-folded:hover:after,
.CodeMirror-foldgutter-open:hover:after {
opacity: 1;
color: var(--text-link);
}
.CodeMirror-foldgutter-folded:after {
content: "\25BA";
color: var(--text-link);
}
.CodeMirror-foldgutter-open:after {
content: "\25BC";
}
/* Bullet Point Relationship Lines */
.cm-hmd-list-indent .cm-tab,
ul ul {
position: relative;
}
.cm-hmd-list-indent .cm-tab::before,
ul ul::before {
content: "";
border-left: 1px solid;
color: #92CDD6;
position: absolute;
}
.cm-hmd-list-indent .cm-tab::before {
left: 0;
top: -5px;
bottom: -4px;
}
ul ul::before {
left: 0px;
top: 0;
bottom: 0;
}
/* ul, li & ol colors in editor */
.cm-s-obsidian span.cm-formatting-list {
color: #8abeb7;
}
ol {
display: block;
list-style-type: decimal;
margin-block-start: 1em;
margin-block-end: 1em;
margin-inline-start: 0px;
margin-inline-end: 0px;
padding-inline-start: 40px;
}
.suggestion-highlight {
color: var(--interactive-accent)!important;
}
.is-selected {
background-color: var(--blockquote-border)!important;
}
@media print {
@page {
margin: 0mm 0mm 0mm 0mm;
}
.print .markdown-preview-view {
-webkit-print-color-adjust: exact;
background-color: #282a36;
color: #f8f8f2;
}
.markdown-rendered code {
color: #BABABA !important;
}
}

7
.obsidian/themes/Encore/manifest.json vendored Normal file
View File

@@ -0,0 +1,7 @@
{
"name": "Encore",
"version": "2.8.0",
"minAppVersion": "1.1.9",
"author": "Carbonateb",
"authorUrl": "https://lucaschampagne.dev/"
}

2011
.obsidian/themes/Encore/theme.css vendored Normal file

File diff suppressed because one or more lines are too long

238
.obsidian/workspace.json vendored Normal file
View File

@@ -0,0 +1,238 @@
{
"main": {
"id": "b894e6395441bf91",
"type": "split",
"children": [
{
"id": "a5a324d300e6e103",
"type": "tabs",
"children": [
{
"id": "9513a065081c5bb6",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "Semester 1/Database Systems/Assignment/Querying Database.md",
"mode": "source",
"source": false
}
}
},
{
"id": "32c79d56306ffbbf",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "Semester 2/Programming 2/Week 1/Week 1 Programming 2.md",
"mode": "source",
"source": false
}
}
}
],
"currentTab": 1
}
],
"direction": "vertical"
},
"left": {
"id": "29180f976da6913e",
"type": "split",
"children": [
{
"id": "5e6a5a1cfc68c394",
"type": "tabs",
"children": [
{
"id": "b645eb003ca29da3",
"type": "leaf",
"state": {
"type": "search",
"state": {
"query": "",
"matchingCase": false,
"explainSearch": false,
"collapseAll": false,
"extraContext": false,
"sortOrder": "alphabetical"
}
}
},
{
"id": "fffdf73e5f225916",
"type": "leaf",
"state": {
"type": "bookmarks",
"state": {}
}
},
{
"id": "671043c113c40804",
"type": "leaf",
"state": {
"type": "file-explorer",
"state": {
"sortOrder": "alphabetical"
}
}
}
],
"currentTab": 2
}
],
"direction": "horizontal",
"width": 200
},
"right": {
"id": "ee8f6df41634f71e",
"type": "split",
"children": [
{
"id": "08c5be16080a33d4",
"type": "tabs",
"children": [
{
"id": "28df09223f5ff3ba",
"type": "leaf",
"state": {
"type": "backlink",
"state": {
"file": "Semester 2/Programming 2/Week 1/Week 1 Programming 2.md",
"collapseAll": false,
"extraContext": false,
"sortOrder": "alphabetical",
"showSearch": false,
"searchQuery": "",
"backlinkCollapsed": false,
"unlinkedCollapsed": true
}
}
},
{
"id": "7bc5b41711af1822",
"type": "leaf",
"state": {
"type": "outgoing-link",
"state": {
"file": "Semester 2/Programming 2/Week 1/Week 1 Programming 2.md",
"linksCollapsed": false,
"unlinkedCollapsed": true
}
}
},
{
"id": "1817c377e59b8531",
"type": "leaf",
"state": {
"type": "tag",
"state": {
"sortOrder": "frequency",
"useHierarchy": true
}
}
},
{
"id": "3f130e3d308d39ed",
"type": "leaf",
"state": {
"type": "outline",
"state": {
"file": "Semester 2/Programming 2/Week 1/Week 1 Programming 2.md"
}
}
},
{
"id": "2e33e92dc5f2fbae",
"type": "leaf",
"state": {
"type": "all-properties",
"state": {
"sortOrder": "frequency",
"showSearch": false,
"searchQuery": ""
}
}
},
{
"id": "ff4e63a36b080692",
"type": "leaf",
"state": {
"type": "git-view",
"state": {}
}
}
],
"currentTab": 5
}
],
"direction": "horizontal",
"width": 300,
"collapsed": true
},
"left-ribbon": {
"hiddenItems": {
"obsidian-day-planner:Week plan": false,
"omnisearch:Omnisearch": false,
"switcher:Open quick switcher": false,
"graph:Open graph view": false,
"canvas:Create new canvas": false,
"daily-notes:Open today's daily note": false,
"templates:Insert template": false,
"command-palette:Open command palette": false
}
},
"active": "671043c113c40804",
"lastOpenFiles": [
"README.md",
"Semester 2/Computer Systems Internals & Linux/Week 1/Week 1 Computer Systems Internals.md",
"Semester 2/Programming 2/Week 1/Week 1 Programming 2.md",
"Semester 2/Computer Systems Internals & Linux/Week 1",
"Semester 2/Programming 2/Week 1",
"Semester 2/Computer Systems Internals & Linux",
"Semester 2/Programming 2",
"Semester 2",
"Semester 1",
"2023-10-31.md",
"2024-01-15.md",
"Semester 1/Web Development and HCI/Assignment.odt",
"Web Development and HCI/lu11370hmnm.tmp",
"Semester 1/Web Development and HCI/Assignment 1/src/styles/index.css",
"Semester 1/Web Development and HCI/Assignment 1/src/images/proxmox-03.jpg",
"Semester 1/Web Development and HCI/Assignment 1/src/images/proxmox-04.jpg",
"Web Development and HCI/Assignment 1/src/images/Screenshot from 2023-12-07 18-29-51.png",
"Semester 1/Web Development and HCI/Assignment 1/src/images/proxmox-02.jpg",
"Web Development and HCI/Assignment 1/src/images/Screenshot from 2023-12-07 17-29-53.png",
"Semester 1/Web Development and HCI/Assignment 1/src/images/proxmox-02.jpg~",
"Web Development and HCI/Assignment 1/src/images/proxmox-02.png",
"Web Development and HCI/Assignment 1/src/images/Screenshot from 2023-12-07 16-49-07.png",
"Semester 1/Web Development and HCI/Assignment 1/src/images/proxmox-01.jpg",
"Semester 1/Database Systems/Week 9/Week 9 Database Systems.md",
"Semester 1/Database Systems/Assignment/ERD.png",
"Semester 1/Database Systems/Week 10/Week 10.md",
"Semester 1/Database Systems/Week 8/Week 8 Database Systems.md",
"Semester 1/Database Systems/Week 7/Week 7 Database Systems.md",
"Semester 1/Database Systems/Week 5/Week 5 Database Systems.md",
"Semester 1/Database Systems/Week 6/Week 6 Database Systems.md",
"Semester 1/Database Systems/Assignment/Relational Model.md",
"Semester 1/Database Systems/Assignment/Querying Database.md",
"Semester 1/Database Systems/Assignment/ER Diagram.md",
"Semester 1/Database Systems/Assignment/Populating Database.md",
"Semester 1/Database Systems/Week 11/Week 11 Database Systems.md",
"Semester 1/Database Systems/Assignment/postgre Compatible.md",
"images/Pasted image 20231204191255.png",
"Semester 1/Database Systems/Assignment/Creating Tables.md",
"Semester 1/Computer Systems Internals & Linux/Coursework 1/Final.md",
"Semester 1/Computer Systems Internals & Linux/Coursework 1/Task 4.md",
"Semester 1/Computer Systems Internals & Linux/Coursework 1/Task 5.md",
"Semester 1/Computer Systems Internals & Linux/Coursework 1/Task 3.md",
"Semester 1/Computer Systems Internals & Linux/Coursework 1/Task 1.md",
"Semester 1/Computer Systems Internals & Linux/Coursework 1/Task 2.md",
"Semester 1/Computer Systems Internals & Linux/Week 7/Week 7 Computer Systems.md",
"Semester 1/DatabaseBackup/Week 3/Week 3 Database Systems.md",
"Database Systems/Untitled.canvas",
"Untitled 1.canvas",
"Untitled.canvas"
]
}