add admonition plugin for more featurful callouts

This commit is contained in:
KemoNine 2024-10-02 18:24:32 -04:00
parent c570fa3a65
commit a32e474d31
8 changed files with 4416 additions and 1 deletions

View file

@ -12,5 +12,6 @@
"dataview",
"qatt",
"customjs",
"obsidian42-brat"
"obsidian42-brat",
"obsidian-admonition"
]

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,10 @@
{
"id": "inline-admonitions",
"name": "Inline Admonitions",
"version": "1.4.6",
"minAppVersion": "0.15.0",
"description": "Inline callouts to make text pop.",
"author": "Scott Tomaszewski (Xentis)",
"authorUrl": "https://github.com/scottTomaszewski",
"isDesktopOnly": true
}

View file

@ -0,0 +1,41 @@
span.iad,
code.iad {
background-color: var(--tag-background);
border: var(--tag-border-width) solid var(--tag-border-color);
border-radius: var(--tag-radius);
color: var(--tag-color);
font-size: var(--tag-size);
font-weight: var(--tag-weight);
text-decoration: var(--tag-decoration);
padding: var(--tag-padding-y) var(--tag-padding-x);
line-height: 1;
}
.iad-setting-row {
display: flex;
justify-content: end;
}
.iad-setting-row * {
margin-left: 0.5em;
}
.iad-setting-row-title {
margin-right: auto;
text-transform: capitalize;
align-items: center;
display: flex;
}
.iad-sample-editor {
margin: 0.5em;
display: inline-block;
}
.iad-hidden {
display: none;
}
.cm-active .iad-hidden {
display: inline;
}

View file

@ -0,0 +1,24 @@
{
"userAdmonitions": {},
"syntaxHighlight": false,
"copyButton": false,
"version": "10.3.2",
"autoCollapse": false,
"defaultCollapseType": "open",
"injectColor": true,
"parseTitles": true,
"dropShadow": true,
"hideEmpty": false,
"open": {
"admonitions": true,
"icons": true,
"other": true,
"advanced": false
},
"icons": [],
"useFontAwesome": true,
"rpgDownloadedOnce": false,
"msDocConverted": false,
"useSnippet": false,
"snippetPath": "custom-admonitions.41e2e4"
}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,10 @@
{
"id": "obsidian-admonition",
"name": "Admonition",
"version": "10.3.2",
"minAppVersion": "1.1.0",
"description": "Enhanced callouts for Obsidian.md",
"author": "Jeremy Valentine",
"authorUrl": "",
"isDesktopOnly": false
}

File diff suppressed because one or more lines are too long