Changeset 80 in code for trunk/README.md


Ignore:
Timestamp:
Dec 12, 2023, 2:09:17 PM (18 months ago)
Author:
Izuru Yakumo
Message:

A good time to finally release a stable version

Signed-off-by: Izuru Yakumo <yakumo.izuru@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/README.md

    r75 r80  
    1818Build it manually assuming you have Go (>=1.17) installed:
    1919
    20         $ go install marisa.chaotic.ninja/aya/cmd/aya@latest
     20        $ go install marisa.chaotic.ninja/aya/cmd/aya@latest (1)
    2121        --- or ---
    2222        $ git clone https://git.chaotic.ninja/yakumo.izuru/aya
     
    2424        $ make
    2525        # make install
    26        
     26
     27(1) If you use this method, the `aya version` subcommand may print the wrong string,
     28but it should not be a problem unless you use it on a page.
     29
    2730## Ideology
    2831
    29 Keep your texts in markdown, or HTML format right in the main directory
     32Keep your texts in markdown, [amber](https://github.com/eknkc/amber), or html format right in the main directory
    3033of your blog/site.
    3134
     
    3336in the `.aya` subdirectory.
    3437
    35 Define variables in the header of the content files using [YAML]:
     38Define variables in the header of the content files using [YAML](https://www.yaml.io) :
    3639
    37         title: My web site
    38         keywords: best website, hello, world
    39         ---
     40```markdown
     41title: My web site
     42keywords: best website, hello, world
     43---
    4044
    41         Markdown text goes after a header *separator*
     45Markdown text goes after a header *separator*
     46```
    4247
    4348Use placeholders for variables and plugins in your markdown or html
     
    4752subdiretory.
    4853
    49 Everything the extensions prints to stdout becomes the value of the
     54Everything the extensions prints to [stdout](https://man.freebsd.org/cgi/man.cgi?fd) becomes the value of the
    5055placeholder.
    5156
    52 Every variable from the content header will be passed via environment variables like `title` becomes `$AYA_TITLE` and so on. There are some special variables:
     57Every variable from the content header will be passed via environment variables like `title` becomes `$AYA\_TITLE` and so on.
     58There are some special variables:
    5359
    5460* `$AYA` - a path to the `aya` executable
     
    94100        rm -f $AYA_OUTDIR/styles.css
    95101
    96 ## Extras
    97 
    98 `aya` also supports generating `.html` and `.css` by means of using `.amber`
    99 and `.gcss` files. See more at [eknkc/amber](https://github.com/eknkc/amber) [yosssi/gcss](https://github.com/yosssi/gcss)
     102Note, you can also place `.gcss` files for [gcss](https://github.com/yosssi/gcss) to process instead
    100103
    101104## Command line usage
Note: See TracChangeset for help on using the changeset viewer.