Comments (5)
Currently you have to pass the style to glow like this: glow -s mystyle.json
.
We'll think about adding an optional config file and default search paths.
from glow.
Good news everyone, glow now supports a config file! See README for more information!
from glow.
You can already do that! Check out https://github.com/charmbracelet/glamour/tree/master/styles to see how you can write your own style definitions, as well as the current settings of the dark & light styles (dark.json
and light.json
).
from glow.
Thanks for the quick response. Is there any specific location to store this file instead of calling it many times?
from glow.
I ran into this just now as it isn't picking up on what auto
should resolve into (which could be something weird with my setup). My use case needs just the path to the command to execute and no flags, so I can't set it to glow -s dark
.
from glow.
Related Issues (20)
- layout independend keyboard hotkeys
- [feature] picture show
- Colorize text inside a table HOT 1
- Table formatting breaks if output is piped HOT 1
- Tab completion f/glow
- Open Editors at Current Line Number in Pager HOT 2
- make glow work with 'less --no-init'
- Glow doesn't see markdown files. `.gitignore` HOT 3
- glow shuffles lines randomly after scrolling using u/d buttons or mouse HOT 3
- Cases when backslash should not be shown
- Unable to locate package glow HOT 1
- Render wrapping lists correctly
- Add watch mode for glow HOT 1
- `rst` Support
- adding hooks to code blocks to transfer their content to external scripts HOT 1
- Correctly render nested blockquotes HOT 1
- Add support for dnf config-manager
- Can't Read from mount HOT 2
- level 2, 3, etc headers do not get rendered HOT 4
- Show relative paths HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glow.