From 7419ede521c3d27f8ce0da95573b4177663b3e42 Mon Sep 17 00:00:00 2001 From: Timothy Gu Date: Thu, 5 Feb 2015 19:35:27 -0800 Subject: [PATCH] Use curly quotes where appropriate For md renders without smartypants support (e.g. GitHub). --- docs/syntax.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/syntax.md b/docs/syntax.md index 541988cf..1637f2f9 100644 --- a/docs/syntax.md +++ b/docs/syntax.md @@ -19,7 +19,7 @@ Table of contents - `-%>`: Whitespace-trimming ending tag - Literal tag - Including other files - - "Preprocessor" directive + - “Preprocessor” directive - JavaScript `include()` function - Copyright @@ -27,7 +27,7 @@ Table of contents Basic format ------------ -An EJS "tag" is the primary functioning unit in an EJS template. With the +An EJS “tag” is the primary functioning unit in an EJS template. With the exception of the literal tag, all tags are formed by the following format:
<starting content closing>
@@ -376,10 +376,10 @@ escape `<`. EJS offer two ways of including other files. You can even include files that are not EJS templates, as the case is for CSS stylesheets. -### "Preprocessor" directive +### “Preprocessor” directive As a compatibility layer with EJS version 1, it is possible to use the -`include` directive in an unescaped output tag to directly "yank" the +`include` directive in an unescaped output tag to directly “yank” the text from another file, just like including a C header. However, as it is done as a simple inclusion, you cannot pass arguments to the included template. You can however make variables available in the parent template, that will be @@ -392,7 +392,7 @@ if you changed the file after compilation, the changes are not reflected. If the file specified has an extension and is an absolute path, that file is included. If it does not have an extension, `.ejs` is automatically appended. If the file is not an absolute path, the file is searched in the same -directory as the parent template's. +directory as the parent template’s. #### Whitespace control @@ -435,7 +435,7 @@ directive, as it trims the whitespace after the included file. } ``` -##### "Preprocessor" output +##### “Preprocessor" output ```js