Skip to content
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.
/ LuaHTML Public archive

pre-processor for mixed html code with lua.

License

Notifications You must be signed in to change notification settings

Be1zebub/LuaHTML

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Depreated

it was a bad idea, i got a new one: https://github.com/Be1zebub/lua-template (recommened to use it)

LuaHTML

pre-processor for mixed html code with lua.
it works like <?php ... ?> but codeblocks looks like: <lua>...</lua>

Exapmple:

Luahtml:

<h1><lua> print('Test') </lua></h1>

PHP:

<h1><?php echo("Test") ?></h1>

Usage:

local result_html = EvalLuaHTML("<h1><lua> print('Test') </lua></h1>")
local result_html = EvalLuaHTMLFile("var/www/site.com/pages/index.lua.html")

Here is binding for Luvit http:
https://github.com/Be1zebub/LuvitWeb

About

pre-processor for mixed html code with lua.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages