dev
shiki
Our great sponsors
dev | shiki | |
---|---|---|
34 | 26 | |
5,207 | 8,552 | |
4.5% | 15.6% | |
4.7 | 9.8 | |
18 days ago | 8 days ago | |
JavaScript | TypeScript | |
GNU General Public License v3.0 or later | MIT 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.
dev
-
Adding a Code Editor to your React App
From the official CodeMirror documentation:
- CodeMirror
-
Eloquent JavaScript 4th edition (2024)
For those that don't know the author, Marijn Haverbeke, is the creator of CodeMirror (code editor) and later ProseMirror (text editor).
https://codemirror.net/
https://prosemirror.net/
-
Show HN: Heynote – A Dedicated Scratchpad for Developers
Performance is mostly handled by CodeMirror (https://codemirror.net/), the underlying editor that Heynote is built upon. It seems to handle quite large buffers well. Where I have seen some minor performance issues is when working with very large blocks in certain language modes.
-
Racket branch of Chez Scheme merging with mainline Chez Scheme
I don’t think the arrows are possible with VScode?
Someone said they might be possible with CodeMirror https://codemirror.net/
(Just in general - not specifically for racket- I’d love to see this for rust and elixir)
-
Our Code Editor is open source
I don't see them on the list of sponsors for the CodeMirror project, but I hope they dedicate some funds for it.
https://codemirror.net/#sponsors
-
JSF 2.0 AJAX: Call a bean method from javascript with jsf.ajax.request (or some other way)
Some background: I am building a custom JSF component. The component is basically a text editor and it should have a "Save" -button for saving the content string of the editor. As I am using the CodeMirror library, I need to fetch the content (string) from the editor with javascript and send that to the server. Therefore, in this case I cannot use XML-based JS invocation such as f:ajax.
-
Kako da u JavaScriptu napravim da se kôd oboji dok ga korisnik ukucava? Uspio sam napraviti da se kôd oboji kad korisnik pritisne tipku, ali nisam uspio napraviti da se boja dok ga korisnik ukucava.
mozes koristiti gotovi code editor library, https://codemirror.net/ https://microsoft.github.io/monaco-editor/
-
Created a simple online JavaScript Playground, it's a place for you to try out your code and ideas.
Thanks u/OutlandishnessKey953, the playground built with React, Docusaurus(https://docusaurus.io/), CodeMirror(https://codemirror.net/), Sucrase(https://sucrase.io/), etc.
- Show HN: I open sourced the QR designer from my failed startup
shiki
- Shiki: A beautiful yet powerful syntax highlighter
-
VueJS turns 10 years old
Shiki (https://shiki.style) might be good enough for your usecase, use the latest beta versions as it's the new fresh esm rewrite.
-
GIGO and VS-code: the Battle With Microsoft
Finally the vanguard had arrived. A markdown renderer named Shiki.
-
Scraping Google Maps
Can I introduce you to our lord and savior Shiki? https://github.com/shikijs/shiki
-
Shiki Syntax Highlighter
Coincidentally, I recently looked into the slow startup time for shiki and it was mostly from parsing JSONC, not WASM: https://github.com/shikijs/shiki/issues/439.
-
Dark mode with Shiki and Code Hike
Warning: This article refers to versions of Code Hike before 0.8.0. Since version 0.8.0, Code Hike uses lighter instead of Shiki. The approach presented in this article uses shiki's color replacement method, which no longer works with lighter.
- What do you use to display code example on your personal blog, or in an article?
-
Nextra 2 – Next.js Static Site Generator
Prismjs was replaced by Shiki and rehype-pretty-code.
-
Want to create attractive, interactive docs? Use these amazing documentation tools and examples
The outcome I was (mostly) hoping for has been done by Shiki library! I take no credit for the idea btw, I am just glad that someone else (Pine) took it on!
What are some alternatives?
HyperMD - A WYSIWYG Markdown Editor for browsers. Break the Wall between writing and previewing.
PrismJS - Lightweight, robust, elegant syntax highlighting.
vite - Next generation frontend tooling. It's fast!
Highlight.js - JavaScript syntax highlighter with language auto-detection and zero dependencies.
starboard-notebook - In-browser literate notebooks
next-mdx-remote - Load mdx content from anywhere through getStaticProps in next.js
vscode-webview-ui-toolkit - A component library for building webview-based extensions in Visual Studio Code.
codehike - Marvellous code walkthroughs
theia - Eclipse Theia is a cloud & desktop IDE framework implemented in TypeScript.
mdx - Markdown for the component era
dart-code-metrics - Software analytics tool that helps developers analyse and improve software quality.
remark - markdown processor powered by plugins part of the @unifiedjs collective