Giter Club home page Giter Club logo

Comments (8)

kurko avatar kurko commented on July 22, 2024

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:

Screen Shot 2022-10-09 at 00 07 24

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.

Lisandra-dev avatar Lisandra-dev commented on July 22, 2024

I Will check that ! Don't worry :D

from obsidian-github-publisher.

Lisandra-dev avatar Lisandra-dev commented on July 22, 2024

I pushed a beta version of this fix, could you please try it and keep me informed about it ?

from obsidian-github-publisher.

kurko avatar kurko commented on July 22, 2024

I can confirm it worked with 4.3.7-0 (beta) 😄

from obsidian-github-publisher.

kurko avatar kurko commented on July 22, 2024

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:

Screen Shot 2022-10-09 at 19 03 06


Here is the screenshot in Obsidian showing from about (source) to my-digital-workbench (target).

Screen Shot 2022-10-09 at 19 08 49

Note that:

  • the my-digital-workbench file has frontmatter filename: _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.

Lisandra-dev avatar Lisandra-dev commented on July 22, 2024

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.

kurko avatar kurko commented on July 22, 2024

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.

BluesDriveAmelia avatar BluesDriveAmelia commented on July 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.