Update CHANGELOG.md and README.md

main v1.0.4
Leonid Maslakov 4 months ago
parent 3b2db4bfd6
commit eace5a6d60
  1. 5
      CHANGELOG.md
  2. 20
      README.md

@ -1,6 +1,11 @@
# Changelog
Semantic versioning is used (https://semver.org/).
## v1.0.4
- Add Java support
- Add JSON support
- Add INI support
## v1.0.3
- Add number highlight
- Now true, false, nil and numbers are marked as `StyleValue`

@ -98,6 +98,26 @@ int main() {
*[Read more in the documentation](https://pkg.go.dev/github.com/lcomrade/highlight#section-documentation)*
## CSS classes
Example of a CSS file:
```css
.code-operator, .code-keyword, .code-build-in-func, .code-key {
color: Firebrick;
}
.code-var-type, .code-build-in-var {
color: RoyalBlue;
}
.code-brackets {
color: ForestGreen;
}
.code-comment {
color: DimGray;
}
```
## Documentation
- Offline documentation: `go doc -all github.com/lcomrade/highlight`
- [Online documentation](https://pkg.go.dev/github.com/lcomrade/highlight#section-documentation)

Loading…
Cancel
Save