PrismJS
age
Our great sponsors
PrismJS | age | |
---|---|---|
59 | 213 | |
12,002 | 15,264 | |
0.9% | - | |
0.0 | 5.5 | |
2 months ago | about 1 month ago | |
JavaScript | Go | |
MIT License | BSD 3-clause "New" or "Revised" License |
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.
PrismJS
-
My OpenSource Blog that You Can Use Right Now
For Code highlighting, I am using Prism.js. First I am loading the styles file inside the _app.tsx file and inside the CodeBlock component, I am loading the styling that gives us beautiful syntax highlights.
-
Build a simple code editor
Luckily, implementing syntax highlighting in our simple code editor is easy with the use of external libraries. There are several JavaScript libraries available, such as Prism and Highlight.js. For our editor, we'll use Prism since it's easy to use and supports a wide range of programming languages.
-
To learn svelte, I clone Github's issues page including useful features that you might consider reusing.
š Prismjs Code highlighting, use it with Marked
-
Code Reading Docusaurus
I'm trying to implement the new feature in a similar way, but not exactly the same, so my plan is going to modify unwrapMdxCodeBlocks function and apply Prism to highlight the code blocks.
-
GDScript (Godot) syntax highlighting in Obsidian?
Hey all, I've been taking notes as I learn Godot engine, using the Editor Syntax Highlight plugin, but it doesn't show highlighting in edit mode unlike how it does for other languages. I read on a forum somewhere that this plugin/Obsidian uses [PrismJS](https://github.com/PrismJS/prism/issues) for syntax highlighting, which has gdscript on its list of supported languages, yet it doesn't work. Any help would be appreciated thank you!
-
Blog in django
I tend to use https://prismjs.com/ on my blog. On the website you click which languages you want to support (e.g. Python, JavaScript, ...) and get a custom set of CSS and JS files which you load into your template. Code than has to be wrapped in
-
How should i go about making a library to color code (syntax highlighting) a user has written?
Or this one for csharp which is more complex https://github.com/PrismJS/prism/blob/master/components/prism-csharp.js
-
What is the proper language markup type we should use for a MakeFile code snippet?
I believe Obsidian utilizes PrismJS as its default syntax highlighter for code blocks.
-
Sveltekit prismjs
I have a problem with using PrismJS with SvelteKit. I can get the basic languages to work like javascript, but I can't load additional ones using the loadLanguages function, because of the Vite (or at least I think that is the problem). Is there any way to load additional languages highlighting? I am also using tailwind css and flowbite-svelte.
-
Nextra 2 ā Next.js Static Site Generator
Prismjs was replaced by Shiki and rehype-pretty-code.
age
- Age: A simple, modern and secure encryption tool
-
Joining ChatCraft.org
and echoing the result after converting to an age private key
-
What is the point of a public key fingerprint?
I like that https://github.com/FiloSottile/age has small public keys.
-
OpenPGP Forked into "LibrePGP" by GnuPG's Maintainer Werner Koch
> something fresh
It exists, it's called age..
Some random links
https://github.com/FiloSottile/age
https://www.reddit.com/r/crypto/comments/hr64hr/state_of_age...
https://github.com/FiloSottile/age/discussions/432
> (Acquiring keys, rotating keys, identifying compromised keys, and most importantly either reaches a large enough percentage of emails..
Oh nevermind, age doesn't do any of that. Indeed, it doesn't even do email https://github.com/FiloSottile/age/issues/93
-
An opinionated template for deploying a single k3s cluster with Ansible backed by Flux, SOPS, GitHub Actions, Renovate, Cilium, Cloudflare and more!
Encrypted secrets thanks to SOPS and Age
-
Prettier $20k Bounty was Claimed
I never heard of "Age" before this post. Thank you to share. If others are interested to learn more, here are two other interesting posts about Age:
-
Cosmopolitan Third Edition
of all things I was able to resolve the issue via this github issue: https://github.com/FiloSottile/age/issues/370#issuecomment-1...
-
Would you trust a repository made like this to save your secrets?
Why keep something secret on a public repo? Is that not an oxymoron?
Also, Iām terms of encryption something like age[0] makes it much easier to not shoot yourself in the foot.
-
Looking For Encryption App
Why RSA specifically? For backups, I recommend Tarsnap. But if you really don't want to pay for encrypted cloud hosting, then check out age encryption.
-
OpenSSL and a rookie (me)
I wouldn't use OpenSSL personally. If you just need simple but secure symmetric encryption, checkout the scrypt(1) encryption utility from Tarsnap. If you need support for public keys, check out age(1).
What are some alternatives?
Highlight.js - JavaScript syntax highlighter with language auto-detection and zero dependencies.
sops - Simple and flexible tool for managing secrets
tailwindcss-typography - Beautiful typographic defaults for HTML you don't control.
Picocrypt - A very small, very simple, yet very secure encryption tool.
shiki - A beautiful yet powerful syntax highlighter
rage - A simple, secure and modern file encryption tool (and Rust library) with small explicit keys, no config options, and UNIX-style composability.
Tailwind CSS - A utility-first CSS framework for rapid UI development.
age-plugin-yubikey - YubiKey plugin for age
Javascript Left-Right Parser - Parser for JavaScript
minisign - A dead simple tool to sign files and verify digital signatures.
ace - Ace (Ajax.org Cloud9 Editor)
OpenKeychain - OpenKeychain is an OpenPGP implementation for Android.