add changelog & man page changes

This commit is contained in:
melsonic 2025-03-09 22:38:10 +05:30 committed by melsonic
parent 0955ef608d
commit 3727173f31
No known key found for this signature in database
GPG key ID: DFA426742F621CD7
2 changed files with 7 additions and 0 deletions

View file

@ -24,6 +24,9 @@
- Support relative imports. Improve elk error handling: [#2382](https://github.com/terrastruct/d2/pull/2382) - Support relative imports. Improve elk error handling: [#2382](https://github.com/terrastruct/d2/pull/2382)
- Support fonts (`fontRegular`, `fontItalic`, `fontBold`, `fontSemiBold`): [#2384](https://github.com/terrastruct/d2/pull/2384) - Support fonts (`fontRegular`, `fontItalic`, `fontBold`, `fontSemiBold`): [#2384](https://github.com/terrastruct/d2/pull/2384)
- d2cli:
- Support `validate` command. [#2415](https://github.com/terrastruct/d2/pull/2415)
#### Bugfixes ⛑️ #### Bugfixes ⛑️
- Compiler: - Compiler:

View file

@ -17,6 +17,8 @@
.Ar fmt Ar file.d2 ... .Ar fmt Ar file.d2 ...
.Nm d2 .Nm d2
.Ar play Ar file.d2 .Ar play Ar file.d2
.Nm d2
.Ar validate Ar file.d2 ...
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm .Nm
compiles and renders compiles and renders
@ -162,6 +164,8 @@ Lists available themes
Format all passed files Format all passed files
.It Ar play Ar file.d2 .It Ar play Ar file.d2
Opens the file in playground, an online web viewer (https://play.d2lang.com) Opens the file in playground, an online web viewer (https://play.d2lang.com)
.It Ar validate Ar file.d2 ...
Validate all input files
.El .El
.Sh ENVIRONMENT VARIABLES .Sh ENVIRONMENT VARIABLES
Many flags can also be set with environment variables. Many flags can also be set with environment variables.