bundler install --path vendor/bundle
bundle exec jekyll serve
To compile:
bundle exec jekyll build
A inline formulate: {% latex %} E = mc^2 {% endlatex %}.
{% latex centered %}
E = mc^2
{% endlatex %}
```d
var s = "JavaScript syntax highlighting";
alert(s);
```
{% highlight d linenos %}
void main()
{
writeln("aa");
}
{% endhighlight %}
See the Markdown cheatsheet for more featurs. Github-flavored markdown is supported.
- allows server-side rendering of LaTeX formulas (-> extremely fast)
- KaTeX files in
js
andcss
should be updated from time to time (it's still under heavy development)
{% figure %}
- needs rouge
>= 1.11.0
for the D lexer
- generate
.svg
s (e.g.inkscape --export-plain-svg=expo.svg expo.pdf
)