doc: Commands/Balance.md: document hyperlinks and --base-url
This commit is contained in:
parent
6e7324a36e
commit
3cd6e95746
@ -385,6 +385,19 @@ $ hledger bal -% cur:\\$
|
|||||||
$ hledger bal -% cur:€
|
$ hledger bal -% cur:€
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Hyperlinks
|
||||||
|
|
||||||
|
The HTML and FODS output formats support hyperlinks to `hledger-web`'s
|
||||||
|
Register pages for every account and period.
|
||||||
|
E.g. if your `hledger-web` server is reachable
|
||||||
|
under the URL `http://localhost:5000/`
|
||||||
|
then you might run the `balance` command
|
||||||
|
with the extra option `--base-url=http://localhost:5000/`.
|
||||||
|
The export function will not add any slash
|
||||||
|
in order to support relative hyperreferences.
|
||||||
|
Thus it is important that you add the trailing slash to the URL yourselves,
|
||||||
|
where needed.
|
||||||
|
|
||||||
### Multi-period balance report
|
### Multi-period balance report
|
||||||
|
|
||||||
With a [report interval](#report-intervals) (set by the `-D/--daily`,
|
With a [report interval](#report-intervals) (set by the `-D/--daily`,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user