aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2022-10-28 10:56:38 +0200
committerMartin Fischer <martin@push-f.com>2022-10-28 12:25:57 +0200
commit20555bba82f9420998ce0d4b42f29d9398d5036b (patch)
tree729c7b7407ac80c5c52f50aab26869a497dee834 /README.md
parent0b699948d33c6b209439e2eb77c60c220130dc6b (diff)
drop support for Lua shebangs
Now that we have Lua templating, which is more flexible, it doesn't make sense to keep Lua shebangs around.
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 0 insertions, 14 deletions
diff --git a/README.md b/README.md
index 9a2ba59..90d857b 100644
--- a/README.md
+++ b/README.md
@@ -111,20 +111,6 @@ Note that:
* Note that none of these constructs can be nested. E.g. `{{foo|{{bar}} }}` or
`{{foo|<raw>test</raw>}}` will not work as you might expect.
-## Lua shebangs
-
-Files can start with a shebang like `#!hello`, which will
-interpret the following text with the `view` function returned
-by in this case `bin/hello.lua`, e.g.
-
-```lua
-function view(text)
- return '<pre>' .. gitpad.html_escape(string.upper(text)) .. '</pre>'
-end
-
-return {view=view}
-```
-
## Contributing
Feedback, bug reports and suggestions are welcome!