chroma
web
chroma | web | |
---|---|---|
14 | 331 | |
4,183 | 224 | |
- | 0.4% | |
8.7 | 9.6 | |
12 days ago | 4 days ago | |
Go | PHP | |
MIT License | Creative Commons Zero v1.0 Universal |
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 👍
web
-
Majority of web apps could just run on a single server
Sure, at some point you're going to be relying on some 3rd party somewhere. We use a VPS and not a bare-metal hand-installed rack, and we rely on an electrical company and not a hand-turned crank to power our servers. As far as email goes, It's simply not possible to self-host transactional email in 2024 if you want it to arrive in an inbox and not a permanent spam blackhole; likewise it's not possible to accept money without involving a 3rd party service like Fractured Atlas or Stripe or PayPal. (Moving away from GitHub towards a self-hosted Git solution is actually on our long-term todo list[1]).
All those things doesn't mean you can't run your web app on a single tiny server, and that outsourcing the basic underpinnings of your web app, like the OS, runtime, and database to some cloud service, or that resorting to flavor-of-the-month frameworks or containers, will result in complexity and bloat.
[1] https://github.com/standardebooks/web/blob/master/README.md#...
-
Show HN: Glossarie – a new, immersive way to learn a language
Hey a little later to the party here but I'm really enjoying this. I started reading a book with it and while I agree with others it's not great for grammar it certainly shows me many new words without requiring me to read at a glacial pace.
PS: You should def try to include some books from https://standardebooks.org/ which are much nicer formatted than the ones you're using from Project Gutenberg.
Good luck and I hope you can keep building this out. Already the update to tap anywhere to close the word definition is a nice improvement :)
- Standard Ebooks
-
Librum: Open-Source e-book platform
A number of e-book platforms are discussed on my blog, which dives deeply into the technical nuances of typesetting a few[1]. Ultimately, I typeset a classic from Standard EBooks[2], Dr. Jekyll and Mister Hyde[3].
[1]: https://dave.autonoma.ca/blog/2020/04/11/project-gutenberg-p...
[2]: https://standardebooks.org/
[3]: https://dave.autonoma.ca/blog/2020/04/28/typesetting-markdow...
- E-books are fast becoming tools of corporate surveillance
- 请教各位,除了zlibrary外还有哪里找到更多的电子书?谢谢🙏
-
Can odsp check your bank account if they feel like it?
As an aside, for anyone looking for free classic books to read on their various eReaders, these are very well done: https://standardebooks.org
-
Conversion from epub to kepub, and related Calibre use
It is the same when you download a kepub book from standardebooks.org. You will have the epub file with kepub features.
-
It is important that ebooks be sold without DRM
> https://standardebooks.org/
Standard Ebooks is seriously impressive. One of my favorite sources of books in the public domain.
I’d also add in addition to this excellent list of DRM-free ebooks, it’s always worth looking into borrowing a book from the library via Libby/Overdrive.
What are some alternatives?
golang-ical - A ICS / ICal parser and serialiser for Golang.
calibre - The official source code repository for the calibre ebook manager
prism.el - Disperse Lisp forms (and other languages) into a spectrum of colors by depth
bypass-paywalls-chrome - Bypass Paywalls web browser extension for Chrome and Firefox.
Pake - 🤱🏻 Turn any webpage into a desktop app with Rust. 🤱🏻 利用 Rust 轻松构建轻量级多端桌面应用
duckduckgo-locales - Translation files for <a href="https://duckduckgo.com"> </a>
doom-modeline - A fancy and fast mode-line inspired by minimalism design.
stylegan2-pytorch - Simplest working implementation of Stylegan2, state of the art generative adversarial network, in Pytorch. Enabling everyone to experience disentanglement
colorize - A Syntax Highlighting library
RegExr - RegExr is a HTML/JS based tool for creating, testing, and learning about Regular Expressions.
home - my linux home settings
trace.moe - Anime Scene Search by Image