Comments (8)
Found the culprit: apparently targetList.filter((x) => !sourceList.includes(x)) is removing the word obsidian
from images/obsidian/naming.png
. I don't understand why it needs to drop a directory, unsure whether it's a feature for something else or a bug.
Here's the screenshot with all values. Notice at the end, it drops the directory:
Can you advise on how to fix this? I'm afraid it'd break other things that are expected somewhere else 😬 This is the last remaining block to get my blog to get published from Obsidian 😄
from obsidian-github-publisher.
I Will check that ! Don't worry :D
from obsidian-github-publisher.
I pushed a beta version of this fix, could you please try it and keep me informed about it ?
from obsidian-github-publisher.
I can confirm it worked with 4.3.7-0 (beta) 😄
from obsidian-github-publisher.
I noticed now that links aren't working, and I think it might be due to this change (need to confirm).
Here's my config:
Here is the screenshot in Obsidian showing from about
(source) to my-digital-workbench
(target).
Note that:
- the
my-digital-workbench
file has frontmatterfilename: _pages/my-digital-workbench
(with _pages), - the file is deployed to
obsidian/_pages/my-digital-workbench
as expected, - but the final link in
about
points to obsidian/my-digital-workbench, omitting_pages
.
from obsidian-github-publisher.
As I can see, It's not a markdown or wikilinks no ? My regex for internal links only work on these
from obsidian-github-publisher.
Hm... yes it is. If you check again this image, the wikilink [[my-digital-workbench|Check out my work setup]]
on the bottom right pane is a link.
from obsidian-github-publisher.
This seems to be the same issue I'm currently struggling with. The image links in my posts start with "/posts/" but the images are at the same link but without that. I was actually following your blog post, @kurko, though what I assume was the solution you figured out (the text replacer) has not been working for me. Any ideas?
from obsidian-github-publisher.
Related Issues (20)
- [BUG]: [Dataview] Math rendering HOT 6
- [Plugin][FR]: should skip code block (```shell) when converting [[wikilinks]] to markdown links HOT 2
- [Plugin][Bug]: plugin behaves unexpectedly when regex is not legal HOT 2
- [Plugin][FR]: Use Obsidian Path for Attachements HOT 14
- [Plugin][Bug]: Failed to parse expression when inline DV HOT 6
- [Plugin][Bug]: (convert wiki) if an external links is in between two wikilinks, both wikilinks will be wrongly formatted HOT 5
- [FR] Add the `title` key automatically (if the file don't have it) for "folder note" file. HOT 2
- [FR]: Support Meta-bind views HOT 2
- [Bug]: Images & Tables HOT 1
- [Bug]: TypeError: n is not iterable HOT 4
- [Bug]: plugin fails to be loaded HOT 1
- [FR]: GitHub Actions support HOT 1
- [Bug]: Unable to tick "Auto Cleanup" HOT 2
- [BUG]: the RegExp replacement should text supports escape characters, such as \n HOT 3
- [FR]: Support for git wiki HOT 4
- [FR]: Automatically convert YouTube and Twitter link with markdown syntax for external image to proper iframe element HOT 3
- [Bug]: Plugin is pushing to Github a ref that already exists instead of a new one HOT 8
- [Bug]: content is being deleted after migration from 4v to 6v HOT 2
- [FR]: Support Excalidraw Plugin HOT 5
- "Share all files" on, but still need to add a "share: true" property HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obsidian-github-publisher.