summaryrefslogtreecommitdiff
path: root/docs/designers/language-basic-syntax.md
diff options
context:
space:
mode:
authorSimon Wisselink <wisskid@users.noreply.github.com>2021-12-03 11:59:22 +0100
committerGitHub <noreply@github.com>2021-12-03 11:59:22 +0100
commit428a701b1871b02078a663d51a9a6555195743b3 (patch)
tree51a76b654fb742dd9ea1ee6595baa27f113bc7ca /docs/designers/language-basic-syntax.md
parentbaebd59bb4da9fca89da382811b38c8313949c49 (diff)
downloadsmarty-428a701b1871b02078a663d51a9a6555195743b3.tar.gz
smarty-428a701b1871b02078a663d51a9a6555195743b3.tar.bz2
smarty-428a701b1871b02078a663d51a9a6555195743b3.zip
Feature/add docs (#689)
* Add converted docs repo * Set theme jekyll-theme-minimal * Removed BC docs, added TOC * Added TOCs, rewrote most important links in documentation. Linked README to new Github Pages site * some link fixes
Diffstat (limited to 'docs/designers/language-basic-syntax.md')
-rw-r--r--docs/designers/language-basic-syntax.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/designers/language-basic-syntax.md b/docs/designers/language-basic-syntax.md
new file mode 100644
index 00000000..18512659
--- /dev/null
+++ b/docs/designers/language-basic-syntax.md
@@ -0,0 +1,20 @@
+Basic Syntax
+============
+
+All Smarty template tags are enclosed within delimiters. By default
+these are `{` and `}`, but they can be
+[changed](../programmers/api-variables/variable-left-delimiter.md).
+
+For the examples in this manual, we will assume that you are using the
+default delimiters. In Smarty, all content outside of delimiters is
+displayed as static content, or unchanged. When Smarty encounters
+template tags, it attempts to interpret them, and displays the
+appropriate output in their place.
+
+- [Comments](./language-basic-syntax/language-syntax-comments.md)
+- [Variables](./language-basic-syntax/language-syntax-variables.md)
+- [Functions](./language-basic-syntax/language-syntax-functions.md)
+- [Attributes](./language-basic-syntax/language-syntax-attributes.md)
+- [Quotes](./language-basic-syntax/language-syntax-quotes.md)
+- [Math](./language-basic-syntax/language-math.md)
+- [Escaping](./language-basic-syntax/language-escaping.md)