Results 208 comments of _Kerman

I guess this crash was caused by something other than the infinite loop in #1826 🥲 Because there is a workaround, and the issue is not easy to reproduce, we...

It looks like no one has reported this issue in recent months. Hopefully this has been fixed.

> @KermanX I think this PR is almost successful, but tree-shaker seems to have some template string/regex conversion problems, can you take a look? Yes, I've noticed that bug, but...

I've used a workaround to solve the template literal escaping issue. Currently, this PR is tree-shaking thousands of input files, which may lose many import chances compared to tree-shaking the...

> Unfortunately the output file is currently corrupt and still needs to be investigated. I've fixed another bug. And I can't find more problems myself now.

I just found that the filter used to be `/\.js/`, which accepts `*.json`. And tree-shaker can't parse JSON, which results in an empty output 🥲 Sadly, after this fix, tree-shaker...

Thank you for reporting this issue. I think this issue can't be fixed in this repo, as it may happen in any TypeScript Nuxt projects. Please report the issue to...

Sorry, Slidev doesn't support code-group out of the box. You can install a corresponding MarkdownIt plugin manually (https://sli.dev/custom/config-vite)

Sorry, I didn't explain very clearly. `frontmatter-merging.md` is part of the docs, and the `code-group` syntax in this file is processed by VitePress - which is not a Slidev feature...

Use https://github.com/hunghg255/markdown-it-code-group: **vite.config.ts**: ```ts import { defineConfig } from 'vite' import CodeGroup from 'markdown-it-code-group' export default defineConfig({ slidev: { markdown: { /* markdown-it options */ markdownItSetup(md) { /* custom markdown-it...