{"repo":"charmbracelet/glamour","free":true,"listed":false,"github":"https://github.com/charmbracelet/glamour","clone":"git clone https://github.com/charmbracelet/glamour.git","description":"Stylesheet-based markdown rendering for your CLI apps 💇🏻‍♀️","language":"Go","stars":3650,"topics":["markdown","go","golang","cli","hacktoberfest","tui"],"license":"MIT","category":"cli-tools","readme_excerpt":"Glamour Stylesheet-based markdown rendering for your CLI apps. glamour lets you render markdown documents & templates on ANSI compatible terminals. You can create your own stylesheet or simply use one of the stylish defaults. Usage Custom Renderer Color Downsampling Since the renderer is designed to be \"pure\" and always produce the same output for the same input, it doesn't have access to the terminal's capabilities. This means that color downsampling is not performed by default. In this case, use [Lip Gloss][lipgloss] to perform downsampling before rendering: [lipgloss]: https://github.com/charmbracelet/lipgloss Styles You can find all available default styles in our gallery. Want to create your own style? Learn how! There are a few options for using a custom style: 1. Call glamour.Render(inputText, \"desiredStyle\") 1. Set the GLAMOUR STYLE environment variable to your desired default style or a file location for a style and call glamour.RenderWithEnvironmentConfig(inputText) 1. Set the GLAMOUR STYLE environment variable and pass glamour.WithEnvironmentConfig() to your custom renderer Glamourous Projects Check out these projects, which use glamour : - Glow, a markdown renderer for the command-line. - GitHub CLI, GitHub’s official command line tool. - GitLab CLI, GitLab's official command line tool. - Gitea CLI, Gitea's official command line tool. - Meteor, an easy-to-use, plugin-driven metadata collection framework. Contributing See [contributing][contribute]. [contribute]: h","default_branch":null,"files":null,"tree":[],"storefront":"/r/charmbracelet","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/charmbracelet/glamour/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}