Jekyll Configuration
09 July 2015
MathJax
Linebreaks
- linebreak in multi-line formula
~\\\
example:
\[ {\begin{aligned} x&={\frac {128}{\pi }}2^{\text{zoom level}}(\lambda +\pi ){\text{ pixels}} ~\\ y&={\frac {128}{\pi }}2^{\text{zoom level}}\left(\pi -\ln \left[\tan \left({\frac {\pi }{4}}+{\frac {\varphi }{2}}\right)\right]\right){\text{ pixels}} \end{aligned} } \]
Github Pages
Org Mode
Themes
- change theme
$ rake theme:switch name="twitter"
- install theme
$ rake theme:install git="https://github.com/dhulihan/hooligan.git"
Include dygraphs in Jekyll-run site from R
-
generate with YAML:
output: rmarkdown::html_fragment: self_contained: false lib_dir: lib fig.width: .. fig.height: ..
- render with
rmarkdown::html_output
, copy dygraph dependencies from header - create a new jekyll layout in
_layouts/
with the dygraphs dependencies (changinglibs
to/libs
as mentioned before) - run rmarkdown again, this time with
rmarkdown::html_fragment
to generate html without header - copy html fragment to
_includes/
- create a new blog post using layout specified in [2]
- include html fragment in body of blog post using
%}
CV
- github: biomadeira: vitae
- github: ellekasai: resumecards
- github: spitimage: jekyll-cv-generator
- github: streetturtle: jekyll-cv-crafter
markdown-cv
Plugins
ditaa
Installation
- install ditaa
sudo dnf install ditaa
- place the
ditaa.rb
plugin in your sites_plugins
directory - github: matze: jekyll-ditaa/ditaa.rb
%} /—-+ DAAP /—–+—–+ Audio /——–+ | PC |<——| RPi | MPD |——->| Stereo | +—-+ +—–+—–+ +——–+ | ^ ^ | ncmpcpp | | mpdroid /———+ +——–=——–+ +—-=—-| Nexus S | +———+ %}
PHP Markdown integration
Flavours using the Markdown Extra syntax for definition lists:
- Markdown Extra3
- MultiMarkdown2
- Pandoc6 (interestingly there is a compact_definition_lists parser option)
- Python Markdown3
- Kramdown2
- Discount (uses = for main syntax though)
- Lunamark1
Flavours that do not support definition lists:
- GitHub Flavored Markdown
- Redcarpet