Proton manual

Proton manual

Proton is a website preprocessor.
  • Layouts and Partials: Proton lets you define your site's header and footer layouts in a separate file, and even separate snippets of your site into reuseable components (partials). Your code will be much cleaner and DRYer!

  • Template languages: Proton lets you write your site in any template language you need -- the translation will be taken care of for you. Proton supports HAML, LessCSS, Markdown, SASS and Textile by default, and more can be added through extensions.

  • Extendable: Proton is easily customizable with extensions. You can add new helpers, new commands, support for new languages and many more by simply adding the extensions to your project folder. Some are even available as simple Ruby gems!

  • Design fast: Proton comes with a web server that lets you serve up your site locally. Any changes to your files will be seen on your next browser refresh!

  • Build your site as static HTMLs: You can export your site as plain HTML files with one simple command.

Why use Proton?

It's like building a static site, but better! You can use Proton for:

  • Building HTML prototypes
  • Building sites with no dynamic logic
  • Creating a blog where the entries are stored in a source repository