Book Image

Grunt Cookbook

By : Jurie-Jan Botha
Book Image

Grunt Cookbook

By: Jurie-Jan Botha

Overview of this book

<p>A web application can quickly turn into a complex orchestration of many smaller components, each one requiring its own bit of maintenance. Grunt allows you to automate all the repetitive tasks required to get everything working together by using JavaScript, the most popular programming language.</p> <p>Grunt Cookbook offers a host of easy-to-follow recipes for automating repetitive tasks in your web application's development, management, and deployment processes. This book will introduce you to methods that can be used to automate basic processes and your favorite tools. By following the recipes, you will soon be comfortable using Grunt to perform a wide array of advanced tasks in a range of different scenarios.</p>
Table of Contents (17 chapters)
Grunt Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Adding content to the site


When developing a website it is usually recommended that the structure and content of a site remain separated. Having it organized in this fashion makes it easy for us to edit the ever changing content of a site, without having to get involved with it's relatively static structure every time we do so.

The Assemble framework comes bundled with a library that implements the Markdown text formatting syntax; this allows us to easily create content documents with a minimal structure that is rendered to well-formed HTML.

You can read more about the Markdown syntax at following the URL:

http://daringfireball.net/projects/markdown/

Getting started

In this recipe we'll continue working on the project from the Adding a page to the site recipe in this chapter. Be sure to refer to it if you are not yet familiar with its contents. Before we start we should also make sure that the site builder and server are running. If they aren't yet running they can be started using the grunt...