templates/README.md
changeset 217 e01f94e81794
parent 143 abfa3aa97b51
equal deleted inserted replaced
216:3e017cfad3cc 217:e01f94e81794
    45 Here's a list of available commands (please check the Go template documentation
    45 Here's a list of available commands (please check the Go template documentation
    46 for the built-in functions):
    46 for the built-in functions):
    47 
    47 
    48 Function | Description
    48 Function | Description
    49 -------- | -----------
    49 -------- | -----------
    50 `fromunix UNIXTIMESTAMP`  | converts from UNIX timestampto date
    50 `fromunix UNIXTIMESTAMP`  | converts from UNIX timestamp to date
    51 `tolocal TEXTRFC3339DATE` | converts a RFC3339 date string to a local time
    51 `tolocal TEXTRFC3339DATE` | converts a RFC3339 date string to a local time
    52 `fromhtml HTMLTEXT`       | converts HTML to plain text
    52 `fromhtml HTMLTEXT`       | converts HTML to plain text
    53 `wrap TEXT`       | rewrap text, with indent and max width
    53 `wrap TEXT`       | rewrap text, with indent and max width
    54 `trim TEXT`       | trims text whitespace
    54 `trim TEXT`       | trims text whitespace
    55 `color COLORSPEC` | sends an ANSI color code sequence
    55 `color COLORSPEC` | sends an ANSI color code sequence