Build Blog System
Build Blog System by Github pages and jekyll
- markdown
- github use GFM[GitHub Flavored Markdown]
- resizing image only support by inner html code like
<img src="src", alt="", weight=""></img>
- resizing image only support by inner html code like
- kramdown
- resizing image by
![](){height:"100px"}
- resizing image by
- hackmd
- resizing image by
![](src... =100x100)
- resizing image by
- markdownlint
MD033
does not recommand for inner html -
finily I disable
MD033
in vscode by setting"markdownlint.config": { "MD033": false }
- github use GFM[GitHub Flavored Markdown]
Component
- use
_includes\head\custom.html<head>
to overload katex render- cause as a jekyll theme
minimal-mistakes-jekyll
, you can override any_includes
file by your own file with the same name
- cause as a jekyll theme
- use
limjh16/jekyll-action-ts@v2
to build site file - use
peaceiris/actions-gh-pages@v3
to push file tosite
- nothing need talk about
- katex
- setting with js
document.addEventListener("DOMContentLoaded", function () { renderMathInElement(document.body, { delimiters: [ { left: "$$", right: "$$", display: true }, { left: "$", right: "$", display: false }, ], }); });
- The
display
here mean css styleblock
, if change it to true, the formular will be center and block there.
- gem “therubyracer”
- this a js engine
- and you can choose one from [therubyracer, therubyrhino, duktape, Node.js]
Jekyll Theme
- config it at
_config.yml
theme: minimal-mistakes-jekyll
- add dependency at
Gemfile
gem "minimal-mistakes-jekyll"
- minimal-mistakes-jekyll
- there’s other theme you can use
dash
- select from
github pages