Skip to content

#19 - Setting for backlink visibility in embeds#23

Open
parkeraddison wants to merge 1 commit into
uthvah:mainfrom
parkeraddison:19-hide-backlinks
Open

#19 - Setting for backlink visibility in embeds#23
parkeraddison wants to merge 1 commit into
uthvah:mainfrom
parkeraddison:19-hide-backlinks

Conversation

@parkeraddison
Copy link
Copy Markdown
Contributor

Closes #19 by adding support to hide backlinks / linked mentions in sync embeds.

Changes

  • Add setting to enable default backlink visibility in emebds
  • Hide backlinks using same display:none approach used for titles
  • Add override hint {backlinks:true/false} for individual embeds

Note that if Obsidian's built-in Backlinks plugin has the setting "backlinkInDocument": true, then no backlinks are shown, even if this plugin's setting is enabled. I don't think there's an easy way around this limitation, so I added a note under the setting saying that it doesn't apply in this case.

There are some additional whitespace-only changes due to linting of trailing spaces/newlines.

Demonstration

image

- Add setting to enable default backlink visibility in emebds
- Hide backlinks using same `display:none` approach used for titles
- Add override hint `{backlinks:true/false}` for individual embeds
@uthvah
Copy link
Copy Markdown
Owner

uthvah commented Feb 27, 2026

Hey @parkeraddison, thanks for this! Apologies for the late reply.

Great catch on the backlinkInDocument limitation. You have a merge conflict in src/settings.js and embed-manager.js. Once you resolve those, I'll approve and merge.
Also, your PRs and issues have been consistently high-quality! Would you be interested in being added as a collaborator/maintainer to help triage (or fix!) issues and review PRs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Allow hiding of backlinks in embeds

2 participants