mirror of
https://github.com/rwinkhart/glamour-temp-MUTN.git
synced 2026-09-05 16:37:19 -04:00
Use TrueColor color profile as default
Users can override the desired profile by calling WithColorProfile.
This commit is contained in:
+1
-1
@@ -28,6 +28,6 @@ func (w *StyleWriter) Write(b []byte) (int, error) {
|
||||
|
||||
// Close must be called when you're finished writing to a StyleWriter.
|
||||
func (w *StyleWriter) Close() error {
|
||||
renderText(w.w, w.ctx.colorProfile, w.rules, w.buf.String())
|
||||
renderText(w.w, w.ctx.options.ColorProfile, w.rules, w.buf.String())
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user