Skip to content

Commit

Permalink
release note
Browse files Browse the repository at this point in the history
  • Loading branch information
FromEndWorld committed Jul 25, 2019
1 parent d58cae9 commit 9a28558
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 6 deletions.
23 changes: 19 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,37 @@ LOFFER是个可以帮助你get off from LOFTER的软件(我知道这个pun很

这是一个可以通过Fork直接发布在GitHub的Jekyll博客,你不需要编写代码或使用命令行即可获得一个部署在GitHub的博客。

**LOFFER已更新到V0.3.0版本**
## 更新内容

新版本增加目录功能,在post的信息中心加入`toc: true`,这篇博文就会显示目录了。
### 2019-07-25 V0.4.0

修订目录跳级会坏掉的问题,不算完美解决,但不会坏掉了。

增加对LaTeX渲染的支持,请见[这篇说明和示例](https://fromendworld.github.io/LOFFER/math-test/)

增加置顶功能,只要在一个post的YAML Front Matter(就是文章头部的这段信息)中加入` pinned: true `,这篇文章就可以置顶了。

另外介绍一个给LOFFER更换主题颜色的手法。LOFFER用了一个开源的颜色表[Open Color](https://yeun.github.io/open-color/),该色表提供的可选颜色有:red, pink, grape, violet, indigo, blue, cyan, teal, green, lime, yellow。

LOFFER的默认状态是teal,要更换主题颜色,只要打开文件` _sass/_variables.scss `,将文件中所有的teal全部替换成你想要的颜色。例如,查找teal,替换indigo,全部替换,commit,完成!


### 2019-07-20 V0.3.0

新版本增加目录功能,在post的信息中心加入` toc: true `,这篇博文就会显示目录了。

这次没有对config的修改,因此应该可以通过[这个方法](https://github.com/KirstieJane/STEMMRoleModels/wiki/Syncing-your-fork-to-the-original-repository-via-the-browser),给自己提pull request来更新。

目录基于[jekyll-toc by allejo](https://github.com/allejo/jekyll-toc)制作。

目前我试用发现了一点小问题:如果你的标题级数不按套路变化,它就会搞不懂……

`# 一级标题`下面必须是`## 二级标题`,如果是`### 三级标题`它就人工智障了【手动扶额】
` # 一级标题 `下面必须是` ## 二级标题 `,如果是` ### 三级标题 `它就人工智障了【手动扶额】

注意:目前目录仅在桌面版显示。


**LOFFER已更新到V0.2.0版本**
### 2019-06-30 V0.2.0

新版本进一步优化了一下样式,并且支持了基于GitHub Issues的评论Gitalk(请看下文的配置说明)。

Expand Down
12 changes: 12 additions & 0 deletions _posts/2019-06-02-document.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,18 @@ LOFFER是个可以帮助你get off from LOFTER的软件(我知道这个pun很

## 更新内容

### 2019-07-25 V0.4.0

修订目录跳级会坏掉的问题,不算完美解决,但不会坏掉了。

增加对LaTeX渲染的支持,请见[这篇说明和示例](https://fromendworld.github.io/LOFFER/math-test/)

增加置顶功能,只要在一个post的YAML Front Matter(就是文章头部的这段信息)中加入` pinned: true `,这篇文章就可以置顶了。

另外介绍一个给LOFFER更换主题颜色的手法。LOFFER用了一个开源的颜色表[Open Color](https://yeun.github.io/open-color/),该色表提供的可选颜色有:red, pink, grape, violet, indigo, blue, cyan, teal, green, lime, yellow。

LOFFER的默认状态是teal,要更换主题颜色,只要打开文件` _sass/_variables.scss `,将文件中所有的teal全部替换成你想要的颜色。例如,查找teal,替换indigo,全部替换,commit,完成!

### 2019-07-20 V0.3.0

新版本增加目录功能,在post的信息中心加入` toc: true `,这篇博文就会显示目录了。
Expand Down
14 changes: 12 additions & 2 deletions _posts/2019-07-24-math-test.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ Jekyll的默认文章摘要是第一段,但是我在使用中发现它选取
因此有特殊符号、内容的文章,建议将这些内容折叠在摘要以下。例如本文

<!-- more -->

Block math test

```
$$
\begin{align*}
y = y(x,t) &= A e^{i\theta} \\
Expand All @@ -28,10 +30,18 @@ y = y(x,t) &= A e^{i\theta} \\
\end{align*}
$$
```

$$
x+1\over\sqrt{1-x^2}\label{ref1}
\begin{align*}
y = y(x,t) &= A e^{i\theta} \\
&= A (\cos \theta + i \sin \theta) \\
&= A (\cos(kx - \omega t) + i \sin(kx - \omega t)) \\
&= A\cos(kx - \omega t) + i A\sin(kx - \omega t) \\
&= A\cos \Big(\frac{2\pi}{\lambda}x - \frac{2\pi v}{\lambda} t \Big) + i A\sin \Big(\frac{2\pi}{\lambda}x - \frac{2\pi v}{\lambda} t \Big) \\
&= A\cos \frac{2\pi}{\lambda} (x - v t) + i A\sin \frac{2\pi}{\lambda} (x - v t)
\end{align*}
$$

Inline math test $\lim_{x \to \infty} \exp(-x) = 0$
Inline math test `$\lim_{x \to \infty} \exp(-x) = 0$`, $\lim_{x \to \infty} \exp(-x) = 0$

0 comments on commit 9a28558

Please sign in to comment.