Closed garethfoote closed 11 months ago
First, thanks for the great reproduction example!
I need to some help to get throught. I think (not tested for the moment!) you have a good catch with the regex. But… I can't read it in the screen 😢 Could you please send me it in text form ? Thanks!
EDIT: Found the problem 🎉 Fixed in 6.11.0
Thank you, @Lisandra-dev. That was fast!
Seems that my unusual requirement of using the text replacer inside the wikilinks is causing some pretty niche behaviour.
I'm doing some post-processing of the MD files once they get to my repo in Jekyll templates. This is to provide different text for an anchor than the file title and to provide alt text for an image. That means I need the wikilinks to reach my repo with a custom demarcating symbol instead of a pipe (because Jekyll immediately converts pipes to tables).
So, I'm using the text replacer to make this: [[Weeknote 01|different text linking to Weeknote 01]]
arrive in my repo as: [[Weeknote 01@@different text linking to Weeknote 01]]
but it is arriving like this:
[[Weeknote 01@@different text linking to Weeknote 01|Weeknote 01@@different text linking to Weeknote 01]]
(See this PR.)
I assume the recent automatic addition of alt text can't be disabled in the config anywhere?
PS Should I create a new issue for this? PPS I understand if this is outside of the remit of the plugin.
Think you can use the text replacer with the arrow to down to use the replacer after all transform
Amazing! That did it. Many thanks @Lisandra-dev
Issue validation
Command used
Refresh published and upload new notes
Plugin version
6.10.3
Describe the bug
Hi, I'm getting the following error in the console:
Here is the full error:
I've tested the connection and it's getting through to my repo fine.
Appreciate the great work done on this plugin btw. 🙏
How to reproduce ?
No response
Minimal Reproducible Example
Configuration
Relevant log output
No response
OS
MacOS
Anything else?
I'm doing something quite unusual with the text replacer. Could be something to do with that?
Obsidian information