Няма описание

Mikael Nordfeldth 584885e1ac Described what clihtml does in the README преди 7 години
.gitignore 042484650f Initial clihtml commit, example command works. преди 7 години
LICENSE 042484650f Initial clihtml commit, example command works. преди 7 години
README 584885e1ac Described what clihtml does in the README преди 7 години
clihtml 042484650f Initial clihtml commit, example command works. преди 7 години

README

# clihtml

Generates HTML from the CLI, using a basic syntax for constructing the document. Very trusty of user input, so beware.

## Operators

+ open and go into element
. create an element on this level
- leave current element, create new element and go into it
---- same as a single dash (-) but leaves 4 parent elements

@ add attribute to currently open element, no processing done

= after element name sets content directly, good for paragraphs etc.

## Sample usage

clihtml '' +html +head .title='cli generated' -body h1='stuff on a stick' +div '@style="background-color:red;"' @align=center +div '@style="width:50%;margin:auto;background-color:green;"' .p='I am a paragraph, look at me go!' --p 'Just backed up twice.' .p=rawr +div +img @src='https://stuff.umeahackerspace.se/kattgatan-cropped.svg'