mirror of
https://github.com/scotttomaszewski/obsidian-disciples-journal.git
synced 2026-07-22 05:42:13 +00:00
Adds cssclasses: hide-dj-passage-properties to passage notes to hide the noise
This commit is contained in:
parent
127d5feb13
commit
e079e4d67f
4 changed files with 13 additions and 1 deletions
|
|
@ -1,5 +1,9 @@
|
|||
# Changelog
|
||||
|
||||
## 0.8.1
|
||||
|
||||
- Adds `cssclasses: hide-dj-passage-properties` to passage notes to hide the noise
|
||||
|
||||
## 0.8.0
|
||||
|
||||
- Corrects an issue with hover previews not vanishing properly
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"id": "disciples-journal",
|
||||
"name": "Disciples Journal",
|
||||
"version": "0.8.0",
|
||||
"version": "0.8.1",
|
||||
"minAppVersion": "0.15.0",
|
||||
"description": "Embed Bible references and passages in your notes and read the Bible in Obsidian.",
|
||||
"author": "Scott Tomaszewski (Xentis)",
|
||||
|
|
|
|||
|
|
@ -129,6 +129,7 @@ export class ESVApiService {
|
|||
console.log(filePath);
|
||||
let content = "---\n"
|
||||
content += stringifyYaml(data);
|
||||
content += "cssclasses: hide-dj-passage-properties"
|
||||
content += "\n---\n\n";
|
||||
content += "~~~bible\n"
|
||||
content += data.canonical;
|
||||
|
|
|
|||
|
|
@ -11,6 +11,13 @@ body {
|
|||
display: none !important; /* Use !important to ensure override */
|
||||
}
|
||||
|
||||
.hide-dj-passage-properties {
|
||||
/* hide in reading mode */
|
||||
--metadata-display-reading: none;
|
||||
/* hide in editing/live preview mode too */
|
||||
--metadata-display-editing: none;
|
||||
}
|
||||
|
||||
button.clear-input-button {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
|
|
|
|||
Loading…
Reference in a new issue