Skip to content

Commit

Permalink
release v0.0.3 🐳
Browse files Browse the repository at this point in the history
  • Loading branch information
jinliming2 committed Dec 9, 2020
1 parent b5aa8a6 commit b75d40f
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## [Unreleased]

## [0.0.3] - 2020-12-09
- Fix: syntax error when missing template-ending in go source.

## [0.0.2] - 2020-12-09
### Added
- Support syntax highlighting for Go Template embedded in literal string in Go source file.
Expand Down
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,28 @@ Go Template Syntax Highlight Support for VSCode.

## Features

- Support syntax highlighting for Go Template embedded in literal string in Go source file.

![Go](./assets/screenshots/go.png)
- Support syntax highlighting for Go Template files: `*.go.txt`, `*.go.tpl`, `*.go.tmpl`, `*.gtpl`.

![HTML File](./assets/screenshots/tpl.png)
![Template](./assets/screenshots/tpl.png)
- Support syntax highlighting for Go Template embedded in `HTML`, `JS`, and `CSS` files.

![HTML File](./assets/screenshots/html.png)
![HTML](./assets/screenshots/html.png)
- Support syntax highlighting for Go Template embedded in unknown extension files which begin with Go Template Comment. Ex: `{{ /* Go Template */ }}`.

![HTML File](./assets/screenshots/comment.png)
![Comment](./assets/screenshots/comment.png)

## Known Issues

1. Template syntax highlighting in JS and CSS files may cause syntax error.

## Release Notes

## [0.0.3] - 2020-12-09
- Fix: syntax error when missing template-ending in go source.

## [0.0.2] - 2020-12-09
### Added
- Support syntax highlighting for Go Template embedded in literal string in Go source file.
Expand Down
Binary file added assets/screenshots/go.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vscode-go-template",
"displayName": "Go Template Support",
"description": "Syntax highlight support for Go text/template and html/template",
"version": "0.0.2",
"version": "0.0.3",
"publisher": "jinliming2",
"license": "MIT",
"homepage": "https://github.com/jinliming2/vscode-go-template",
Expand Down

0 comments on commit b75d40f

Please sign in to comment.