Web site of typelevel.scala, served under the domain typelevel.org.
- Create a new file in the
_postsdirectory or copy an existing post. Its name should have the formatYYYY-MM-DD-short_title.md. - Set the
title(short title of the post, appears as the HTML<title>) andauthor(your GitHub user name) in the front matter. If you'd like to use code highlighting in the post, add the fieldpygments: truebelownav. - If this is your first blog post, please indicate if you want your name and a profile picture to appear on the post. If not, you can remove the
authorfield from the front matter. - Write your content using Markdown. For code highlighting, use the usual GitHub syntax:
```scala def yourCode: Here ```
That's it, we'll take care of the rest. If you wish, you can also submit just a plain Markdown file and we'll be happy to integrate it.
This site is built using Jekyll. To preview your changes, you have to install the following things first:
-
Ruby
-
Python 2 and Pygments
Note: Make sure that
/usr/bin/pythonis Python 2 and not Python 3, otherwise you might get weird errors.
Once you've done that, you need to install jekyll and redcarpet. Find out if your package manager provides them, and if not, install them via gem:
# don't forget to add the directory where Gem binaries are installed to your `$PATH`
# on my machine, that's `$HOME/.gem/ruby/2.0.0/bin`
gem install jekyll
gem install redcarpetThere's also an official installation guide. Keep in mind that this site uses redcarpet (instead of maruku or rdiscount).
Everything set up? Great. Now you just have to tell Jekyll to generate the site:
jekyll --server --autoThis will start a local web server on port 4000 where you can browse the site and which re-generates the site if you change the source files.