Results 208 comments of _Kerman

Are there two Slidev servers running at the same time, and on the same port?

Looks like an upstream bug... The transformation logic in Slidev is correct in test. However, I can't find a related issue/commit in https://github.com/unplugin/unplugin-vue-markdown or https://github.com/mdit-vue/mdit-vue

I am not 100% sure. The background color seems to be controlled by the CSS Variable `--slidev-code-background`

The draggable feature has been implemented: https://sli.dev/guide/draggable.html#draggable-arrow

Currently, there is a `max_simple_string_length` config, strings longer than this value won't be inlined. I can also think of some other strategies: - Option 1: Compare the literal's length to...

It seems that duplicating literals only has a very small effect on the gzipped size. And I found it cost a noticeable performance to avoid the duplication🤔

Due to [a Vue internal bug/limitation](https://github.com/vuejs/core/issues/10295), I can't make `` inside `` work 😭 Another workaround is to use `v-click="3"` (an absolute click number, instead of the default relative one)

Cannot reproduce this in [Vue Playground](https://play.vuejs.org/#eNp9kT1PwzAQhv+KdUuXKhnKFAUkQB1gAASMXqzkCC7+kj9Cqir/nbOrlA5Vt/P7vHd+T3eAe+eqMSE00HqbIjIlzHDLYS+04nDHjfPWoY/7hq1GoRKuuGnrYiVIdUTtlCgvxtpejmzpoCkbGtHWJBJt6zMrrCGGzpovOVS7YA39f8gDOHRWO6nQv7oorQkcGlZIZkIp+/tctOgTrhe9+8bu54K+C1PWOLx5DOhH5HBiUfgB4xFvP15wovoEte2TIvcV+I7BqpQzHm0PyfQU+8xX0j5pZ32UZvgM2ymiCctSOWh2zsXPgY7weGX1/7ib6qb0cTPD/AfuZJQt): Please disable all other plugins and see if this still happens

There are two separate problems: 1. `Math.random()` not considered as pure yet. This will be solved in the future. 2. Prototype pollution. IMO, the expected behavior should be: ```js function...