Open vassudanagunta opened 2 years ago
When writing Markdown, I add additional rendering information to images as anchor, like #no-scale
in
![](media/permission-types.png#no-scale)
which is then used to manipulate the generated HTML output by Hugo, which I use for site creation.
Since I've updated to typora version 0.11.8 - coming from 0.9.? - images with anchors in the file path are no longer shown in the editor. I am sure this has worked in the past. Probably this is related to the issue reported here.
This happens to me too!
In my case, I'm using a relative image path, the path itself doesn't contain a question mark, but there is a question mark in the parent folder.
I'm pretty confused while debugging this issue, hope we could fix this asap.
Please escape ?
char, since it is use as GET parameter in url/HTML.
@abnerlee Typora should do the escaping because:
**
to <strong>
and .md
to .html
..md
file to another)%20
in links to those files, so why force us to convert ?
? That is inconsistent and broken.Please re-open this issue.
This also happens to an anchor link which contains a slash /
.
This happens to me too!
In my case, I'm using a relative image path, the path itself doesn't contain a question mark, but there is a question mark in the parent folder.
I'm pretty confused while debugging this issue, hope we could fix this asap.
Issue detail screenshot supplement:
I have an image file named
what now?.webp
. If I embed it as an image in a Markdown file, it only displays the markup, not the image. If I rename the file and remove the "?" from the link, the image is displayed.I tried using
%3F
in the markdown link path, and it still didn't work."?" is a legitimate character to have in a filename. This should work.
[x] Searched existing issues to avoid creating duplicates.
[ ] (n/a) Confirmed that it can be reproduced in built-in themes without customized css.
[x] Searched http://support.typora.io/
OS: macOS
Typora Version e.g: 0.11.05 (and many prior versions)