Skip to content

Files

Latest commit

 

History

History
160 lines (80 loc) · 4.55 KB

index.md

File metadata and controls

160 lines (80 loc) · 4.55 KB
typora-root-url typora-copy-images-to
./
./images

搭建方案

hexo

文档 | Hexo

主题

Themes | Hexo

simpleblock

王子亭的博客 (jysperm.me)

jysperm/hexo-theme-simpleblock: Hexo theme of jysperm's blog. (github.com)

tufu9441/maupassant-hexo: A simple Hexo theme forked from icylogic. (github.com)

大道至简——Hexo简洁主题推荐 | 屠城 (haomwei.com)

Molunerfinn/hexo-theme-melody: A simple & beautiful & fast theme for Hexo. (github.com)

Do what you love,Love what you do | MARKSZのBlog (molunerfinn.com)

iissnan/hexo-theme-next: Elegant theme for Hexo. (github.com)

IIssNan's Notes

sabrinaluo/hexo-theme-replica: Github style replication for hexo theme

小白妹妹写代码 (hiitea.io)

vue-press

主题

vuepress-theme-reco (recoluan.com)

xugaoyi/vuepress-theme-vdoing: 🚀一款简洁高效的VuePress 知识管理&博客(blog) 主题 (github.com)

有哪些好看的vuepress主题? - 知乎 (zhihu.com)

掘金

---
# 主题列表:juejin, github, smartblue, cyanosis, channing-cyan, fancy, hydrogen, condensed-night-purple, greenwillow, v-green, vue-pro
# 贡献主题:https://github.com/xitu/juejin-markdown-themes
theme: juejin
highlight: juejin
---
function $initHighlight(block, cls) {
  try {
    if (cls.search(/\bno\-highlight\b/) != -1)
      return process(block, true, 0x0F) +
             ` class="${cls}"`;
  } catch (e) {
    /* handle exception */
  }
  for (var i = 0 / 2; i < classes.length; i++) {
    if (checkCondition(classes[i]) === undefined)
      console.log('undefined');
  }

  return (
    <div>
      <web-component>{block}</web-component>
    </div>
  )
}

export  $initHighlight;

多平台发布方案

一键多发:

写博客多平台发布简书、掘金、CSDN | 码农家园 (codenong.com)

markdown 通过PicGo图片上传到Github

公共jsdelivr访问Gtihub图片: https://cdn.jsdelivr.net/gh/用户名/仓库名@分支/路径 | gitee也可以

掘金复制markdown后会解析图片上传到掘金自己的CDN(但是外网的图片)

onblog/BlogHelper: 帮助国内用户写作的托盘助手,一键发布本地文章到主流博客平台(知乎、简书、博客园、CSDN、SegmentFault、掘金、开源中国),剪贴板图片一键上传至图床(新浪、Github、图壳、腾讯云、阿里云、又拍云、七牛云)

  1. 还有点小问题, 存草稿后有点问题, 卡顿
  2. 上传图片也是基于picgo(从配置文件上看语法)

公共CDN图片分发方案: 掘金会自动解析生成图片CDN

写博客多平台发布简书、掘金、CSDN | 码农家园 (codenong.com)

Typora+PicGo实现自己的图片自动上传教程 (juejin.cn)

Typora+Vue主题+Gitee图床轻松写文章 (juejin.cn)

Github+jsDelivr+PicGo 打造稳定快速、高效免费图床 - 知乎 · 语雀 (yuque.com)

Github Actions自动部署Hexo博客 | 唐瑞平 (tangruiping.com)

jsdelivr 出现 Failed to fetch version info for 原因分析 | 唐瑞平 (tangruiping.com)

免费CDN:jsDelivr + Github | TRHX'S BLOG (itrhx.com)

后缀必须改个名称: https://cdn.jsdelivr.net/gh/qingshan-dev/blog@main/images/20201203234813.png

否则提示fetch @latest 失败, 网上说需要发布, release后的tag也是分支

Markdown分发工具:

让排版变 Nice (mdnice.com)

文章排版经验及工具 - 知乎 (zhihu.com)