mirror of
https://github.com/rwinkhart/glamour-temp-MUTN.git
synced 2026-09-06 00:47:15 -04:00
Generate styles with go generate
This commit is contained in:
committed by
Christian Muehlhaeuser
parent
76ba5695bd
commit
ef6bdc2ba2
@@ -1,5 +1,7 @@
|
|||||||
package glamour
|
package glamour
|
||||||
|
|
||||||
|
//go:generate go run ./internal/generate-style-json
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/charmbracelet/glamour/ansi"
|
"github.com/charmbracelet/glamour/ansi"
|
||||||
)
|
)
|
||||||
|
|||||||
+1
-1
@@ -3,7 +3,7 @@
|
|||||||
The JSON files in this directory are generated from the default styles. To
|
The JSON files in this directory are generated from the default styles. To
|
||||||
re-generate them, run:
|
re-generate them, run:
|
||||||
|
|
||||||
go run ./internal/generate-style-json
|
go generate ..
|
||||||
|
|
||||||
## Block Elements
|
## Block Elements
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user