A sidebar for Hexo blog system.
- Create new article with exists template
- Sidebar, include tags, categories, posts and drafts
- Front Matter completion for tags and categories (Thanks ruanimal)
- Front Matter shortcut action buttons (CodeLens) to select tags, update or insert date/updated fields (Thanks ruanimal)
- Preview image with assets folder
- Hexo tag syntax highlight and hexo snippets
- Paste image directly from clipboard, default shortcut is ctrl+alt+v. (Thanks vscode-paste-image project)
- Upload all local images in current file, it will replace the local path with the uploaded URL and keep the original path as a comment.
- Support remote development
- Automatically open Markdown side preview when opening a blog post (Thanks ruanimal)
- And more ...
hexo.sortMethod: Controls posts(drafts) and categories(tags) sorted method, default sort by name.hexo.includeDraft: Controls whether include drafts in tag and category view container, defaultfalse.hexo.hexoProjectRoot:Hexoproject path(relative to current workspace root), default is workspace root.hexo.markdown.resource: Controls whether resolve image with hexo resource folder, default istrue.hexo.markdown.autoPreview: Controls whether automatically trigger markdown side preview when opening a blog post, defaultfalse.hexo.upload: Controls whether upload image when use paste image command.hexo.uploadType: Supportimgchr, tencentoss, custom.hexo.uploadImgchr: Account settings forhttps://imgchr.com/site. Only available whenhexo.uploadistrue.hexo.uploadTencentOSS: Account settings for tencent OSS service. Only available whenhexo.uploadistrue.(Thanks abnernat)hexo.uploadCustom: Custom upload server configuration. Only available whenhexo.uploadistrue.(Thanks ruanimal)hexo.generateTimeFormat: The time format when generate new article, default is ISO format. (time-format-tokens)hexo.assetFolderType: Paste image folder type. (ifpost, paste image to current post folder, else the image would be at global folder/sources/images/<__post>/), see #89
If you want to use a custom upload server, you can configure it as follows:
{
"hexo.uploadType": "custom",
"hexo.uploadCustom": {
"url": "https://xxxx.com/upload",
"method": "POST",
"fileKey": "file",
"responseUrlKey": "data.url",
"headers": {
"Authorization": "Bearer your_token"
},
"extraFormData": {
"account_id": "",
"secret_access_key": ""
}
}
}url: The API endpoint for uploading images.method: HTTP method, default isPOST.fileKey: The form-data key name for the file, default isfile.responseUrlKey: The path to the image URL in the response JSON (e.g.,urlordata.url).headers: Optional HTTP headers.extraFormData: Optional additional form-data fields.
If you have found any bugs. Please open an issue
-
If you are using this extension to connect to a remote server via SSH, then you need to install this extension by
install in SSH:xxxto extend VSCode's Markdown rendering capabilities.
- If you have opened multiple folders in one workspace, you need to set the Hexo project as the first opened folder.
See releases.
Enjoy!

