chroma
home
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
chroma
- Alternative to Pygments
-
Sweeter searches with Pagefind
In Hugo and its built-in Chroma syntax highlighting, a code block begins with:
-
The strongest principle of the blog's growth lies in the human choice to deploy it
Hugo -> goldmark -> goldmark-highlighting -> chroma
- How to make code samples like this on the website?
-
Virgil: A Fast and Lightweight Programming Language That Compiles to WASM
I've used a markdown to html converter to convert my blog posts into HTML with very nice and customizable code samples... in my case I used Go's Blackfriday library with bfchroma[1] doing syntax highlighting with Chroma[2]. To add your language to Chroma you have to provide a lexer, which in turn is written in Pygments[3] syntax.
[1] https://github.com/Depado/bfchroma/
[2] https://github.com/alecthomas/chroma#supported-languages
[3] https://pygments.org/docs/lexerdevelopment/
-
Generating HMTL and MD files from .TXT in GO
quick for generating Html and syntax highlighting code blocks
-
Tran - 🖥 Securely transfer and send anything between computers with TUI.
Chroma
- Chroma takes source code and other structured text and converts it into syntax highlighted HTML, ANSI-coloured text, etc.
-
Screenshot Sunday: What does your Emacs look like today?
For books from other publishers, I am just hardcoding language directly on an ad hoc basis. I briefly considered off-loading language detection to a library like chroma, but that might be too much work for little benefit.
-
🐻 Go data validation and filtering with gookit/validate
Great blog, you should definitely do research on how you could implement a syntax highlighter for the code parts. Go Hugo for example, uses Chroma. Nice work 👍
home
-
use-package problem
I configure rainbow-mode like this
-
Splitting configuration into multiple files
You can check my config. I use use-package it byte-compiling configs by default.
-
emacsclient to start server
I use use-package + native compilation and with my config Emacs starts less than second. Maybe you do not need daemon-mode anymore?
- Sway: tweaks and (un)usual keybindings
-
best fully open-source IDE for golang ?
Emacs is trully open source. This is my config
-
My init.el takes 4 secs but has no obvious bottleneck?
You can check my config. For me Emacs starts less than second
-
Let's build a comprehensive list of design considerations when making an Emacs configuration.
This my config. It`s modular, with early-init.el and based on use-package
-
GoLand alternatives
I use Emacs, pretty happy about my current setup
- Emacs config for Golang support
-
Emacs as ide for Goland
This is my config for go-mode https://github.com/Crandel/home/blob/master/.config/emacs/recipes/go-rcp.el
What are some alternatives?
golang-ical - A ICS / ICal parser and serialiser for Golang.
emacs-theme-gruvbox - Gruvbox is a retro groove color scheme for Emacs. Port of the Vim version.
prism.el - Disperse Lisp forms (and other languages) into a spectrum of colors by depth
swaybg-Multi-monitor - Wallpaper tool for Wayland compositors
Pake - 🤱🏻 Turn any webpage into a desktop app with Rust. 🤱🏻 利用 Rust 轻松构建轻量级多端桌面应用
swiper - Ivy - a generic completion frontend for Emacs, Swiper - isearch with an overview, and more. Oh, man!
doom-modeline - A fancy and fast mode-line inspired by minimalism design.
Sway-DE - 🏠 Sway desktop environment dotfile installation for Arch Linux
colorize - A Syntax Highlighting library
sway - i3-compatible Wayland compositor
goldmark - :trophy: A markdown parser written in Go. Easy to extend, standard(CommonMark) compliant, well structured.
cliphist - Paste from clipboard manager into Emacs