Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
[![changelog](https://img.shields.io/badge/changelog-read-blue)](./CHANGELOG.md)
[![npm version](https://img.shields.io/npm/v/@terrastruct/d2)](https://www.npmjs.com/package/@terrastruct/d2)
[![discord](https://img.shields.io/discord/1039184639652265985?label=discord)](https://discord.gg/NF6X8K4eDq)
[![twitter](https://img.shields.io/twitter/follow/terrastruct?style=social)](https://twitter.com/terrastruct)
[![license](https://img.shields.io/github/license/d2lang/d2?color=9cf)](./LICENSE.txt)

<a href="https://play.d2lang.com">
Expand Down Expand Up @@ -161,9 +160,7 @@ improved security but the install script is by no means insecure.
In addition to being a runnable CLI tool, D2 can also be used to produce diagrams from
Go programs.

For examples, see [./docs/examples/lib](./docs/examples/lib). This [blog
post](https://terrastruct.com/blog/post/generate-diagrams-programmatically/) also demos a
complete, runnable example of using D2 as a library for a real-world use case.
For examples, see [./docs/examples/lib](./docs/examples/lib).

## Themes

Expand Down Expand Up @@ -235,8 +232,6 @@ let us know and we'll be happy to include it here!
- **VSCode extension**: [https://github.com/d2lang/d2-vscode](https://github.com/d2lang/d2-vscode)
- **Vim extension**: [https://github.com/d2lang/d2-vim](https://github.com/d2lang/d2-vim)
- **Obsidian plugin**: [https://github.com/d2lang/d2-obsidian](https://github.com/d2lang/d2-obsidian)
- **Slack app**: [https://d2lang.com/tour/slack](https://d2lang.com/tour/slack)
- **Discord plugin**: [https://d2lang.com/tour/discord](https://d2lang.com/tour/discord)

### Community plugins

Expand Down Expand Up @@ -276,7 +271,7 @@ let us know and we'll be happy to include it here!
- **Comparison site**: [https://github.com/terrastruct/text-to-diagram-site](https://github.com/terrastruct/text-to-diagram-site)
- **Playground**: [https://github.com/d2lang/d2-playground](https://github.com/d2lang/d2-playground)
- **Language docs**: [https://github.com/d2lang/d2-docs](https://github.com/d2lang/d2-docs)
- **Hosted icons**: [https://icons.terrastruct.com](https://icons.terrastruct.com)
- **Hosted icons**: [https://icons.d2lang.com](https://icons.d2lang.com)

## FAQ

Expand Down
2 changes: 1 addition & 1 deletion ci/release/template/man/d2.1
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ See more docs, the source code and license at
.Ns .
.Pp
Hosted icons at
.Lk https://icons.terrastruct.com
.Lk https://icons.d2lang.com
.Ns .
.Pp
Playground runner at
Expand Down
2 changes: 1 addition & 1 deletion d2cli/help.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Subcommands:
%[1]s validate file.d2 - Validates file.d2

See more docs and the source code at https://oss.terrastruct.com/d2.
Hosted icons at https://icons.terrastruct.com.
Hosted icons at https://icons.d2lang.com.
Playground runner at https://play.d2lang.com.
`, filepath.Base(ms.Name), version.Version, ms.Opts.Defaults())
}
Expand Down
4 changes: 2 additions & 2 deletions d2lsp/completion.go
Original file line number Diff line number Diff line change
Expand Up @@ -429,10 +429,10 @@ func getTooltipCompletions() []CompletionItem {
func getIconCompletions() []CompletionItem {
return []CompletionItem{
{
Label: "(URL, e.g. https://icons.terrastruct.com/xyz.svg)",
Label: "(URL, e.g. https://icons.d2lang.com/xyz.svg)",
Kind: KeywordCompletion,
Detail: "icon URL",
InsertText: "https://icons.terrastruct.com/essentials%2F073-add.svg",
InsertText: "https://icons.d2lang.com/essentials%2F073-add.svg",
},
}
}
Expand Down
Loading