You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm using the markdown app Obsidian as a front-end for my web site content. Obsidian is pointed to my content folder in my Pico setup. Any MD files I create in Obsidian with YAML are immediately viewable in a browser. I am using the standard folder structure in Pico.
The issue I have is that there is a slight difference in how Obsidian handles image markup vs Pico:
Pico Image link
![Image Title](%assets_url%/image.png)
Obsidian
![](assets/image.png)
If I try to load a web page, the image doesn't load because it's not using %assets_url% variable, and Pico thinks the image is located at content/subfolder/assets/image.png
Is there a Twig function I can use to find the following string in my pages:
![[assets/
and replace it with:
![[%assets_url%/
That would solve my linking issue.
Thanks very much!
The text was updated successfully, but these errors were encountered:
I can now see ObsidianMD image links that are inline in my MD file.
I thought about adding all the inline image links to meta.imgOne, meta.imgTwo fields in the YAML, and displaying them with inline markup %meta.*% - , but that was a bit of a hassle, as I don't think Pico supports nested YAML.
Hi, I'm using the markdown app Obsidian as a front-end for my web site content. Obsidian is pointed to my
content
folder in my Pico setup. Any MD files I create in Obsidian with YAML are immediately viewable in a browser. I am using the standard folder structure in Pico.The issue I have is that there is a slight difference in how Obsidian handles image markup vs Pico:
Pico Image link
Obsidian
If I try to load a web page, the image doesn't load because it's not using
%assets_url%
variable, and Pico thinks the image is located atcontent/subfolder/assets/image.png
Is there a Twig function I can use to find the following string in my pages:
and replace it with:
That would solve my linking issue.
Thanks very much!
The text was updated successfully, but these errors were encountered: