Skip to content

Commit

Permalink
v1.9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jparkerweb committed Dec 1, 2024
1 parent 203cf53 commit fa71db9
Show file tree
Hide file tree
Showing 15 changed files with 14,612 additions and 33 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to Rich Foot will be documented in this file.

## [1.9.1] - 2024-12-01
### 🐛 Fixed
- `Links` defined in frontmatter were not being displayed

## [1.9.0] - 2024-11-30
### ✨ Added
- Option to combine `Outlinks` / `Backlinks` in one view called `Links`
Expand Down
4 changes: 4 additions & 0 deletions UPDATE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## 🥙 Stuffed Links

### [1.9.1] - 2024-12-01
#### 🐛 Fixed
- `Links` defined in frontmatter were not being displayed

### [1.9.0] - 2024-11-30
#### ✨ Added
- Option to combine `Outlinks` / `Backlinks` in one view called `Links`
Expand Down
Binary file modified example-vault.zip
Binary file not shown.
3 changes: 2 additions & 1 deletion example-vault/rich-foot-example/.obsidian/appearance.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
"accentColor": "#f7a518",
"enabledCssSnippets": [
"utility"
]
],
"cssTheme": ""
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
"linksOpacity": 1,
"showReleaseNotes": true,
"excludedFolders": [
"exclude",
"misc-notes"
"exclude"
],
"dateColor": "var(--text-accent)",
"borderColor": "var(--text-accent)",
Expand All @@ -22,5 +21,5 @@
"showOutlinks": false,
"showDates": true,
"combineLinks": true,
"lastVersion": "1.8.0"
"lastVersion": "1.9.0"
}
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ var ReleaseNotesModal = class extends import_obsidian.Modal {
};

// virtual-module:virtual:release-notes
var releaseNotes = '<h2>\u{1F959} Stuffed Links</h2>\n<h3>[1.9.0] - 2024-11-30</h3>\n<h4>\u2728 Added</h4>\n<ul>\n<li>Option to combine <code>Outlinks</code> / <code>Backlinks</code> in one view called <code>Links</code></li>\n<li>Directional arrows for <code>Links</code></li>\n<li>Outlinks for <code>footnote</code> internal links</li>\n</ul>\n<h4>\u{1F41B} Fixed</h4>\n<ul>\n<li><code>Page Preview</code> not displaying properly in <code>editing mode</code></li>\n</ul>\n<p><a href="https://raw.githubusercontent.com/jparkerweb/ref/refs/heads/main/equill-labs/rich-foot/rich-foot-v1.9.0.jpg"><img src="https://raw.githubusercontent.com/jparkerweb/ref/refs/heads/main/equill-labs/rich-foot/rich-foot-v1.9.0.jpg" alt="screenshot"></a></p>\n';
var releaseNotes = '<h2>\u{1F959} Stuffed Links</h2>\n<h3>[1.9.1] - 2024-12-01</h3>\n<h4>\u{1F41B} Fixed</h4>\n<ul>\n<li><code>Links</code> defined in frontmatter were not being displayed</li>\n</ul>\n<h3>[1.9.0] - 2024-11-30</h3>\n<h4>\u2728 Added</h4>\n<ul>\n<li>Option to combine <code>Outlinks</code> / <code>Backlinks</code> in one view called <code>Links</code></li>\n<li>Directional arrows for <code>Links</code></li>\n<li>Outlinks for <code>footnote</code> internal links</li>\n</ul>\n<h4>\u{1F41B} Fixed</h4>\n<ul>\n<li><code>Page Preview</code> not displaying properly in <code>editing mode</code></li>\n</ul>\n<p><a href="https://raw.githubusercontent.com/jparkerweb/ref/refs/heads/main/equill-labs/rich-foot/rich-foot-v1.9.0.jpg"><img src="https://raw.githubusercontent.com/jparkerweb/ref/refs/heads/main/equill-labs/rich-foot/rich-foot-v1.9.0.jpg" alt="screenshot"></a></p>\n';

// src/settings.js
var import_obsidian2 = require("obsidian");
Expand Down Expand Up @@ -954,6 +954,15 @@ var RichFootPlugin = class extends import_obsidian3.Plugin {
}
}
}
if (cache == null ? void 0 : cache.frontmatterLinks) {
for (const link of cache.frontmatterLinks) {
const linkPath = link.link.split("#")[0];
const targetFile = this.app.metadataCache.getFirstLinkpathDest(linkPath, file.path);
if (targetFile && targetFile.extension === "md") {
links.add(targetFile.path);
}
}
}
if (cache == null ? void 0 : cache.blocks) {
for (const block of Object.values(cache.blocks)) {
if (block.type === "footnote") {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "rich-foot",
"name": "Rich Foot",
"version": "1.9.0",
"version": "1.9.1",
"minAppVersion": "1.5.0",
"description": "Adds backlink tags and created/modified dates to the footer of your notes.",
"author": "Justin Parker (eQui\\\\ Labs)",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "ITS Theme",
"version": "1.3.30",
"minAppVersion": "0.16.0",
"author": "SlRvb",
"authorUrl": "https://github.com/SlRvb"
}
Loading

0 comments on commit fa71db9

Please sign in to comment.