Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zztkm/luassg
https://github.com/zztkm/luassg
Last synced: 10 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/zztkm/luassg
- Owner: zztkm
- License: mit
- Created: 2024-04-14T15:00:02.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-11-28T13:45:00.000Z (about 1 month ago)
- Last Synced: 2024-12-20T23:29:51.063Z (14 days ago)
- Language: Lua
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# luassg
Static Site Generator written by lua.
## Development
Requirements
- [hererocks](https://github.com/luarocks/hererocks)
Setup lua environment.
```bash
# init lua env
hererocks . --lua 5.4.6 --luarocks latest# activate lua env
source bin/activate
```Example
```bash
$ cat test.md 22:42:49# Hello
こんにちはみなさん!
## Toc 2
with !
$ lua main.lua test.md 22:43:18
File converted to HTML
$ cat test.md.html 22:43:31Hello
こんにちはみなさん!
Toc 2
with !
```## LICENSE
This project is licensed under the MIT License.
This project uses the following third-party library:
- [markdown](https://github.com/mpeterv/markdown), licensed under the MIT License.