GithubHelp home page GithubHelp logo

Comments (5)

muyangren918 avatar muyangren918 commented on May 24, 2024 1

感谢,目前正在采用您提到的代码高亮插件。
至于我说的Github主题,指的是希望文章内容展示页面可以选择采用Github的Markdown样式,比如你们代码仓库首页的MD文档就是以Github的Markdown样式展示的。
下图1是Typora,默认以Github的Markdown样式展示MD文档。
下图2是VSCode中我正在使用的MD预览插件提供的一种可选样式。
下图3是图片2中的样式插件的实际展示效果。
个人猜测,Typora也好,VSCode中的MD预览插件也好,他们都是把Github官方的MD文档展示样式复制了过去,不知道Github官方是否有专门的网站公开这些样式,他们总不至于扒Github的CSS样式吧。
包括上面提到的Typora和VSCode的MD预览插件在内,我书写MD和查看MD喜欢并习惯使用Github主题,因为我觉得该主题阅读体验非常好,层次感对比度恰到好处。所以提Issue的目的就是想知道文章展示页面有没有提供可选样式的Plan,类似于Typora和VSCode的MD预览插件那样。
image
image
image

from halo-theme-chirpy.

AirboZH avatar AirboZH commented on May 24, 2024

我没太明白您说的markdown样式到底是什么,是一级~六级标题,字体斜体,引用这些样式么。
作为jekyll-theme-chirpy移植主题,应该是没有计划支持上面的样式。

您说的第二个代码块的问题,我们在其他Issue中已有相应计划,下一阶段计划就是适配代码块。目前您可以通过安装高亮插件来缓解这个问题。

from halo-theme-chirpy.

AirboZH avatar AirboZH commented on May 24, 2024

感谢反馈~

好的,我明白你的意思了。我会计划把github样式加入到主题当中可供选择的。
不过在此之前可能需要把当前主题中的一些bug和必要功能先完善完善。

from halo-theme-chirpy.

AirboZH avatar AirboZH commented on May 24, 2024

代码块中可能会采用Github样式 #28

from halo-theme-chirpy.

AirboZH avatar AirboZH commented on May 24, 2024

代码块目前采用了Github样式风格。
标题,列表等其他样式目前暂无改为 github 样式的想法

from halo-theme-chirpy.

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.