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
and it seems there is a typora-plugin named redirectLocalRootUrl have same effect, but also only work for images (I also test it in my personal environment): obgnail/typora_plugin#259
consider
if we need use / as absolute path base on project dir, there must be somewhere to type repository dir
The text was updated successfully, but these errors were encountered:
hanjie-chen
changed the title
[Feature] consider file link start with / as absolute path base on project dir like github
[Feature] consider file link start with / as absolute path base on repository dir like github
Dec 17, 2024
if I want to use absolute path which based on repository, I failed.
for example, here is my directory:
usually, I use relative path to show image for example in Article_Template.md, for example I will use
./images/cover_image.jpeg
.when I want to link file git-usage.md, I want to use like that
/tools-guide/git-guide/git-usage.md
which is work on github, you can test it in here: https://github.com/hanjie-chen/PersonalArticles/blob/main/template/Article_Template.mdBut when I try it in local, it shows following error message:
which use absolute path base on C:\ actually
My troubleshoot:
I check the typora document about the links: https://support.typora.io/Links/
it shows expected behavior:
when I want to find out a solution, it seems it only works image https://support.typora.io/Images/#display-images-in-relative-path
use
typora-root-url
in YAML, I test it in my environment, it only works for image.and it seems there is a typora-plugin named
redirectLocalRootUrl
have same effect, but also only work for images (I also test it in my personal environment): obgnail/typora_plugin#259consider
if we need use
/
as absolute path base on project dir, there must be somewhere to type repository dirThe text was updated successfully, but these errors were encountered: