🎉 init

main
zztkm 2 years ago
commit c90f133543

@ -0,0 +1,9 @@
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
[*.v]
indent_style = tab
indent_size = 4

4
.gitattributes vendored

@ -0,0 +1,4 @@
*.v linguist-language=V text=auto eol=lf
*.vv linguist-language=V text=auto eol=lf
*.vsh linguist-language=V text=auto eol=lf
**/v.mod linguist-language=V text=auto eol=lf

9
.gitignore vendored

@ -0,0 +1,9 @@
# Binaries for programs and plugins
main
vss
*.exe
*.exe~
*.so
*.dylib
*.dll
vls.log

@ -0,0 +1,17 @@
# vss
A static site generator
## Caution
vss is still under development and the API is not stable.
Be aware that destructive changes will be made if you use it!
## Use
Build your site
```
vss
```
Output

@ -0,0 +1,5 @@
# Design of vss
Example of file structure to be built
```

@ -0,0 +1,7 @@
Module {
name: 'vss'
description: 'static site generator'
version: '0.0.0'
license: 'MIT'
dependencies: [markdown]
}

24
vss.v

@ -0,0 +1,24 @@
module main
import os
import cli
import markdown
fn main() {
mut app := cli.Command {
name: "vss"
version: "0.0.0"
description: "static site generator"
execute: fn (cmd cli.Command) ? {
return
}
}
text := '# Markdown Rocks!'
output := markdown.to_html(text)
println(output) // <h1>Markdown Rocks!</h1>
}
// work の検証をやる
https://modules.vlang.io/os.html#walk
Loading…
Cancel
Save