GithubHelp home page GithubHelp logo

selfmakeit / gitbook-blog-template Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 34.6 MB

基于gitbook的技术博客模板,markdown友好,方便搭建,可专注于写markdown笔记本身。

Home Page: http://blog.saywhen.site

CSS 20.05% JavaScript 79.95%
gitbook markdown nodejs

gitbook-blog-template's Introduction

基于gitbook的博客模板

在尝试了多种支持markdown的博客架子之后还是发现gitbook最方便,平时想要记点什么东西直接打开typora写完直接上传就可以了。

最终效果

image-20230126135107784

image-20230126135224711

使用

直接下载项目后直接在note文件夹写你的markdown文件,之后部署就可以了。如果你是在markdown中插入了图片一类的资源的话,有两种方式:

1. 将图片上传到网上作为链接插入
1. 图片在本地的话把你markdown文件的资源文件一起放在项目中来(可以设置为相对路径,这样在把文件复制到博客项目中的时候就直接连同文件夹一起放到项目中的note文件下就可以了)

image-20230126140613883

有三种比较方便的部署方案:

  • Jenkins
  • 脚本自动上传服务器部署
  • 项目部署在vercel

我个人采用的第二种方式,在build后自动上传到服务器,但是其实第三种方式通过把项目部署在vercel上,后期新写什么博客之后push到github就自动部署了,这种其实也更为方便,也不需要你有自己的服务器。

gitbook-blog-template's People

Contributors

selfmakeit avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.