Markdown 渲染器從 marked 換成 markdown-it
本文說明為何將 Hexo Markdown 預設的渲染器 marked,換成 markdown-it 的原因,並說明 markdown-it 的安裝過程。
本文說明為何將 Hexo Markdown 預設的渲染器 marked,換成 markdown-it 的原因,並說明 markdown-it 的安裝過程。
當設定好 Hexo 基本設定及完成文章撰寫後,就可以公開發佈了 。本文主要說明如何部署 Hexo 部落格網站到 GitHub Pages。從建立 GitHub Repo 的命名注意事項、安裝 Hexo 一鍵佈署工具、修改 Hexo config 檔案,到最後部署時 GitHub Pages 的相關設定。
本文主要介紹如何在 Hexo 部落格中新增及撰寫文章。在 Hexo 中,可以透過一行指令新增文章,並有三種模板種類:post、page 和 draft。文章可以在 VS Code 中用 markdown 語法撰寫,且 Hexo 本身也有內建的語法,可以讓文字有不同的呈現格式。最後,文章的圖片需要另外找放圖片空間,如 imgur 或 Firebase Storage,並透過複製連結的方式插入文章中。
本文主要介紹如何替換 Hexo 部落格主題。介紹如何在 Hexo 中使用 NexT 主題,首先下載 NexT 主題以及如何在 Hexo 配置文件中更改主題為 NexT。也將會使用 NexT 主題的配置文件,更改程式碼區塊樣式、導覽列樣式,以及新增導覽列頁面。
主要說明如何從零開始在本地端架設 Hexo 部落格。本文詳細說明安裝工具、初始化、更改部落格基本資訊和本地端啟動 Hexo 部落格的步驟。
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
1 | $ hexo new "My New Post" |
More info: Writing
1 | $ hexo server |
More info: Server
1 | $ hexo generate |
More info: Generating
1 | $ hexo deploy |
More info: Deployment