mirror of
https://github.com/lostpaul/obsidian-folder-notes.git
synced 2026-07-22 07:40:24 +00:00
Added actual links option for folder overview
This commit is contained in:
parent
f8d79fae43
commit
30a2a5f09e
3 changed files with 20 additions and 5 deletions
|
|
@ -1 +1 @@
|
|||
Subproject commit 656789271503283492ba334bf2e407c63711106c
|
||||
Subproject commit 06c259e849057f0cc55c4fda1ac7ca45566a7b79
|
||||
|
|
@ -74,7 +74,8 @@ export interface FolderNotesSettings {
|
|||
persistentSettingsTab: {
|
||||
afterRestart: boolean;
|
||||
afterChangingTab: boolean;
|
||||
}
|
||||
},
|
||||
firstTimeInsertOverview: boolean;
|
||||
}
|
||||
|
||||
export const DEFAULT_SETTINGS: FolderNotesSettings = {
|
||||
|
|
@ -124,6 +125,9 @@ export const DEFAULT_SETTINGS: FolderNotesSettings = {
|
|||
alwaysCollapse: false,
|
||||
autoSync: true,
|
||||
allowDragAndDrop: true,
|
||||
hideLinkList: true,
|
||||
hideFolderOverview: false,
|
||||
useActualLinks: false,
|
||||
},
|
||||
useSubmenus: true,
|
||||
syncMove: true,
|
||||
|
|
@ -188,6 +192,7 @@ export const DEFAULT_SETTINGS: FolderNotesSettings = {
|
|||
afterRestart: true,
|
||||
afterChangingTab: true,
|
||||
},
|
||||
firstTimeInsertOverview: true,
|
||||
};
|
||||
|
||||
export class SettingsTab extends PluginSettingTab {
|
||||
|
|
@ -240,7 +245,6 @@ export class SettingsTab extends PluginSettingTab {
|
|||
renderPath(this);
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
display(contentEl?: HTMLElement, yaml?: overviewSettings, plugin?: FolderNotesPlugin, defaultSettings?: boolean, display?: CallableFunction, el?: HTMLElement, ctx?: MarkdownPostProcessorContext, file?: TFile | null, settingsTab?: this) {
|
||||
|
|
|
|||
15
styles.css
15
styles.css
|
|
@ -119,8 +119,19 @@ body:not(.disable-folder-highlight) .tree-item-self.fn-is-active {
|
|||
display: none;
|
||||
}
|
||||
|
||||
.cm-line:has(.fv-link-list-item),
|
||||
.el-ul:has(.fv-link-list-item),
|
||||
.cm-line:has(.fv-link-list-start),
|
||||
.el-p:has(.fv-link-list-start),
|
||||
.cm-line:has(.fv-link-list-end),
|
||||
.el-p:has(.fv-link-list-end),
|
||||
.fv-hide-overview {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
|
||||
.folder-overview-list {
|
||||
margin-top: 0 !important;
|
||||
margin-top: 0 !important;
|
||||
margin-bottom: 0 !important;
|
||||
padding-bottom: 1.200 !important;
|
||||
padding-top: 1.200 !important;
|
||||
|
|
@ -214,7 +225,7 @@ body:not(.disable-folder-highlight) .tree-item-self.fn-is-active {
|
|||
.fn-has-no-files .collapse-icon,
|
||||
.fn-hide-collapse-icon .has-folder-note.only-has-folder-note .tree-item-icon,
|
||||
.fn-hide-empty-collapse-icon .fn-empty-folder .tree-item-icon,
|
||||
.only-has-folder-note:not(.is-collapsed):not(.show-folder-note-in-explorer) > .nav-folder-children {
|
||||
.only-has-folder-note:not(.is-collapsed):not(.show-folder-note-in-explorer)>.nav-folder-children {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue