From f443576238b3757d5b30ac5004ece50b4405761b Mon Sep 17 00:00:00 2001 From: aselvaraj Date: Sun, 3 May 2015 01:10:59 -0700 Subject: [PATCH] update README.md: tags-dir array support --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 610ff65cd..e2776cc44 100644 --- a/README.md +++ b/README.md @@ -1489,7 +1489,6 @@ With this approach, `marko-taglib.json` will be much simpler: "tags-dir": "./components" } ``` - Given the following directory structure: * __components/__ @@ -1528,6 +1527,14 @@ _In `marko-tag.json`:_ _NOTE: It is not necessary to declare the `renderer` since the scanner will automatically use `renderer.js` as the renderer._ +`tags-dir` also accepts an array if you have taglibs organized in multiple folers. + +```json +{ + "tags-dir": ["./components", "./modules"] +} +``` + ## Nested Tags It is often necessary for tags to have a parent/child or ancestor/descendent relationship. For example: