Comments (1)
The problem is: if you use an attachment multiple time, it will be send multiple time. Meaning to duplication, and probably problem when using the cleaning function.
Moreover, a file is send "detached" from it sources, aka I don't save the source TFile or the path. A file can come from multiple source, and it can become tricky to also save in the methods all source.
I have some solution:
- Set on "obsidian" for the path, and use a structure like that in your Obsidian
- Override with a frontmatter key the path for attachment for each notes you need to do that
- Maybe tricks around regex using overriding attachment. For example, if you note each attachment linked to the note
notename-imagename
you can make a regex on/^notename/gi
and the remplacement onPathInWant/{{name}}
from obsidian-github-publisher.
Related Issues (20)
- [Bug]: Couldn't upload Attachments with Obsidian folder structure while using the Folder Path replacer HOT 1
- [Bug]: Compatibility issue with Excalidraw plugin HOT 6
- [FR]: Option to use different github tokens for additional repos HOT 2
- [FR]: Convert Inline Dataview Queries to Markdown HOT 10
- [Bug]: Cannot use repository on Github Enterprise instance with rate limiting disabled. HOT 12
- [Bug]: Folder Path & File Name Replacer doesn't work on dataview content HOT 3
- [Bug]: Broken link HOT 2
- [Bug]: excalidraw is transformed to svg,bug the link path is not changed HOT 2
- [FR]: 'Delete all before publish' option HOT 1
- [Bug]: [[Wikilinks]] to [MDlinks](links) not working with headers links HOT 4
- [FR]: Allow upload of files not natively handled by Obsidian HOT 5
- [Bug]: File name replacement regex applied to attachment file paths HOT 2
- [Bug]: When trying to upload one note all linked notes reuploaded HOT 1
- [Bug]: index.html not shown HOT 1
- [Bug]: dataviewjs code blocks result in errors within callout blocks because of the > character. JSON Parse error?
- [Bug]: Notes are deleted when trying to upload HOT 16
- [Bug]: Upload Single Current Active Note/Upload Unpublished Note uploads then deletes, merges with no changes. HOT 4
- [Bug]: Markdown hard break line add breaks on frontmatter
- [Bug]: URL replacer doesn't work HOT 8
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.