Giter Site home page Giter Site logo

Comments (8)

Yidadaa avatar Yidadaa commented on May 6, 2024

感谢反馈,能否提供更多信息来帮助定位问题:

  • 刷新页面后是否依然存在该问题?
  • 设置中的主题选项是 auto/light/dark?切换主题后问题是否依然存在?
  • 能否提供当前所用的操作系统版本和浏览器版本。

from chatgpt-next-web.

erbao2001 avatar erbao2001 commented on May 6, 2024

@Yidadaa 主题无论设置成什么,发现首屏的代码高亮是正常的,但是滚动到第二瓶以后得代码高亮都是有问题的,好像是这样的

Chrome:版本 111.0.5563.110
CleanShot 2023-03-24 at 10 41 12@2x

from chatgpt-next-web.

Yidadaa avatar Yidadaa commented on May 6, 2024

好的,请问你是在自己部署的代码上遇到的该问题,还是在本项目的演示网站中遇到的该问题?

from chatgpt-next-web.

Yidadaa avatar Yidadaa commented on May 6, 2024

请尝试更新 fork 项目的代码与上游同步,该问题应该就自动解决了。具体方法请查阅本项目 readme。

from chatgpt-next-web.

erbao2001 avatar erbao2001 commented on May 6, 2024

@Yidadaa 我是看的你们演示站

from chatgpt-next-web.

Yidadaa avatar Yidadaa commented on May 6, 2024

如果这个问题目前还是存在的话,能否提供一下出错信息的原始 markdown 文本?在消息上右键点击即可,然后贴到这里。

from chatgpt-next-web.

zsnjuts avatar zsnjuts commented on May 6, 2024

我现在也遇到了这个问题。

image

原始markdown文本如下:

好的,以下是一个简单的RoaringBitmap使用方法的示例代码:

#include <iostream>
#include "roaring/roaring.h"

int main() {
  Roaring r1, r2, r3;
  // 添加数据到 r1 和 r2 中
  for (uint32_t i = 0; i < 10000; ++i) {
    r1.add(i);
  }
  for (uint32_t i = 5000; i < 15000; ++i) {
    r2.add(i);
  }
  // 进行并集运算
  r3 = Roaring::or(r1, r2);
  uint32_t *result = new uint32_t[r3.getCardinality()];
  r3.toArray(result);
  // 输出结果
  for (uint32_t i = 0; i < r3.getCardinality(); ++i) {
    std::cout << result[i] << " ";
  }
  std::cout << std::endl;
  delete[] result;
  return 0;
}

上述代码创建了三个 RoaringBitmap 对象,r1 和 r2 分别添加了一些数据,然后使用 RoaringBitmap::or 方法计算它们的并集,结果保存在 r3 中。最后,将 r3 的结果输出到控制台上。代码中还包括了内存分配和释放。请注意,这只是 RoaringBitmap 用法的简单示例,更加复杂的用法请参考 RoaringBitmap 官方文档。

from chatgpt-next-web.

Yidadaa avatar Yidadaa commented on May 6, 2024

确实会有这个问题,系统是夜间模式时,如果强制亮色,代码高亮就会出问题,有空修吧,建议先用 auto 凑合用着。

from chatgpt-next-web.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.