Giter VIP home page Giter VIP logo

Comments (3)

crowya avatar crowya commented on May 10, 2024
  • 希望加入对内联代码的高亮支持
  • 代码块后面的段落间距过大
  • 全屏的时候好像会和.card{backdrop-filter:blur(6px);}这个CSS属性冲突(应该只有我有这个问题,为了毛玻璃效果_(:з)∠)_)

from argon-theme.

solstice23 avatar solstice23 commented on May 10, 2024

代码块后面的段落间距过大

修了

全屏的时候好像会和.card{backdrop-filter:blur(6px);}这个CSS属性冲突(应该只有我有这个问题,为了毛玻璃效果_(:з)∠)_)

新版本在代码块全屏后会给 html 添加 codeblock-fullscreen 类,可以在存在这个类时取消 backdrop-filter 属性来兼容

from argon-theme.

solstice23 avatar solstice23 commented on May 10, 2024

希望可以添加普通文本的支持
比如:

balabalabla

目前如果在```后面添加任意不能识别的语言显示都会出bug(比如none或者text)
建议可以改成:如果不能识别语言,那么默认不启用任何高亮,只显示mac样式的代码块。

语言识别是 highlight.js 库那边的,不能识别的语言名称会不解析。如果不确定语言的名称,可以参考 highlight.js 官网。或者,不输入任何语言名称则会自动识别语言。
普通文本可以写成 plaintext,会被作为纯文本解析。

from argon-theme.

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.