Scrappy framework for writing guides
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Guide is a scrappy framework for writing.. well, Guides. Like the name suggest. I really didn't get creative with the name here, guys. The point of guide is to make a simple framework for making iFixit or Makezine style tutorials and guides.

I put together a simple example.html page.


Installation is pretty straightforward. You will need jQuery, then attach the guide.js file and the guide.css file in the HTML header tags.

    <script src=""></script>
    <script src="guide.js"></script>
    <link rel="stylesheet" href="guide.css">   

Afterwards, you can create guide steps by using the following code template. A Guide Step is basically one or more images on the left side, with some text based instructions on the right. When the screen is smaller, the images take up the whole width. You know, responsive blah blah blah.

<div class="guide-step">
  <div class="guide-images">
    <img src="01_breadboard.jpg" data-caption="Fritzing Breadboard View">
  <div class="guide-text">
    <h2>Step 1</h2>
    There's one big picture and a few bullet points.
      <li>Open Fritzing</li>
      <li>Make sure you're in BreadBoard View</li>
      <li>Search for components and drag in to mimic your setup</li>

If your main thing isn't an image, but say a chunk of code, you can use the guide-main class instead of the guide-images class. For example:

<div class="guide-step">
  <div class="guide-main">
var ua = navigator.userAgent.toLowerCase();
if(|(ipod)|(android)/) != -1) {
else {
  <div class="guide-text">
    <h2>Step 3</h2>
    Here are some example code. The highlighting is using highlight.js. 

You know what? Just go and muck around in the example.html file. That's probably the best way to figure out what's going on.