Pine

Results 141 comments of Pine
trafficstars

Thinking about something like this API below. How each markdown parser would like to integrate with the API is up to them. @EldoranDev @jlkiri @stefanprobst @Enter-tainer I see each of...

I need to read up dark mode a little bit first, so this won't cut it for 0.2.0.

Currently renderers have no access to theme data. I plan to do an API change: ``` ThemedTokenizer: theme + lang => IThemedTokens[][] Renderer: IThemedTokens[][] + theme => HTML / SVG...

> how static would these classes be across different themes Each token can have multiple scopes, and it's up to the theme to decide which one it would colorize. In...

https://github.com/anotherglitchinthematrix/monochrome could be a good test. ![image](https://user-images.githubusercontent.com/4033249/91000503-e634e680-e5fb-11ea-8dad-9c653f12cd97.png) I could generate 10 different variations and make a slider demo.

I built a playground with dark mode. You can give it a try at https://shiki-play.matsu.io. Source code is at https://github.com/shikijs/shiki-playground Here are my thoughts on different approaches: - Outputting two...

Hey @FredKSchott, great work! While I'm late to review the PR, since we are still pre 1.0 I'd like to get the API right. IMO hiding this functionality behind a...

Please provide a minimal, reproducible example. Link to a repo would be great.

@jiankafei Your example is showing this for error me: `WebAssembly.instantiate(): expected magic word 00 61 73 6d, found 3c 21 44 4f @+0`

Hi @Tahul and @farnabaz, I take a quick look of CF workers, but I'm not super familiar with them. Can you explain in more details how does your app with...