Plugin publishes unshared notes
I have a note which links to another note which doesn't have a
share: true
property. For some reason, however, the plugin keeps pushing the linked notes (at the root of the repo).
Here's my config
60 Replies
Running version 7.2.13 on latest obsidian
this happens when i run "Publish single current active note"
i tried messing around with the internal link settings but they still get pushed AND the notes get a path link that points to ../../../ etc for some reason
This command shouldn't appear on a unshared note
It's a note with "share: false" or no share at all?
no share at all
i mean
my main note called FOO has share: true
which has links to BAR which doesn't have share at all
i run publish single current active note on FOO
And you are sur BAR is published and it's not a transformation of the link ?
yep
these are published at the root of the repo for some reason
the ones with
share: true
went here but the ones without share at all got put at the rootOkay, could you open an issue on the repo ? Will check that tomorrow or someday
Sorry, I have a lot of work IRL and I don't have the time to work on this plugin as it is difficult to understand
oki
GitHub
[Bug]: Publishing note with links to unshared notes results in unsh...
Issue validation I checked the issue to prevent duplicate I checked my configurations files and the documentation Command used Upload single current active note Plugin version 7.2.13 Describe the b...
Can repro :check:
Funny thing that I can't repro it in local share
Okay I know what is the problem
fixed in 7.2.15 :check:
yeah same
nice
what about the links question though
The pinned one?
or the link shared for unshared?
i have links to non-existent notes
they don't get removed
Yeah, it's a settings
You can remove that
yeah, they stay as links
even with the option toggled
I'm pretty sure i always leave as link
o
You can use a regex to get a simple text through
I need to check
basically i need to know whether a link is non existent or non shared
so i can style them accordingly
Oh
Wil check something
Probably will add an option to keep a link or the name in the settings ? They are an option in frontmatter to custom deep this settings
👍
links: false
or links.convert: false
should workfor non existent links?
In frontmatter of the non existent (unshared) or in the "parent" (aka file that have the link)
(it's a frontmatter option)
See the #help tab in the settings for info
Add
unlink
option in settings tab in 7.3.0 !hmm, ii can't update 🤔
yeah, just updated successfully! thanks! just had to wait
Yeah, have some problem with the submodule !
hmm, the
unlink
option doesn't seem to work for:
- notes that _don't_have a share
property
- notes that don't exist to begin withHm it worked on my side with note without key
Will check later
I MADE A TYPO :crying:
Should work now
:02yay:
thanks!
7.3.1 v'
does this account for non-existent notes?
seems to have left it inact
(i figured out a workaround for myself, thanks regardless for the quick turnaround!)
Ah yes, it only works for existent as I use the links for the metadata itself
i have an unrelated problem right now, tell me if you want me to open another thread but it seems that excalidraw links don't get properly converted to svgs
do i need to enable something?
It use the excalidraw plugin to svg itself, so…
🤔
Did you have something in the console when trying ?
hmm
maybe this option
it was set to svg image
Nan, normally
.excalidraw.md
should be transform
but you can't share a .excalidraw.md
fileit's not an excalidraw.md filethough
.md is automatically hiden in obsidian
oh, you're right
so, is there anything i can do if i want to embed my excalidraw drawing
Normally, they should be converted by the plugin
So when you share the note contening the excalidraw, do you have something in the console ?
nothing happens right now as it thinks the assets already exist
let me delete them
oh yep
Hm, seems to be an excalidraw issue
seems to be from here
yup
is exportSettings passed from you
Here the function I use :
Oh, I see
THey updated the function and it needs more option now
Solution
should be fixed in the last version
thank you!!