mirror of
https://github.com/marktext/marktext.git
synced 2025-05-04 01:10:04 +08:00
Adjust inline math font (#657)
This commit is contained in:
parent
e9a8b6e281
commit
543ec07e72
4
.github/CHANGELOG.md
vendored
4
.github/CHANGELOG.md
vendored
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
**:cactus:Feature**
|
**:cactus:Feature**
|
||||||
|
|
||||||
- Added an error handler
|
- Improve exception and error handling
|
||||||
|
|
||||||
**:butterfly:Optimization**
|
**:butterfly:Optimization**
|
||||||
|
|
||||||
@ -10,6 +10,8 @@
|
|||||||
- Separate font and font size for code blocks and source code mode (#373, #467)
|
- Separate font and font size for code blocks and source code mode (#373, #467)
|
||||||
- Opened files and opened directories/files can now be folded (#475, #602)
|
- Opened files and opened directories/files can now be folded (#475, #602)
|
||||||
- You can now hide the quick insert hint (#621)
|
- You can now hide the quick insert hint (#621)
|
||||||
|
- Adjusted quote inline math color (#592)
|
||||||
|
- Fix inline math text align (#593)
|
||||||
|
|
||||||
**:beetle:Bug fix**
|
**:beetle:Bug fix**
|
||||||
|
|
||||||
|
@ -192,11 +192,15 @@ span.ag-math > .ag-math-render.ag-math-error {
|
|||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* (Preview) math block */
|
||||||
|
/* TODO: DOM path should be wrong. Correct path should be: 'ag-container-preview > .katex-display'. */
|
||||||
.ag-math > .ag-math-render .katex-display {
|
.ag-math > .ag-math-render .katex-display {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Inline math */
|
||||||
.ag-math > .ag-math-render .katex {
|
.ag-math > .ag-math-render .katex {
|
||||||
|
vertical-align: middle;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -455,6 +455,10 @@ td code {
|
|||||||
color: #efefef;
|
color: #efefef;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
blockquote .ag-hide.ag-math > .ag-math-render {
|
||||||
|
color: #999999;
|
||||||
|
}
|
||||||
|
|
||||||
.ag-gray.ag-math > .ag-math-render {
|
.ag-gray.ag-math > .ag-math-render {
|
||||||
color: #333333;
|
color: #333333;
|
||||||
background: #f6f8fa;
|
background: #f6f8fa;
|
||||||
|
@ -434,6 +434,10 @@ pre[class*="language-"] {
|
|||||||
color: #333333;
|
color: #333333;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
blockquote .ag-hide.ag-math > .ag-math-render {
|
||||||
|
color: #777777;
|
||||||
|
}
|
||||||
|
|
||||||
.ag-gray.ag-math > .ag-math-render {
|
.ag-gray.ag-math > .ag-math-render {
|
||||||
color: #f6f8fa;
|
color: #f6f8fa;
|
||||||
background: #333333;
|
background: #333333;
|
||||||
|
Loading…
Reference in New Issue
Block a user