GithubHelp home page GithubHelp logo

Comments (15)

Famine-Life avatar Famine-Life commented on August 10, 2024 1

@Townwang折腾了一下,不知道在哪里改,对网站一窍不通,是修改prism.js嘛?原谅无知小白

在assets/css下,修改app.min.css文件(如果你的也是的话),修改内容:ctrl+f 查找: .markdownbody .highlight修改其{}内的overflow: scroll为overflow:auto或者overflow:hidden,,如果不确定是不是这个文件的话,F12下查找样式来源,可以找出样式来自哪个文件!

END

from jekyll-theme-h2o.

kaeyleo avatar kaeyleo commented on August 10, 2024

对应的Markdown发我看一下呢

from jekyll-theme-h2o.

oalieno avatar oalieno commented on August 10, 2024

在 github page 才會出現
markdown 就是普通的代碼區塊(三個 反單引號)
我的也會

from jekyll-theme-h2o.

Townwang avatar Townwang commented on August 10, 2024

我也出现那个问题了,不过已经改了, 是Markdown的css原因 可以隐藏一下 效果看看我博客 townwang.com

from jekyll-theme-h2o.

pickou avatar pickou commented on August 10, 2024

@Townwang 请教一下如何解决这个问题

from jekyll-theme-h2o.

Townwang avatar Townwang commented on August 10, 2024

@pickou 在容器外面再嵌套一层 overflow:hidde

from jekyll-theme-h2o.

pickou avatar pickou commented on August 10, 2024

@Townwang 折腾了一下,不知道在哪里改,对网站一窍不通,是修改prism.js嘛?原谅无知小白

from jekyll-theme-h2o.

sctop avatar sctop commented on August 10, 2024

去liaokeyu.com上面翻源代码,把css和js给替换了。。我就是这样子干的。。

from jekyll-theme-h2o.

Townwang avatar Townwang commented on August 10, 2024

@pickou 修改css 在代码框的容器外面再嵌套一层 overflow:hidde

from jekyll-theme-h2o.

sctop avatar sctop commented on August 10, 2024

@Townwang 话说什么是“容器外面”。。。

from jekyll-theme-h2o.

Townwang avatar Townwang commented on August 10, 2024

@sctop div啊 css一对div就是个容器 盒子.......

from jekyll-theme-h2o.

pickou avatar pickou commented on August 10, 2024

@sctop 这个机智啊。

from jekyll-theme-h2o.

pickou avatar pickou commented on August 10, 2024

@sctop 我替换了还是原样啊,还是没变化啊。

from jekyll-theme-h2o.

pickou avatar pickou commented on August 10, 2024

我的解决方案是只用prism来显示,把_config.yml中的highlighter设置为none,也就是不用rouge来解析。然后配色和支持的语言可以从http://prismjs.com/download.html 这个网站选择下载。暂时没什么问题出现

from jekyll-theme-h2o.

sctop avatar sctop commented on August 10, 2024

Duplicate of #44

from jekyll-theme-h2o.

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.