added Problem template using alt+p

This commit is contained in:
Jesse James Isler 2022-06-27 12:05:22 +02:00
parent 69ab6371da
commit 4b14257489
10 changed files with 6045 additions and 13 deletions

View File

@ -6,5 +6,6 @@
"meld-encrypt", "meld-encrypt",
"obsidian-auto-link-title", "obsidian-auto-link-title",
"obsidian-reading-time", "obsidian-reading-time",
"obsidian-timestamper" "obsidian-timestamper",
"templater-obsidian"
] ]

View File

@ -6,5 +6,13 @@
], ],
"key": "." "key": "."
} }
],
"templater-obsidian:templates/New Problem.md": [
{
"modifiers": [
"Alt"
],
"key": "P"
}
] ]
} }

View File

@ -0,0 +1,29 @@
{
"command_timeout": 5,
"templates_folder": "templates",
"templates_pairs": [
[
"",
""
]
],
"trigger_on_file_creation": false,
"auto_jump_to_cursor": false,
"enable_system_commands": false,
"shell_path": "",
"user_scripts_folder": "",
"enable_folder_templates": true,
"folder_templates": [
{
"folder": "",
"template": ""
}
],
"syntax_highlighting": true,
"enabled_templates_hotkeys": [
"templates/New Problem.md"
],
"startup_templates": [
""
]
}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,10 @@
{
"id": "templater-obsidian",
"name": "Templater",
"version": "1.12.0",
"description": "Create and use templates",
"minAppVersion": "0.11.13",
"author": "SilentVoid",
"authorUrl": "https://github.com/SilentVoid13",
"isDesktopOnly": false
}

View File

@ -0,0 +1,266 @@
.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_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;
}
.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;
}
.cm-s-obsidian .cm-templater-command.cm-templater-raw-tag {
color: green;
}
.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;
}

18
.obsidian/workspace vendored
View File

@ -9,7 +9,7 @@
"state": { "state": {
"type": "markdown", "type": "markdown",
"state": { "state": {
"file": "templates/Daily Note.md", "file": "Daily/27.06.2022.md",
"mode": "source", "mode": "source",
"source": false "source": false
} }
@ -86,7 +86,7 @@
"state": { "state": {
"type": "backlink", "type": "backlink",
"state": { "state": {
"file": "templates/Daily Note.md", "file": "Daily/27.06.2022.md",
"collapseAll": false, "collapseAll": false,
"extraContext": false, "extraContext": false,
"sortOrder": "alphabetical", "sortOrder": "alphabetical",
@ -103,7 +103,7 @@
"state": { "state": {
"type": "outgoing-link", "type": "outgoing-link",
"state": { "state": {
"file": "templates/Daily Note.md", "file": "Daily/27.06.2022.md",
"linksCollapsed": false, "linksCollapsed": false,
"unlinkedCollapsed": false "unlinkedCollapsed": false
} }
@ -141,7 +141,7 @@
"state": { "state": {
"type": "outline", "type": "outline",
"state": { "state": {
"file": "templates/Daily Note.md" "file": "Daily/27.06.2022.md"
} }
} }
} }
@ -153,15 +153,15 @@
}, },
"active": "5d18a27fbc9bfa7c", "active": "5d18a27fbc9bfa7c",
"lastOpenFiles": [ "lastOpenFiles": [
"templates/Daily Note.md",
"README.md",
"Daily/27.06.2022.md", "Daily/27.06.2022.md",
"templates/New Problem.md",
"templates/Daily Note.md",
"templates/Untitled.md",
"README.md",
"Firmen/Steinemann Technology/Tickets/Jürgen Stocker/Teams Ram Probleme.md", "Firmen/Steinemann Technology/Tickets/Jürgen Stocker/Teams Ram Probleme.md",
"Firmen/Steinemann Technology/Tickets/Jürgen Stocker/OneDrive nicht angemeldet.md", "Firmen/Steinemann Technology/Tickets/Jürgen Stocker/OneDrive nicht angemeldet.md",
"Firmen/Steinemann Technology/Tickets/Andreas Dietrich/Plotter funktioniert nicht mehr.md", "Firmen/Steinemann Technology/Tickets/Andreas Dietrich/Plotter funktioniert nicht mehr.md",
"Firmen/Steinemann Technology/Andreas Dietrich/Plotter funktioniert nicht mehr.md", "Firmen/Steinemann Technology/Andreas Dietrich/Plotter funktioniert nicht mehr.md",
"Firmen/Steinemann Technology/Notes/aufsetzen der ABPs.md", "Firmen/Steinemann Technology/Notes/aufsetzen der ABPs.md"
"Firmen/Steinemann Technology/Notes/infomails/Achtung Phish!.md",
"Untitled.md"
] ]
} }

View File

@ -11,5 +11,3 @@
--- ---
# AKO # AKO
[[OneNote Synchronisiert nicht mehr!]] [[OneNote Synchronisiert nicht mehr!]]
---

View File

@ -1,5 +1,5 @@
#template
# User # User
## Problem
>Problemschilderung >Problemschilderung
1. Lösungsansatz 1. Lösungsansatz

6
templates/New Problem.md Normal file
View File

@ -0,0 +1,6 @@
## Problem
>Problemschilderung
1. Lösungsansatz
2. Lösungsansatz #Lösung