This commit is contained in:
Talon Poole 2021-02-16 20:41:27 +00:00
parent abbb212c48
commit 56d18c4652
3 changed files with 3 additions and 5 deletions

View file

@ -4,10 +4,7 @@ build: gmi-web.1
gmi-web.1: gmi-web.1.scd gmi-web.1: gmi-web.1.scd
scdoc < $< > $@ scdoc < $< > $@
example/test.html: example/test.gmi
./test.sh
clean: clean:
rm -rf gmi-web.1 gmi.css.5 node_modules rm -rf gmi-web.1 node_modules
.PHONY: clean .PHONY: clean

View file

@ -35,8 +35,8 @@ When producing a complete and valid HTML5 document the first declaration is the
Additionally a `<head>` tag with at least the following must also be included: Additionally a `<head>` tag with at least the following must also be included:
```html ```html
<meta name="viewport" content="width=device-width,initial-scale=1" />
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title></title> <title></title>
``` ```

1
cli.js
View file

@ -74,6 +74,7 @@ const cli = yargs(process.argv.slice(2))
.group(["html", "body"], "Core:") .group(["html", "body"], "Core:")
.group(["author", "descriptions", "css", "modes", "dir"], "HTML:") .group(["author", "descriptions", "css", "modes", "dir"], "HTML:")
.group(["image", "audio", "video"], "Inline Media:"); .group(["image", "audio", "video"], "Inline Media:");
const CSS_VARS = CSS.rootVariables(CSS.FULL); const CSS_VARS = CSS.rootVariables(CSS.FULL);
Object.keys(CSS_VARS).map((key) => { Object.keys(CSS_VARS).map((key) => {
cli.option(key, { default: CSS_VARS[key] }); cli.option(key, { default: CSS_VARS[key] });