{"id":15029311,"url":"https://github.com/zhuzhuyule/hexoeditor","last_synced_at":"2025-04-12T23:33:01.089Z","repository":{"id":43523008,"uuid":"113846861","full_name":"zhuzhuyule/HexoEditor","owner":"zhuzhuyule","description":"this markdown Editor for hexo blog","archived":false,"fork":false,"pushed_at":"2019-02-21T06:09:06.000Z","size":22124,"stargazers_count":1235,"open_issues_count":49,"forks_count":150,"subscribers_count":30,"default_branch":"master","last_synced_at":"2025-04-12T23:32:56.736Z","etag":null,"topics":["electron-app","hexoeditor","hexomarkdown","markdown","markdown-editor","moeditor"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zhuzhuyule.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-12-11T10:45:17.000Z","updated_at":"2025-03-31T20:12:44.000Z","dependencies_parsed_at":"2022-09-01T14:10:53.059Z","dependency_job_id":null,"html_url":"https://github.com/zhuzhuyule/HexoEditor","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhuzhuyule%2FHexoEditor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhuzhuyule%2FHexoEditor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhuzhuyule%2FHexoEditor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhuzhuyule%2FHexoEditor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zhuzhuyule","download_url":"https://codeload.github.com/zhuzhuyule/HexoEditor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248647258,"owners_count":21139081,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["electron-app","hexoeditor","hexomarkdown","markdown","markdown-editor","moeditor"],"created_at":"2024-09-24T20:10:16.842Z","updated_at":"2025-04-12T23:33:01.066Z","avatar_url":"https://github.com/zhuzhuyule.png","language":"JavaScript","readme":"\u003cdiv align=\"right\"\u003eLanguage: :us:\n\u003ca title=\"Chinese\" href=\"doc/cn/README.md\"\u003e:cn:\u003c/a\u003e\n\u003ca title=\"Russian\" href=\"doc/ru/README.md\"\u003e:ru:\u003c/a\u003e\u003c/div\u003e\n\n# \u003cdiv align=\"center\"\u003e\u003ca title=\"Go to homepage\" href=\"#\"\u003e\u003cimg align=\"center\" width=\"56\" height=\"56\" src=\"https://raw.githubusercontent.com/zhuzhuyule/HexoEditor/master/icons/HexoEditor.svg?sanitize=true\"\u003e\u003c/a\u003e  HexoEditor\u003c/div\u003e\n\n[![Join the chat](https://badges.gitter.im/hexo-theme-tomotoes/Lobby.svg)](https://gitter.im/zhuzhuyule/Lobby)\n[![license](https://img.shields.io/badge/license-GPL3.0-brightgreen.svg)](https://github.com/zhuzhuyule/HexoEditor/blob/master/LICENSE)\n[![Download](https://img.shields.io/badge/download-page-blue.svg)](https://github.com/zhuzhuyule/HexoEditor/releases)\n[![Conda](https://img.shields.io/conda/pn/conda-forge/python.svg)](https://github.com/zhuzhuyule/HexoEditor/releases)\n\nThis is markdown editor for Hexo.\n\nBuilt with Electron.\n\nInherit [Moeditor](https://github.com/Moeditor/Moeditor), I want to fix it appropriate to Hexo Blog!\n\n#### if you have good ideas, please comment [Here](https://github.com/zhuzhuyule/HexoEditor/issues/2)\n#### if you have time, and interest, and energy, welcome join us !\n\n# Features\n* HexoEditor \n  * Hexo Post Preview same as in Browser\n  * Hexo Tag/Filter/Renderer support\n  * Use Hexo `_config.yml` support\n  * Quick New Post in hexo source \n  * Quick Modify File Name (In Hexo Post Edit)  \n  * Quick Deploy Post\n  * Quick Hexo Command `hexo d`,`hexo g`,`hexo s`,`hexo clean`\n  * Auto Change Image to Markdown \n    * Support Drag Image\n    * Support Paste Clipboard Image\n  * Support Image Cloud (One Step Upload)\n    * Support [SM.MS](https://sm.ms) \n    * Support [QiNiu](https://portal.qiniu.com) \n    * Support [Tencent](https://console.cloud.tencent.com) \n  * Quick Start (Common Directory, Common URL)\n  * Scorll Together/None\n* HexoEditor (Inherit [Moeditor](https://github.com/Moeditor/Moeditor))\n  * GitHub Flavored Markdown\n  * TeX math expressions\n  * UML diagrams\n  * Code highlight in editor\n  * Read/Write/Preview mode\n  * Custom font / line height / font size\n  * Custom themes\n  * Code highlight themes (powered by [highlight.js](https://highlightjs.org/))\n  * Auto reload\n  * Localization\n  * Focus mode\n\n# Screenshots\n\n![HexoEditor Main](https://raw.githubusercontent.com/zhuzhuyule/HexoEditor/master/screenshots/main.png)\n\n![HexoEditor side](https://raw.githubusercontent.com/zhuzhuyule/HexoEditor/master/screenshots/side-menu.png)\n\n![HexoEditor menu](https://raw.githubusercontent.com/zhuzhuyule/HexoEditor/master/screenshots/menu.png)\n\n![HexoEditor About](https://raw.githubusercontent.com/zhuzhuyule/HexoEditor/master/screenshots/about.png)\n\n# Gif Screenshots\n![HexoEditor settings](https://raw.githubusercontent.com/zhuzhuyule/HexoEditor/master/screenshots/gif-settings.gif)\n\n![HexoEditor tag](https://raw.githubusercontent.com/zhuzhuyule/HexoEditor/master/screenshots/gif-tag.gif)\n\n![HexoEditor Mode](https://raw.githubusercontent.com/zhuzhuyule/HexoEditor/master/screenshots/gif-mode.gif)\n\n![HexoEditor Upload Image](https://raw.githubusercontent.com/zhuzhuyule/HexoEditor/master/screenshots/gif-uploadImage.gif)\n\n![HexoEditor New Post](https://raw.githubusercontent.com/zhuzhuyule/HexoEditor/master/screenshots/gif-newpost.gif)\n\n![HexoEditor Hexo](https://raw.githubusercontent.com/zhuzhuyule/HexoEditor/master/screenshots/gif-hexo.gif)\n\n# Plan To Do\n- [ ] Add Toc\n- [x] Add Hexo Title Header setting (100%)\n- [x] Add Editor ShortCut\n- [ ] Add history files tree\n.....\n- [x] Deploy Post\n- [ ] Add multi-editing in tabs\n\n# ShortCut\n| Key                    | Method              | explanation            |\n| :--------------------: | :------------------ | :-------------- |\n| `Tab`                  | tabAdd              | add indentation        |\n| `Shift` - `Tab`        | tabSubtract         | reduce indentation        |\n| `Ctrl` - `B`           | toggleBlod          | toggle blod        |\n| `Ctrl` - `I`           | toggleItalic        | toggle italic        |\n| `Ctrl` - `D`           | toggleDelete        | delete current line        |\n| `Ctrl` - \u003ccode\u003e\\`\u003c/code\u003e         | toggleComment       | toggle comment        |\n| `Ctrl` - `L`           | toggleUnOrderedList | toggle unordered list    |\n| `Ctrl` - `Alt` - `L`   | toggleOrderedList   | toggle ordered list    |\n| `Ctrl` - `]`           | toggleHeader        | downgrade title        |\n| `Ctrl` - `[`           | toggleUnHeader      | upgrade title        |\n| `Ctrl` - `=`           | toggleBlockquote    | add blockquote        |\n| `Ctrl` - ` - `         | toggleUnBlockquote  | reduce blockquote        |\n| `Ctrl` - `U`           | drawLink            | add hyperlink    |\n| `Ctrl` - `Alt` - `U`   | drawImageLink       | add image       |\n| `Ctrl` - `T`           | drawTable(row col)  | add table(row column) |\n| `Ctrl` - `V`           | pasteOriginContent  | paste origin content       |\n| `Shift` - `Ctrl` - `V` | pasteContent        | auto paste content      |\n| `Alt` - `F`            | formatTables        | format tables      |\n| `Ctrl` - `N`            |         | new md document      |\n| `Ctrl` - `H`            |         | new hexo document      |\n| `Ctrl` - `O`            |         | open md document      |\n| `Ctrl` - `S`            |         | save md document      |\n| `Shift` - `Ctrl` - `S`            |         | save as      |\n| `Alt` - `Ctrl` - `S`            |         | open settings      |\n| `Ctrl` - `W`            |         | toggle write mode      |\n| `Ctrl` - `P`            |         | toggle preview mode       |\n| `Ctrl` - `R`            |         | toggle read mode       |\n\n* **tip**: In mac OS, plase replace `Ctrl` key with `Cmd` key.\n\n# Building\n```c\n//if use Windows:\nnpm config set prefix \"C:/Program Files/nodejs/npm_global\"\nnpm config set cache \"C:/Program Files/nodejs/npm_cache\" \n\n//if use Linux\\Mac:\nnpm config set prefix \"~/nodejs/npm_global\"\nnpm config set cache \"~/nodejs/npm_cache\" \n\n//If In China, China, China, you can set mirror to speed up !\nnpm config set registry \"https://registry.npm.taobao.org/\"\nnpm config set electron_mirror \"https://npm.taobao.org/mirrors/electron/\"\n\ngit clone https://github.com/zhuzhuyule/HexoEditor.git\ncd HexoEditor\nnpm install\nnpm start\n```\nThis is [Detail Method](https://github.com/zhuzhuyule/HexoEditor/blob/master/doc/en/Building.md)\n\n# Debugging\nThere's three ways to open the [Chromium Developer Tools](https://developer.chrome.com/devtools).\n\n1. Add `--debug` to the command line args:\n```bash\nnpm start -- --debug\n```\n2. `Ctrl` + `Shift` + `I` in Linux / Windows or `Command` + `Option` + `I` in OS X / macOS to toggle devtools for a window.\n3. Set `debug` to `true` in the config. The config file is stored in `~/.config/configstore/HexoEditor.json` (for every system).\n\n# Localization\nHexoEditor will auto detect your system language and use the localization.\n\nYou can set language manually in the Settings window.\n\nNow the app supports English, Chinese, French, German, Spanish and *incomplete* Portuguese.\n\n**Help us** if you can translate this app. Please follow the guide in `app/moe-l10n.js`.\n\n# License\nHexoEditor itself is licensed under the **GPL v3** license.\n\nSome node modules are licensed under other free software license.\n\nThe `Raleway` font is licensed under the OFL open font license.\n\n\n# Tips\n1. modify codemirror file :\n\n\u003e ./node_modules/codemirror/lib/codemirror.js (line: `3104`)\n\n\n\u003e ./node_modules/codemirror/src/display/selection.js (line: `56`)\n\n```js \n//var rightSide = Math.max(display.sizerWidth, displayWidth(cm) - display.sizer.offsetLeft) - padding.right;\nvar rightSide = display.lineDiv.offsetWidth - padding.right;\n```\n\n# Compatibility\n\n* :triangular_flag_on_post: \u003ca href=\"https://github.com/theme-next/hexo-theme-next\" target=\"_blank\"\u003eNexT theme\u003c/a\u003e\n\n# Hexo Help\n- [Hexo](https://hexo.io)\n- [EasyHexo](https://easyhexo.github.io/Easy-Hexo/)\n\n# QQ Group:\n- Name：HexoEditor        \n- QQID：602883087   \n- PASS：HexoEditor           \n- Data：2017-12-29  \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhuzhuyule%2Fhexoeditor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhuzhuyule%2Fhexoeditor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhuzhuyule%2Fhexoeditor/lists"}