Comments (13)
Hmmm, after summarize this, finally i think it can be usefull throught Publisher.
Do you have the dataview function to get inline metadata ?
from obsidian-github-publisher.
Thanks you for this reply and bug issue ! I fixed it :) Could you please try the last update ? :)
Thanks for the quick fix! Works perfectly now.
from obsidian-github-publisher.
I think this suggestion is irrelevant for the plugin. It needs to handle too much parameters/regex. If you need to add tags to your note with using dataview, just edit it with using templater/quick add.
from obsidian-github-publisher.
I think this suggestion is irrelevant for the plugin. It needs to handle too much parameters/regex. If you need to add tags to your note with using dataview, just edit it with using templater/quick add.
Hmm, shouldn't it be easy enough to utilize dataview API to do this instead of relying on regex?
{
...
"created": "2021-12-28 00:00",
"updated": "2021-12-28 00:00",
"title": "youtube-dl download subtitle only",
"share": true,
"website": "en/notes",
"status": "#notes/archives",
"knowledge": { // Link
"path": "Linux.md",
"type": "file",
"embed": false
}
}
from obsidian-github-publisher.
How can you notice that the knowledge is a link, tag, string, list... TBH i don't think it's useful/relevant in the purpose of the plugin?
from obsidian-github-publisher.
How can you notice that the knowledge is a link, tag, string, list... TBH i don't think it's useful/relevant in the purpose of the plugin?
Simply by checking typeof
?
- link => use its text.
- string => use as is.
- tag => use without spaces or slashes.
- array => deal with each as previous.
The point of my suggestion is to improve reachability of content on platforms like Hugo by appending certain DV inline fields to tags, since inline fields are useless outside obsidian. So, it's kind of sub-feature of inline tags to tags feature.
Honestly, I think it's relevant to the plugin note content process part.
from obsidian-github-publisher.
But you could add the tags directly using templater ?
from obsidian-github-publisher.
But you could add the tags directly using templater ?
That's totally possible, but this approach will have some problems in my opinion:
- It will pollute tags for someone that heavily depends on dataview annotations for categorizing topics instead of tags.
- It works only well when I already know where does this note belong.
- The tag be always added to the note.
from obsidian-github-publisher.
For me, dataview is not designed to be published. I don't want to add theses option because it will polute more and more the settings, as I need to add :
- Textaera to get the field
- Add a way to exclude value
- Call dataview API to get the internal field
- Check every value of the choosen fields, as string, link, or array
- Get only the string part as an array, filter the list with excluded value
- Modify again the frontmatter with parseYaml and stringify.
This will add more and more options to just set tags based on dataview value...
from obsidian-github-publisher.
Hmmm, after summarize this, finally i think it can be usefull throught Publisher.
Do you have the dataview function to get inline metadata ?
No idea if there's such function to get only inline metadata, but I think there's no need to filter only inline, as the workflow can simply go like: values from users and access value directly using dataview.page("current page path")[key]
from obsidian-github-publisher.
I updated in beta (to try this time ;) the plugin ! Could you please try / beta test this function ? :)
from obsidian-github-publisher.
I updated in beta (to try this time ;) the plugin ! Could you please try / beta test this function ? :)
Awesome!
Just gave it a try, works well with single or multiple links values, but apparently it removes other tags copied by inline to tags feature by mistake?
Here's an example
from obsidian-github-publisher.
Thanks you for this reply and bug issue ! I fixed it :)
Could you please try the last update ? :)
from obsidian-github-publisher.
Related Issues (20)
- [Bug]: When "Sluglify anchor in markdown links" is turned on, the Chinese characters of the anchor content will be deleted. HOT 4
- [Bug]: frontmatter repeat HOT 9
- [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
- [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
- [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?
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.