Alex Wang
banner
hialexwang.bsky.social
Alex Wang
@hialexwang.bsky.social
I'm working on open-sourcing the equation editor, which is built as a ProseMirror plugin. My goal is to make it headless, so you can fully customize the look while getting the same behaviors out of box. Stay tuned for more updates!
November 12, 2025 at 4:44 PM
Interesting! Might make building a contextual caret easier. For example, to indicate the text styles that will be applied to text input in a rich text editor github.com/ocavue/prose...
GitHub - ocavue/prosemirror-virtual-cursor
Contribute to ocavue/prosemirror-virtual-cursor development by creating an account on GitHub.
github.com
November 12, 2025 at 2:55 PM
In OSS, I think it’s more important to write code that’s easy for people to understand and maintain than to rush out lots of features quickly.
November 12, 2025 at 2:47 PM
Here's the result:
November 12, 2025 at 2:34 PM
Today, I checked Notion's editor again and found they have a new method: use real paddings with `transform: translate()` and negative margins.
`transform: translate()` can cancel padding-left and padding-top, while negative margin-right and margin-bottom remove extra space created by `transform`.
November 12, 2025 at 2:33 PM
To add visual paddings to an element without shifting layout, previously I learned from Notion's editor that I could set a box-shadow with only the `<spread-radius>`, e.g. `box-shadow: 0 0 0 3px red`. The problem is that `<spread-radius>` is fixed for all sides.
November 12, 2025 at 2:26 PM
Added a virtual selection background to indicate the inline equation node that is being edited.
November 12, 2025 at 2:17 PM
Same for inline equation nodes
November 12, 2025 at 1:51 PM
When building the equation node display, there are several states to consider: empty TeX, TeX containing only whitespace, valid non-empty TeX, and invalid TeX.
November 11, 2025 at 5:20 PM
It's a fascinating idea! Infinite zoom feels magical with pictures, like vaskange.world, where you can dive deeper endlessly without losing track of the visuals. For text-based content, though, I wonder if it might be less effective—since text can look quite similar at different zoom levels.
March 11, 2025 at 3:55 PM
File renaming is also handled.
March 9, 2025 at 8:48 PM
When you rename a symbol in source code using VS Code's "Rename Symbol" feature, canvases that reference the symbol are updated automatically.
March 9, 2025 at 8:46 PM
When you click on a symbol in a canvas, the extension opens the symbol's source code.
March 9, 2025 at 8:43 PM
It's a VS Code extension designed to integrate seamlessly into your software development workflow.
March 9, 2025 at 8:39 PM