coldnew / hexo-renderer-org

Hexo renderer plugin for emacs org-mode
GNU General Public License v3.0
164 stars 38 forks source link

image does not show #79

Closed snowman closed 3 years ago

snowman commented 3 years ago

Following the document: https://coldnew.github.io/hexo-org-example/2017/03/05/getting-started-with-hexo-and-org-mode/

Step to repoduce:

$ pwd
$HOME/blog/my-blog

$ find source -type f
source/_posts/test.org
source/_posts/My-First-Blog-Post/Ateam.jpg
source/_posts/hello-world.md

$ cat source/_posts/test.org
#+TITLE: My First Blog Post
#+TAGS: org-mode, hexo

This is some content.

[[file:My-First-Blog-Post/Ateam.jpg]]

$ hexo server --draft --open

Check the source code, it output:

<div id="org91c23dd" class="figure">
<p><img src="Ateam.jpg">
</p>
</div>

The html page does not showing up the image, what's wrong?

snowman commented 3 years ago

Okay, that's the problem of the filename!!!

Just change the filename test.org to My-First-Blog-Post.org