Skip to content

A Hexo plugin that can help you view images in both any Markdown editor and Hexo server.

Notifications You must be signed in to change notification settings

chen-qingyu/hexo-markdown-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

hexo-markdown-image

A Hexo plugin that can help you view images in both any Markdown editor and Hexo server.

npm install hexo-markdown-image

Suppose the _posts directory tree looks like this:

+---HelloWorld
|   +-- 1.png
|   +-- 2.png
|   +-- 3.png
+---HelloWorld.md

In the source code of the article, simply use ![](HelloWorld/1.png) ('HelloWorld' is the post assets folder name instead of article title) to insert images~

And the difference between this plugin and other image plugins is that it only replaces the image link of the current article, while keeping the other image links unchanged: ![](HelloWorld/1.png) -> ![](1.png), ![](/images/hello.png) unchanged.

About

A Hexo plugin that can help you view images in both any Markdown editor and Hexo server.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published