How to Share a Project

People create interesting projects with Zetta. Get started by re-creating the projects of others. Or share the Internet of Things projects you have created with the Zetta community.
  • Alan Languirand
  • calendar Oct 01, 2014
  • nodes Project


  1. What is a Project?
  2. How to Create Project Instructions
  3. How to Share a Project
  4. Style Guide
  5. Markdown Guide
  6. Getting Help

What is a Project?

A project instructs a person through a Zetta project step-by-step. The IoT Security System is an exemplary project. Please use it as a model for creating your own projects.

Style Guide

While you’re cooking - about to burn tonight’s dinner - you don’t want to follow a project that provides you with long-winded explanations for each step. You want the facts. You want them clear. And you want to easily scan the steps so you can find your place and continue cooking. As you write a Zetta project, imagine that you’re writing it for a cook who doesn’t want to burn tonight’s dinner:

  • Write clear, concise instructions using the tone of a command:
    • Preheat oven to 350 degrees F (175 degrees C).
    • Stir the butter and sugar until smooth.
    • Connect the red wire from Breadboard H18 to BeableBone P9 32.
  • Use as few words as possible.
    • But no fewer.
  • Show all relevant commands in the terminal.
  • Show all relevant source code.
  • Show all relevant screenshots.
  • Illustrate with Fritzing diagrams.
  • Illustrate with photos.

Markdown Guide

Zetta projects are writeen in markdown, we use kramdown as our markdown parser, and it is interpreted as github flavored markdown.

Project Template

Make a copy of the project boilerplate to get started quickly with writing your own zetta project.

As Standard as possible

Wherever we can, we try to adhere to standard markdown and simply let our stylesheet do all the hard visualization work. If you use github, then it’s likely that the only new markdown syntax you’ll encounter in this guide is for attributes.


Level one headings # create horizontal breaks in your content, and make it easy to visually denote sections of your document. This blue bar is an example of level one heading:

Heading Example

Did you notice the link (link) icon to the left of the heading? Clicking on a heading of any level changes the URL hash for easy intra-page linking, just like github. Use these links in your #Project Steps section

All other heading levels ##..###### behave just as you’d expect.


Tips are rendered from <blockquote> elements. To make a tip, just start a line with a > (greater than) symbol…just like text-only email quoting. There is a tip above under the example header picture.

> This will render as a tip!

In general, having more than one consecutive tip means that the information the tip is modifying should be modified. Try to write your project so that there is no more than one tip per paragraph or piece of preceeding information.


All code used in projects is written just like on github, with matched pairs of a single ` (backtick) for inline code, and four spaces at the beignning of a line or ``` (3+ backticks) for code fences. Code fences with language definitions will be highlighted using highlight.js and the monokai_sublime theme. Here’s an example:

This is an example of using `inline code` in markdown.

#This text
Will be highlighted like markdown.
> Using [highlight.js](

We’ve also extended highlight.js to show line numbers for any code that is more than 2 lines long. To remove line numbers you need to add -noln to the language definition. We’ve found that this doesn’t always render properly and you need drop code fences and just surround your code with html, like this:

<pre><code class="bash-noln">
    ├── node_modules
    ├── package.json
    └── server.js


Kramdown supports inline attribute lists, and we use them for adding classes to step lists and images.

To get your list of steps in your # Project Steps section to render larger like it does in the IoT Security System project add a class of steps to the list by following it with a {:.steps} attribute list like this:

# Project Steps

1. [Add the Piezo Buzzer](#add-the-piezo-buzzer)
   This element will get us going with the basics of Zetta. This step will have us dealing with `npm` and `drivers`.
5. [Next Steps](#next-steps)


Project images are served from a subdirectory matching your_project_name under the /images/projects directory:


Images are scaled down by default. They can be viewed larger in a modal window by using an inline attribute list to attach the zoom class to the image element.

Regular image:
![Heading Example](/images/projects/meta_project/h1_example.png)

Image with modal zoom:
![Heading Example](/images/projects/meta_project/h1_example.png){:.zoom}

Add the {:.zoom} attribute to an image without any whitespace after the closing ) parenthesis, or else the image may be wrapped in a <p> tag, and the zoom class will be applied to that <p> tag.


Zetta uses a symbolset font to render icons in the style of SSPika. A symbolset converts text into an icon by using font ligatures.

openbook View the icon reference to see the full list of 504 icons available, and the text used to create them.

For example, these icons:

like clockwise

Are written semantically in markdown like this:


Icon text is made by giving a word’s containing element a class of icon. Since we probably only want one icon at a time, we need to wrap that text in a <strong> tag using ** (bold). This gives the {:.icon} attribute list something to be applied to.

Cover images

When your project is listed on the project list page, we automatically pull out the first image from your project to display as it’s cover photo. Adding your own cover image overrides the default behavior of crawling your content for image files and gives you greater control over how your project is represented visually.

To specify a cover image add it’s url as the cover property in your yaml frontmatter like this:

layout: project
title: How to Share a Project
cover: /path/to/cover/image.jpg

Getting Help

Do you have questions about this project? Discuss with the Zetta community.


Alan Languirand

Connect with Alan and other Zettanauts. Join the Zetta community discussion.

Have a project to share? Read How to Share a Project