jonpyt
jonpyt
To add more tokens, you can simply modify the Python grammar. Since `prism-react-renderer` exports its Prism instance, you can easily do this. Below I'm adding most of what you mentioned:...
By "Smooth cursor" do you mean something similar to the cursor with `Cursor Blinking` set to `smooth` in VSCode settings?
This was easy to implement actually. I might consider making it an extension. [StackBlitz example](https://stackblitz.com/edit/vitejs-vite-sza5zx?file=src%2Fstyle.css,src%2Fextensions.ts&terminal=dev). There is a small issue when word wrap is enabled though. I will improve it...
After further consideration, I won't be making an extension out of this. Implementing it yourself requires little code and an extension would be harder to customize.
This is something I've thought of adding in the past, but have never gotten around to. There's the [`addTooltip()`](https://prism-code-editor.netlify.app/api/functions/tooltips.addtooltip) utility ([example on StackBlitz](https://stackblitz.com/edit/vitejs-vite-z2fgpu?file=src%2Fmain.ts)) that would make it easy to display...
> For my application I have my own parser and the document parse-tree available so I would want to use the application code to completely determine the list of available...
@k1w1 @dmitrijsc Good news, I have released a beta version with an experimental autocomplete extension. Check out the [StackBlitz demo](https://stackblitz.com/edit/vitejs-vite-tjcjyl?file=src%2Fautocomplete.ts). It shows you how to add the extension and allows...
I don't know which QWERTZ keyboard layout you have, but I tried the German QWERTZ layout in Windows and every command worked in Google Chrome. In Firefox, none of the...
By the way, I did add the missing `Event.preventDefault`s, so as long as MacOS doesn't consume the commands before they reach the browser, they should all work. You can test...
> Maybe adding a note about these commands not being overwriteable via the keyCommandMap and the suggestion to manually re-implement the commands to the README would be good? 🤔 I...