From 0381b1a5029f43500d4b4eaae9aa240da4512af0 Mon Sep 17 00:00:00 2001 From: Patrick Steele-Idem Date: Tue, 25 Mar 2014 14:19:03 -0600 Subject: [PATCH] More documentation for taglibs --- README.md | 332 +++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 326 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 0edb0e2a6..7fc1690d1 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,7 @@ raptor-templates - [Using the RaptorJS Optimizer](#using-the-raptorjs-optimizer) - [Using Browserify](#using-browserify) - [Template Compilation](#template-compilation) + - [Sample Compiled Template](#sample-compiled-template) - [Language Guide](#language-guide) - [Template Directives Overview](#template-directives-overview) - [Text Replacement](#text-replacement) @@ -37,7 +38,15 @@ raptor-templates - [strip](#strip) - [Helpers](#helpers) - [Custom Tags and Attributes](#custom-tags-and-attributes) - - [Taglibs](#taglibs) +- [Taglibs](#taglibs) + - [Tag Renderer](#tag-renderer) + - [raptor-taglib.json](#raptor-taglibjson) + - [Sample Taglib](#sample-taglib) + - [Taglib Namespace](#taglib-namespace) + - [Defining Tags](#defining-tags) + - [Defining Attributes](#defining-attributes) + - [Scanning for Tags](#scanning-for-tags) + - [Taglib Discovery](#taglib-discovery) @@ -50,7 +59,7 @@ A basic template with text replacement, looping and conditionals is shown below: ```html Hello ${data.name}! -