Giter Club home page Giter Club logo

Comments (4)

Keldos-Li avatar Keldos-Li commented on May 18, 2024

可能是当时没想到还会有代码块出现在表格里叭_(:з」∠)_ 一开始限定是因为大 code block 的样式代码还没写,会有影响……

虽然我个人觉得表格里的话这个蓝框框就不合适了,我可能只会改个字体,像下面这样:

/* 行内代码 */
code {
  font-family: var(--code-font), var(--ui-font), monospace; }
p code,
li code {
  color: #3c70c6;
  background-color: #fefefe;
  box-shadow: 0 0 1px 1px #c8d3df;
  /* ... */ }

🤔(毕竟真实的LaTeX代码块是没有框的)

from typora-latex-theme.

RalXYZ avatar RalXYZ commented on May 18, 2024

image
image

@Keldos-Li
顺便,在标题里的行内引用会使得字体变为无衬线的...
哦,它好像是个被加粗了的 mono

from typora-latex-theme.

Keldos-Li avatar Keldos-Li commented on May 18, 2024
/* 行内代码 */
code {
  font-family: var(--code-font), var(--ui-font), monospace;
}
h1 code, h2 code, h3 code, h4 code, h5 code, h6 code,
p code,
li code {
  color: #3c70c6;
  background-color: #fefefe;
  box-shadow: 0 0 1px 1px #c8d3df;
  /* 阴影 */
  font-family: var(--code-font), var(--ui-font), monospace;
  box-sizing: border-box;
  border-right: 0px;
  margin: 0 2px 0 2px;
  padding: 0 2px 0 2px;
  border-radius: 2px 2px 2px 2px;
  /* 圆角 */ }

这样🤔?

from typora-latex-theme.

RalXYZ avatar RalXYZ commented on May 18, 2024

我在 ab24d85 提交了一个解决方案。
情况是,改了 code 块的字体,并且保证标题中显示代码块。表格中的 code 依然没有代码块,只做字体的改变。

image

image

from typora-latex-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.