-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1bcb928
commit 24c7999
Showing
1 changed file
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# Kvm | ||
|
||
## Introduction | ||
|
||
Kvm is a simple tool for generating HTML quickly. It generates HTML by splitting `.Kvm` files into different chunks and merging Props. | ||
|
||
## Syntax | ||
|
||
### `.Kvm` | ||
|
||
General, `Kvm` is blocks like following: | ||
|
||
```kvm | ||
{% Property Content %} | ||
``` | ||
|
||
If you want to type `{%` into HTML, you should write like: | ||
|
||
```kvm | ||
{{% | ||
``` | ||
|
||
### Property | ||
|
||
|
||
``` | ||
# Comment should starts with '#' | ||
# Key value pair should be done like A = B | ||
Key=Value | ||
``` | ||
|
||
## Usage | ||
|
||
```pwsh | ||
.\Kvm.ConsoleApp.exe $ConfigName | ||
``` | ||
|
||
Example, our config name is `conf.json`, run like: | ||
|
||
```pwsh | ||
.\Kvm.ConsoleApp.exe conf.json | ||
``` | ||
|
||
However, to make things simple, the `ConfigName` is set as `config.json` by default. If your config name is `config.json` accidentally, you don't need type `ConfigName` again. Just run like: | ||
|
||
```pwsh | ||
.\Kvm.ConsoleApp.exe | ||
``` | ||
|
||
## Platforms Supported | ||
|
||
All platforms which are supported by .NET 5. | ||
|
||
## LICENSE | ||
|
||
Kvm is licensed under [OKZPL](LICENSE). |