You can use the editor on GitHub to maintain and preview the content for your website in Markdown files.
Whenever you commit to this repository, GitHub Pages will run Jekyll to rebuild the pages in your site, from the content in your Markdown files.
Markdown is a lightweight and easy-to-use syntax for styling your writing. It includes conventions for
Syntax highlighted code block
# Header 1
## Header 2
### Header 3
- Bulleted
- List
1. Numbered
2. List
**Bold** and _Italic_ and `Code` text
[Link](url) and ![Image](src)
For more details see GitHub Flavored Markdown.
Following steps explain how to build and preview site locally, before you commit and make pull request.
Follow Jekyll installation manual.
Run
$ bundle install
Change active directory to this repository and run
$ bundle exec jekyll serve
Open browser and go to URL http://127.0.0.1:4000/
When you run command above and you get following error
Can't find gem bundler (>= 0.a) with executable bundle (Gem::GemNotFoundException)
This is RubyGemas and Bundler bug. To remedy this, you need to install Bundler exact version used in Gemfile.lock
.
$ gem install bundler -v "$(grep -A 1 "BUNDLED WITH" Gemfile.lock | tail -n 1)"
Your Pages site will use the layout and styles from the Jekyll theme you have selected in your repository settings. The name of this theme is saved in the Jekyll _config.yml
configuration file.
Fork this repository and create pull request.