prism.el
web
prism.el | web | |
---|---|---|
18 | 331 | |
269 | 224 | |
- | 0.4% | |
4.7 | 9.6 | |
7 months ago | 2 days ago | |
Emacs Lisp | PHP | |
GNU General Public License v3.0 only | 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.
prism.el
-
Just showing off how nice lisp can look in prism-mode. Check reply for the config :)
Heh, seriously, though, it's not necessary to use a rainbow of colors. You can use any number of colors and rotate through them. For example, this uses just 3 colors, gradually desaturating them as the depth increases. Since each color is easily distinguished from the other 2, it makes code very readable: https://github.com/alphapapa/prism.el/raw/master/images/parens-0.5.png
- Release v0.3 · alphapapa/prism.el (Disperse Lisp forms and other languages into a spectrum of colors by depth -- like rainbow-delimiters, et al, but more powerful)
-
How do I build a syntax highlighter based on S-Expressions?
If you can use tree-sitter, that's obviously a good choice. Alternatively, you can see how I implemented https://github.com/alphapapa/prism.el, which isn't regexp-based, using Emacs's built-in syntax parsing instead.
-
Trying to find a package that colorizes file contents by indentation level.
I did some experimenting with supporting XML directly in https://github.com/alphapapa/prism.el/issues/16. It seems that it's not easily done with existing Emacs SGML-related functions, but I'm guessing that tree-sitter will help a lot in Emacs 29.
-
How to combine highlight-parenthesis with rainbow-delimiters?
It's not exactly what you asked for, but you may also find this useful: https://github.com/alphapapa/prism.el It can highlight parens distinctly too.
-
Change text appearance in buffer
As examples, I can recommend code in https://github.com/alphapapa/highlight-function-calls (simple) and https://github.com/alphapapa/prism.el (more complex).
-
Colorize blocks of LISP
There is also the package prism.el.
-
How to properly font-lock for a custom major-mode aka how to use complex regex?
The best advice I can offer is to carefully and repeatedly study the Elisp manual section on font-lock, and to model on the source code of a similar project. The most I've done with it is in https://github.com/alphapapa/prism.el
-
How We Made Bracket Pair Colorization 10,000x Faster
There is one for emacs. Could be good inspo if someone wanted to make a VSCode version.
https://github.com/alphapapa/prism.el
-
Screenshot Sunday: What does your Emacs look like today?
You might be interested in https://github.com/alphapapa/prism.el
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?
Bracket-Pair-Colorizer-2 - Bracket Colorizer Extension for VSCode
calibre - The official source code repository for the calibre ebook manager
icomplete-vertical - Global Emacs minor mode to display icomplete candidates vertically
bypass-paywalls-chrome - Bypass Paywalls web browser extension for Chrome and Firefox.
vscode-extension-samples - Sample code illustrating the VS Code extension API.
duckduckgo-locales - Translation files for <a href="https://duckduckgo.com"> </a>
WebViewFeedback - Feedback and discussions about Microsoft Edge WebView2
stylegan2-pytorch - Simplest working implementation of Stylegan2, state of the art generative adversarial network, in Pytorch. Enabling everyone to experience disentanglement
vscode-python - Python extension for Visual Studio Code
RegExr - RegExr is a HTML/JS based tool for creating, testing, and learning about Regular Expressions.
quelpa - Build and install your Emacs Lisp packages on-the-fly directly from source
trace.moe - Anime Scene Search by Image