Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DataView support in obsidian-mkdocs #6

Open
virtualarchitectures opened this issue Dec 7, 2021 · 1 comment
Open

DataView support in obsidian-mkdocs #6

virtualarchitectures opened this issue Dec 7, 2021 · 1 comment

Comments

@virtualarchitectures
Copy link

virtualarchitectures commented Dec 7, 2021

Hi,

As DataView is one of the most widely downloaded Obsidian plugins, is it viable to incorporate support into the the obsidian-mkdocs conversion template (either workaround or full solution?

I recently raised a request on the Obsidian forum about rendering DataView lists and tables on GitHub pages created with obsidian-mkdocs. See Rendering DataView Queries Results on GitHub Pages.

A workaround was proposed by opening the Developer Tools within Obsian and copying DIVs for the DataView lists and tables into the note. When the Vault is converted to GitHub pages the DataView lists and tables created from the copied DIVs render (see image), but the links don't point to the correct pages on GitHub. Clicking the links go to a 404 Error holding page.

In testing I found that the note Concepts/Creative Commons.md in the docs folder is found at <GitHubPageBaseURL>/<VaultName>/Concepts/Creative%20Commons/ on GitHub pages, but the links appearing in my converted list and tables created from HTML DIVs point to <GitHubPageBaseURL>/<VaultName>/<OriginNoteName e.g. DataView%20Test>/docs/Concepts/Creative%20Commons.md. The target url would need the <OriginNoteName>/docs/ string and .md file extenstion removed in order to work. Could this be automated?

image

@ghost
Copy link

ghost commented Jan 6, 2022

Following

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant