Skip to content

Commit

Permalink
Update README.md included Syntax Highlighting for VS Code (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
rsubr authored Sep 12, 2023
1 parent 5b4e9b7 commit f7682bb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .project-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.3
0.0.4
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Table of content:
* [Examples](#examples)
* [Syntax Highlighting](#syntax-highlighting)
* [PyCharm](#pycharm)
* [VSCode](#vs-code)
* [Usage](#usage)
* [Command Line Interface](#command-line-interface)
* [Guide](#guide)
Expand Down Expand Up @@ -135,6 +136,14 @@ As a result, you will experience syntax highlighting when typing:
![](./assets/syntax-highlight.png)
</details>

#### VS Code

For `VS Code`, install the [RedHat YAML](https://marketplace.visualstudio.com/items?itemName=redhat.vscode-yaml) extension and include the following line in the top of your diagrams yaml file:

```yaml
# yaml-language-server: $schema=https://raw.githubusercontent.com/dmytrostriletskyi/diagrams-as-code/main/json-schemas/0.0.1.json
```

## Usage

### Command Line Interface
Expand Down

0 comments on commit f7682bb

Please sign in to comment.