Comments (5)
You can try the last beta version 7.1.0-0
from obsidian-github-publisher.
I worked on a branch for this. I also added for support by sharing file using they links.
It's late so it needs more test before merging (ie preventing multiple send of the same fils)
from obsidian-github-publisher.
Thanks a lot for the quick implementation!
Unfortunately, I don't get it to work.
I've added py
and sh
as extensions to upload, but with the example above it just causes empty commits ( see LassanceLab/DLC_handbook@b8dd4bb).
{
"github": {
"branch": "main",
"automaticallyMergePR": true,
"dryRun": {
"enable": false,
"folderName": "github-publisher"
},
"tokenPath": "%configDir%/plugins/%pluginID%/env",
"api": {
"tiersForApi": "Github Free/Pro/Team (default)",
"hostname": ""
},
"workflow": {
"commitMessage": "[PUBLISHER] Merge",
"name": ""
},
"verifiedRepo": true
},
"upload": {
"behavior": "fixed",
"defaultName": "",
"rootFolder": "",
"yamlFolderKey": "",
"frontmatterTitle": {
"enable": true,
"key": "title"
},
"replaceTitle": [],
"replacePath": [],
"autoclean": {
"enable": false,
"excluded": []
},
"folderNote": {
"enable": false,
"rename": "index.md",
"addTitle": {
"enable": false,
"key": "title"
}
},
"metadataExtractorPath": ""
},
"conversion": {
"hardbreak": true,
"dataview": true,
"censorText": [
{
"entry": "/---\\n([\\s\\S]*?)\\n---/",
"replace": "",
"flags": "",
"after": false
},
{
"entry": "",
"replace": "",
"flags": "",
"after": false
}
],
"tags": {
"inline": false,
"exclude": [],
"fields": []
},
"links": {
"internal": true,
"unshared": true,
"wiki": true,
"slugify": "strict"
}
},
"embed": {
"attachments": true,
"overrideAttachments": [],
"keySendFile": [
"script"
],
"notes": true,
"folder": "",
"convertEmbedToLinks": "keep",
"charConvert": "->",
"unHandledObsidianExt": [
"py",
"sh"
],
"sendSimpleLinks": true,
"useObsidianFolder": true
},
"plugin": {
"shareKey": "share",
"excludedFolder": [],
"copyLink": {
"enable": false,
"links": "",
"removePart": [],
"transform": {
"toUri": true,
"slugify": "lower",
"applyRegex": []
}
},
"setFrontmatterKey": "Set",
"shareAll": {
"enable": true,
"excludedFileName": "DRAFT"
}
}
}
from obsidian-github-publisher.
Oh I found the issue!
You need to make a change in the note where the file is linked to force the upload, so does not work on existing links without a change to the note.
from obsidian-github-publisher.
It's probably the cache that wasn't updated? It's a bit strange, as I list all links directly using the Obsidian API each time a note is send
from obsidian-github-publisher.
Related Issues (20)
- [Bug]: Internal links grayed out / displayed as class=" not found" on GH Pages HOT 15
- [FR]: Make Dataview conversion compatible with Plugin Groups plugin HOT 3
- [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
- [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
- [FR]: upload attachment in the same folder of md file 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
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.