yama's blog

ブログ開始

東京のどこかの大学生

contrastというテーマを使って作成

  1. こんな感じにSchrödinger方程式もきれいに書ける:
\[i\hbar\frac{\partial}{\partial t} \Psi(\mathbf{r},t) = \left [ \frac{-\hbar^2}{2\mu}\nabla^2 + V(\mathbf{r},t)\right ] \Psi(\mathbf{r},t)\]
Title 1 Title 2 Title 3 Title 4
First entry Second entry Third entry Fourth entry
Fifth entry Sixth entry Seventh entry Eight entry
Ninth entry Tenth entry Eleventh entry Twelfth entry
Thirteenth entry Fourteenth entry Fifteenth entry Sixteenth entry

Code

Markdownベースなのでもちろんコードも綺麗に表示できる.

function foo () {
    return "bar";
}

コードを{% highlight language %} {% endhighlight %}で囲めばよい.linenosで行番号を表示

1
2
3
4
import matplotlib.pyplot as plt
import matplotlib.style as mplstyle
mplstyle.use("fast")
plt.rcParams["font.size"] = 17

引用

What do you get when you cross an insomniac, an unwilling agnostic and a dyslexic?

You get someone who stays up all night torturing himself mentally over the question of whether or not there’s a dog.

Hal Incandenza

Github Gistもサポートしている

<script src="https://gist.github.com/fb5e60735c6617f83bc275b7ae86cff7.js"> </script>

Images

assets folder and embed it with ![title](/assets/name.jpg))とするか以下のようにリンクからもいける

Flower

YouTubeの動画も埋め込める:

Swiss Alps

編集

bundle exec jekyll servehttp://localhost:4000/myBlog/にローカルでプレビューを表示できる.編集後,pushするとウェブ版も更新できる

では へば!

Last updated: