29 Sep 2015

jekyll

Jekyll

theme

http://jekyllbootstrap.com/usage/jekyll-theming.html#toc_5

rake theme:switch name="twitter"
rake theme:switch name="mark-reid"

cheat-list, quick commands

http://jekyllbootstrap.com/usage/jekyll-quick-start.html#toc_0

$ rake post title="Hello World"
$ rake page name="about.md"
# nested page
$ rake page name="pages/about.md"
<img src="/img/research/len-fig1.pdf" height="180">
* TOC
{:toc}
[local post](/networking/2015/10/05/the-softrouter-architecture/)
[羲之爱鹅](/cn.index.html)

(web design) examples

liquid

jekyll date

http://alanwsmith.com/jekyll-liquid-date-formatting-examples

html and CSS

styling

inline styling

<h1 style="color:blue;">This is a Blue Heading</h1>
fully styled horizontal navigation bar example
http://www.w3schools.com/css/tryit.asp?filename=trycss_navbar_horizontal_float_advanced

color

color list
http://www.computerhope.com/htmcolor.htm http://www.imagemagick.org/script/color.php http://www.w3schools.com/cssref/css_colors.asp
color pallete generator (from image)
http://www.cssdrive.com/imagepalette/index.php

position

centering things
http://www.w3.org/Style/Examples/007/center.en.html#hv3
http://www.w3.org/Style/Examples/007/center.en.html

font

https://en.wikipedia.org/wiki/Font_family_(HTML)
http://iosfonts.com

symbols

Unicode Characters (good)
http://dmmarks.com/UnicodeChars.html
http://www.sabinanore.com/design/html-special-symbols/
https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references
html special symbols
Unicode Entity Codes for Math
http://www.w3schools.com/charsets/ref_utf_arrows.asp
https://www.utexas.edu/learn/html/spchar.html
  &nbsp; &#160; non-breaking space
Superscript and Subscript
Code: x<sup>x+1</sup> Result: xx+1
Code: x<sub>y+1</sub> Result: xy+1

markdown

http://kramdown.gettalong.org/index.html
http://milanaryal.com/2015/writing-on-github-pages-and-jekyll-using-markdown/