2023-03-07 19:11:52 +00:00
#### Features 🚀
2023-01-19 19:38:24 +00:00
2023-03-18 05:29:51 +00:00
- `--center` flag centers the SVG in the containing viewbox. [#1056 ](https://github.com/terrastruct/d2/pull/1056 )
2023-03-18 20:59:19 +00:00
- Strikethrough in Markdown with `~~` . [#1059 ](https://github.com/terrastruct/d2/pull/1059 )
2023-03-18 05:29:51 +00:00
2022-12-01 20:59:53 +00:00
#### Improvements 🧹
2022-11-15 00:53:57 +00:00
2023-03-18 03:13:01 +00:00
- `--browser` flag on CLI controls `BROWSER` environment variable for not opening browser in watch mode. [#1052 ](https://github.com/terrastruct/d2/pull/1052 )
2023-03-18 04:43:11 +00:00
- `elk` layout containers no longer overlap the label with children. [#1055 ](https://github.com/terrastruct/d2/pull/1055 )
2023-03-18 08:04:06 +00:00
- Message emitted by CLI when a particular stage is taking a long time. [#1058 ](https://github.com/terrastruct/d2/pull/1058 )
2023-03-18 03:33:38 +00:00
- `<title>` attribute of HTML in watch mode is the base file name, instead of the whole path. [#1054 ](https://github.com/terrastruct/d2/pull/1054 )
2023-03-18 03:13:01 +00:00
2022-12-01 21:14:09 +00:00
#### Bugfixes ⛑️
2023-03-18 02:13:14 +00:00
2023-03-18 03:22:05 +00:00
- Code blocks are not affected by uppercasing from special themes like Terminal. [#1053 ](https://github.com/terrastruct/d2/pull/1053 )
2023-03-18 02:14:51 +00:00
- Fixes fill-pattern replacement in the API. [#1051 ](https://github.com/terrastruct/d2/pull/1051 )
2023-03-18 21:44:40 +00:00
- Fixes multiple `<br/>` elements in a row being mismeasured in Markdown blocks. [#1060 ](https://github.com/terrastruct/d2/pull/1060 )