blacksmithgu / obsidian-dataview Public
generated from obsidianmd/obsidian-sample-pluginNew 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
Emblemed preview image support #376
Comments
|
Out of curiosity, does this work at all currently? Or does it just show some error in that column? |
|
|
This syntax works:
https://forum.obsidian.md/t/dataview-plugin-snippet-showcase/13673/356?u=den |
|
Okay, my guess is it is not properly setting the CSS for the embed links (something similar happens for non-existent links). |
|
Not sure what are you referring to. But both naming conventions are working in Obsidian notes. They are "ignored" / not recognized only in Dataview code. |
Support displaying of the emblemed image inside query results. The image size should be taken from image size definition after image file name and "|". Otherwise some small default image should be taken, so image is not display ridiculously big. If the image is in metadata without ! the image should be displayed as link and not as preview.
INPUT (metadata)
image: ![[Image.jpg|20]]
etc.....
OUTPUT (desired)
OUTPUT (real)
![[Image.jpg]]- will show text image name as link (need to hover to show picture)![[Image.jpg#extraCSS|20]]- will show text "20" as link (need to hover to show picture)EXTRA (formatting support)
![[Image.jpg|20]]![[Image.jpg#extraCSS|20]]The text was updated successfully, but these errors were encountered: