mirror of
https://github.com/natelandau/obsidian-metadata.git
synced 2025-11-18 18:03:39 -05:00
feat: initial application release
This commit is contained in:
3
tests/fixtures/sample_vault/.obsidian/app.json
vendored
Normal file
3
tests/fixtures/sample_vault/.obsidian/app.json
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"alwaysUpdateLinks": true
|
||||
}
|
||||
3
tests/fixtures/sample_vault/.obsidian/appearance.json
vendored
Normal file
3
tests/fixtures/sample_vault/.obsidian/appearance.json
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"accentColor": ""
|
||||
}
|
||||
3
tests/fixtures/sample_vault/.obsidian/community-plugins.json
vendored
Normal file
3
tests/fixtures/sample_vault/.obsidian/community-plugins.json
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
[
|
||||
"templater-obsidian"
|
||||
]
|
||||
29
tests/fixtures/sample_vault/.obsidian/core-plugins-migration.json
vendored
Normal file
29
tests/fixtures/sample_vault/.obsidian/core-plugins-migration.json
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"file-explorer": true,
|
||||
"global-search": true,
|
||||
"switcher": true,
|
||||
"graph": true,
|
||||
"backlink": true,
|
||||
"canvas": true,
|
||||
"outgoing-link": true,
|
||||
"tag-pane": true,
|
||||
"page-preview": true,
|
||||
"daily-notes": true,
|
||||
"templates": true,
|
||||
"note-composer": true,
|
||||
"command-palette": true,
|
||||
"slash-command": false,
|
||||
"editor-status": true,
|
||||
"starred": true,
|
||||
"markdown-importer": false,
|
||||
"zk-prefixer": false,
|
||||
"random-note": false,
|
||||
"outline": true,
|
||||
"word-count": true,
|
||||
"slides": false,
|
||||
"audio-recorder": false,
|
||||
"workspaces": false,
|
||||
"file-recovery": true,
|
||||
"publish": false,
|
||||
"sync": false
|
||||
}
|
||||
20
tests/fixtures/sample_vault/.obsidian/core-plugins.json
vendored
Normal file
20
tests/fixtures/sample_vault/.obsidian/core-plugins.json
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
[
|
||||
"file-explorer",
|
||||
"global-search",
|
||||
"switcher",
|
||||
"graph",
|
||||
"backlink",
|
||||
"canvas",
|
||||
"outgoing-link",
|
||||
"tag-pane",
|
||||
"page-preview",
|
||||
"daily-notes",
|
||||
"templates",
|
||||
"note-composer",
|
||||
"command-palette",
|
||||
"editor-status",
|
||||
"starred",
|
||||
"outline",
|
||||
"word-count",
|
||||
"file-recovery"
|
||||
]
|
||||
1
tests/fixtures/sample_vault/.obsidian/hotkeys.json
vendored
Normal file
1
tests/fixtures/sample_vault/.obsidian/hotkeys.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{}
|
||||
5617
tests/fixtures/sample_vault/.obsidian/plugins/templater-obsidian/main.js
vendored
Normal file
5617
tests/fixtures/sample_vault/.obsidian/plugins/templater-obsidian/main.js
vendored
Normal file
File diff suppressed because one or more lines are too long
10
tests/fixtures/sample_vault/.obsidian/plugins/templater-obsidian/manifest.json
vendored
Normal file
10
tests/fixtures/sample_vault/.obsidian/plugins/templater-obsidian/manifest.json
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"id": "templater-obsidian",
|
||||
"name": "Templater",
|
||||
"version": "1.16.0",
|
||||
"description": "Create and use templates",
|
||||
"minAppVersion": "0.11.13",
|
||||
"author": "SilentVoid",
|
||||
"authorUrl": "https://github.com/SilentVoid13",
|
||||
"isDesktopOnly": false
|
||||
}
|
||||
281
tests/fixtures/sample_vault/.obsidian/plugins/templater-obsidian/styles.css
vendored
Normal file
281
tests/fixtures/sample_vault/.obsidian/plugins/templater-obsidian/styles.css
vendored
Normal file
@@ -0,0 +1,281 @@
|
||||
.templater_search {
|
||||
width: calc(100% - 20px);
|
||||
}
|
||||
|
||||
.templater_div {
|
||||
border-top: 1px solid var(--background-modifier-border);
|
||||
}
|
||||
|
||||
.templater_div > .setting-item {
|
||||
border-top: none !important;
|
||||
align-self: center;
|
||||
}
|
||||
|
||||
.templater_div > .setting-item > .setting-item-control {
|
||||
justify-content: space-around;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.templater_div
|
||||
> .setting-item
|
||||
> .setting-item-control
|
||||
> .setting-editor-extra-setting-button {
|
||||
align-self: center;
|
||||
}
|
||||
|
||||
.templater_donating {
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
.templater_title {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
margin-top: 5px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.templater_template {
|
||||
align-self: center;
|
||||
margin-left: 5px;
|
||||
margin-right: 5px;
|
||||
width: 70%;
|
||||
}
|
||||
|
||||
.templater_cmd {
|
||||
margin-left: 5px;
|
||||
margin-right: 5px;
|
||||
font-size: 14px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.templater_div2 > .setting-item {
|
||||
align-content: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.templater-prompt-div {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.templater-prompt-form {
|
||||
display: flex;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.templater-prompt-input {
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.templater-button-div {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
textarea.templater-prompt-input {
|
||||
height: 10rem;
|
||||
}
|
||||
|
||||
textarea.templater-prompt-input:focus {
|
||||
border-color: var(--interactive-accent);
|
||||
}
|
||||
|
||||
.cm-s-obsidian .templater-command-bg {
|
||||
left: 0px;
|
||||
right: 0px;
|
||||
background-color: var(--background-primary-alt);
|
||||
}
|
||||
|
||||
.cm-s-obsidian .cm-templater-command {
|
||||
font-size: 0.85em;
|
||||
font-family: var(--font-monospace);
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.cm-s-obsidian .templater-inline .cm-templater-command {
|
||||
background-color: var(--background-primary-alt);
|
||||
}
|
||||
|
||||
.cm-s-obsidian .cm-templater-command.cm-templater-opening-tag {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.cm-s-obsidian .cm-templater-command.cm-templater-closing-tag {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.cm-s-obsidian .cm-templater-command.cm-templater-interpolation-tag {
|
||||
color: #008bff;
|
||||
}
|
||||
|
||||
.cm-s-obsidian .cm-templater-command.cm-templater-execution-tag {
|
||||
color: #c0d700;
|
||||
}
|
||||
|
||||
.theme-dark .cm-s-obsidian .cm-templater-command.cm-keyword {
|
||||
color: #00a7aa;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.theme-dark .cm-s-obsidian .cm-templater-command.cm-atom {
|
||||
color: #f39b35;
|
||||
}
|
||||
|
||||
.theme-dark .cm-s-obsidian .cm-templater-command.cm-number {
|
||||
color: #a06fca;
|
||||
}
|
||||
|
||||
.theme-dark .cm-s-obsidian .cm-templater-command.cm-type {
|
||||
color: #a06fca;
|
||||
}
|
||||
|
||||
.theme-dark .cm-s-obsidian .cm-templater-command.cm-def {
|
||||
color: #98e342;
|
||||
}
|
||||
|
||||
.theme-dark .cm-s-obsidian .cm-templater-command.cm-property {
|
||||
color: #d4d4d4;
|
||||
}
|
||||
|
||||
.theme-dark .cm-s-obsidian .cm-templater-command.cm-variable {
|
||||
color: #d4d4d4;
|
||||
}
|
||||
|
||||
.theme-dark .cm-s-obsidian .cm-templater-command.cm-variable-2 {
|
||||
color: #da7dae;
|
||||
}
|
||||
|
||||
.theme-dark .cm-s-obsidian .cm-templater-command.cm-variable-3 {
|
||||
color: #a06fca;
|
||||
}
|
||||
|
||||
.theme-dark .cm-s-obsidian .cm-templater-command.cm-type.cm-def {
|
||||
color: #fc4384;
|
||||
}
|
||||
|
||||
.theme-dark .cm-s-obsidian .cm-templater-command.cm-property.cm-def {
|
||||
color: #fc4384;
|
||||
}
|
||||
|
||||
.theme-dark .cm-s-obsidian .cm-templater-command.cm-callee {
|
||||
color: #fc4384;
|
||||
}
|
||||
|
||||
.theme-dark .cm-s-obsidian .cm-templater-command.cm-operator {
|
||||
color: #fc4384;
|
||||
}
|
||||
|
||||
.theme-dark .cm-s-obsidian .cm-templater-command.cm-qualifier {
|
||||
color: #fc4384;
|
||||
}
|
||||
|
||||
.theme-dark .cm-s-obsidian .cm-templater-command.cm-tag {
|
||||
color: #fc4384;
|
||||
}
|
||||
|
||||
.theme-dark .cm-s-obsidian .cm-templater-command.cm-tag.cm-bracket {
|
||||
color: #d4d4d4;
|
||||
}
|
||||
|
||||
.theme-dark .cm-s-obsidian .cm-templater-command.cm-attribute {
|
||||
color: #a06fca;
|
||||
}
|
||||
|
||||
.theme-dark .cm-s-obsidian .cm-templater-command.cm-comment {
|
||||
color: #696d70;
|
||||
}
|
||||
|
||||
.theme-dark .cm-s-obsidian .cm-templater-command.cm-comment.cm-tag {
|
||||
color: #fc4384;
|
||||
}
|
||||
|
||||
.theme-dark .cm-s-obsidian .cm-templater-command.cm-comment.cm-attribute {
|
||||
color: #d4d4d4;
|
||||
}
|
||||
|
||||
.theme-dark .cm-s-obsidian .cm-templater-command.cm-string {
|
||||
color: #e6db74;
|
||||
}
|
||||
|
||||
.theme-dark .cm-s-obsidian .cm-templater-command.cm-string-2 {
|
||||
color: #f39b35;
|
||||
}
|
||||
|
||||
.theme-dark .cm-s-obsidian .cm-templater-command.cm-meta {
|
||||
color: #d4d4d4;
|
||||
background: inherit;
|
||||
}
|
||||
|
||||
.theme-dark .cm-s-obsidian .cm-templater-command.cm-builtin {
|
||||
color: #fc4384;
|
||||
}
|
||||
|
||||
.theme-dark .cm-s-obsidian .cm-templater-command.cm-header {
|
||||
color: #da7dae;
|
||||
}
|
||||
|
||||
.theme-dark .cm-s-obsidian .cm-templater-command.cm-hr {
|
||||
color: #98e342;
|
||||
}
|
||||
|
||||
.theme-dark .cm-s-obsidian .cm-templater-command.cm-link {
|
||||
color: #696d70;
|
||||
}
|
||||
|
||||
.theme-dark .cm-s-obsidian .cm-templater-command.cm-error {
|
||||
border-bottom: 1px solid #c42412;
|
||||
}
|
||||
|
||||
.theme-dark .cm-s-obsidian pre.HyperMD-codeblock .cm-keyword {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.theme-dark
|
||||
.cm-s-obsidian
|
||||
.cm-templater-command.CodeMirror-activeline-background {
|
||||
background: #272727;
|
||||
}
|
||||
|
||||
.theme-dark .cm-s-obsidian .cm-templater-command.CodeMirror-matchingbracket {
|
||||
outline: 1px solid grey;
|
||||
color: #d4d4d4 !important;
|
||||
}
|
||||
|
||||
.CodeMirror-hints {
|
||||
position: absolute;
|
||||
z-index: 10;
|
||||
overflow: hidden;
|
||||
list-style: none;
|
||||
|
||||
margin: 0;
|
||||
padding: 2px;
|
||||
|
||||
-webkit-box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.2);
|
||||
-moz-box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.2);
|
||||
box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.2);
|
||||
border-radius: 3px;
|
||||
border: 1px solid silver;
|
||||
|
||||
background: white;
|
||||
font-size: 90%;
|
||||
font-family: monospace;
|
||||
|
||||
max-height: 20em;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.CodeMirror-hint {
|
||||
margin: 0;
|
||||
padding: 0 4px;
|
||||
border-radius: 2px;
|
||||
white-space: pre;
|
||||
color: black;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
li.CodeMirror-hint-active {
|
||||
background: #08f;
|
||||
color: white;
|
||||
}
|
||||
155
tests/fixtures/sample_vault/.obsidian/workspace.json
vendored
Normal file
155
tests/fixtures/sample_vault/.obsidian/workspace.json
vendored
Normal file
@@ -0,0 +1,155 @@
|
||||
{
|
||||
"main": {
|
||||
"id": "5f828621a37b21ab",
|
||||
"type": "split",
|
||||
"children": [
|
||||
{
|
||||
"id": "2f3322f01c16279b",
|
||||
"type": "tabs",
|
||||
"children": [
|
||||
{
|
||||
"id": "d16a705340a291b0",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "empty",
|
||||
"state": {}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"direction": "vertical"
|
||||
},
|
||||
"left": {
|
||||
"id": "aeebc2581160842a",
|
||||
"type": "split",
|
||||
"children": [
|
||||
{
|
||||
"id": "cd71abd49c3ceb86",
|
||||
"type": "tabs",
|
||||
"children": [
|
||||
{
|
||||
"id": "fe51579e3e74af15",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "file-explorer",
|
||||
"state": {
|
||||
"sortOrder": "alphabetical"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "2a7187c7c8d51306",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "search",
|
||||
"state": {
|
||||
"query": "",
|
||||
"matchingCase": false,
|
||||
"explainSearch": false,
|
||||
"collapseAll": false,
|
||||
"extraContext": false,
|
||||
"sortOrder": "alphabetical"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "574f0713150d5067",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "starred",
|
||||
"state": {}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"direction": "horizontal",
|
||||
"width": 300
|
||||
},
|
||||
"right": {
|
||||
"id": "b20cf1cec7ad8379",
|
||||
"type": "split",
|
||||
"children": [
|
||||
{
|
||||
"id": "e4268aea52a4b751",
|
||||
"type": "tabs",
|
||||
"children": [
|
||||
{
|
||||
"id": "495261df1eda8469",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "backlink",
|
||||
"state": {
|
||||
"collapseAll": false,
|
||||
"extraContext": false,
|
||||
"sortOrder": "alphabetical",
|
||||
"showSearch": false,
|
||||
"searchQuery": "",
|
||||
"backlinkCollapsed": false,
|
||||
"unlinkedCollapsed": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "a552a9e316c497c2",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "outgoing-link",
|
||||
"state": {
|
||||
"linksCollapsed": false,
|
||||
"unlinkedCollapsed": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "49ac9a323fc7a3bb",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "tag",
|
||||
"state": {
|
||||
"sortOrder": "frequency",
|
||||
"useHierarchy": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "93bd91c8147876e4",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "outline",
|
||||
"state": {}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"direction": "horizontal",
|
||||
"width": 300,
|
||||
"collapsed": true
|
||||
},
|
||||
"left-ribbon": {
|
||||
"hiddenItems": {
|
||||
"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,
|
||||
"templater-obsidian:Templater": false
|
||||
}
|
||||
},
|
||||
"active": "d16a705340a291b0",
|
||||
"lastOpenFiles": [
|
||||
"00 meta/templates/daily note.md",
|
||||
"+inbox/Untitled.md",
|
||||
"01 frontmatter/frontmatter 1.md",
|
||||
"01 frontmatter/frontmatter 2.md",
|
||||
"01 frontmatter/frontmatter 3.md",
|
||||
"01 frontmatter/frontmatter 4.md",
|
||||
"02 inline/inline 1.md",
|
||||
"02 inline/inline 2.md",
|
||||
"02 inline/inline 3.md",
|
||||
"02 inline/inline 4.md"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user