Usage guide
The preferred method of creating content is to write markdown documents inside src
then generate an HTML to host with instructions below.
npm install
- write content in markdown inside the
src
directory (see examples in there) node src/build.js <path to markdown source inside src/>
- will automatically generate and move the resulting HTML file into the html directory
You can alternatively directly create the HTML (or markdown) files outside of src
.
Markdown language extensions
Put asides in a block of text starting with >>
or >>>
for more important notes, like:
>> This is an aside.
This is still part of the aside.
No longer part of the aside
Local build
If you want to preview the webpage before pushing to github to be hosted, you need jekyll.
Installation
- install the latest version of ruby
- install rubydevkit and point to the previous installation of ruby
- navigate to portfolio root directory with git bash
gem install bundler
bundle install
Previewing
bundle exec jekyll serve