-
-
Notifications
You must be signed in to change notification settings - Fork 785
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add language support & fix: Tooltip now hides when scrolling to… #305
Conversation
📦 Next.js Bundle Analysis for ShiroThis analysis was generated by the Next.js Bundle Analysis action. 🤖
|
Page | Size (compressed) |
---|---|
global |
84.61 KB (🟡 +71 B) |
Details
The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.
Any third party scripts you have added directly to your app using the <script>
tag are not accounted for in this analysis
If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!
另外还有一点,就是我感觉现在的语言格式很奇怪,为什么不直接全部切换到shiki呢?shiki对于不认的语言是直接按照 text 来渲染的,我觉得也可以接受?还是说有保留现有 code highlighter 的必要? |
📦 Next.js Bundle Analysis for ShiroThis analysis was generated by the Next.js Bundle Analysis action. 🤖
|
Page | Size (compressed) |
---|---|
global |
84.61 KB (🟡 +69 B) |
Details
The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.
Any third party scripts you have added directly to your app using the <script>
tag are not accounted for in this analysis
If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!
shiki对于不认的语言 会报错 |
按照我的理解,不应该报错啊(? |
📦 Next.js Bundle Analysis for ShiroThis analysis was generated by the Next.js Bundle Analysis action. 🤖
|
Page | Size (compressed) |
---|---|
global |
84.61 KB (🟡 +72 B) |
Details
The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.
Any third party scripts you have added directly to your app using the <script>
tag are not accounted for in this analysis
If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!
|
草 有点太简陋了吧,那万一我字符串里面有 \n 呢?有没有基于 Shiki 解析出的方法呢,或者干脆直接所有的都调成符合第一行的状态? |
📦 Next.js Bundle Analysis for ShiroThis analysis was generated by the Next.js Bundle Analysis action. 🤖
|
Page | Size (compressed) |
---|---|
global |
84.61 KB (🟡 +69 B) |
Details
The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.
Any third party scripts you have added directly to your app using the <script>
tag are not accounted for in this analysis
If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!
之后我再调吧, 大佬tql |
呜呜,您才是佬,我是只会写 css 的小菜鸡,大佬多教教我() |
… bottom
Description
Linked Issues
Additional context