fix code with white background #119
This commit is contained in:
parent
51c16f2f69
commit
4b3884d165
@ -158,6 +158,11 @@ kbd {
|
|||||||
line-height: 154%;
|
line-height: 154%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pre code, pre kbd {
|
||||||
|
color: inherit;
|
||||||
|
background-color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
/* Styles */
|
/* Styles */
|
||||||
|
|
||||||
blockquote {
|
blockquote {
|
||||||
|
@ -73,8 +73,7 @@ Tables aren't part of the core Markdown spec, but Hugo supports supports them ou
|
|||||||
|
|
||||||
#### Code block with backticks
|
#### Code block with backticks
|
||||||
|
|
||||||
```
|
```html
|
||||||
html
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
@ -88,10 +87,10 @@ html
|
|||||||
```
|
```
|
||||||
#### Code block indented with four spaces
|
#### Code block indented with four spaces
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!doctype html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="utf-8">
|
||||||
<title>Example HTML5 Document</title>
|
<title>Example HTML5 Document</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
@ -73,8 +73,7 @@ Tables aren't part of the core Markdown spec, but Hugo supports supports them ou
|
|||||||
|
|
||||||
#### Code block with backticks
|
#### Code block with backticks
|
||||||
|
|
||||||
```
|
```html
|
||||||
html
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
@ -88,10 +87,10 @@ html
|
|||||||
```
|
```
|
||||||
#### Code block indented with four spaces
|
#### Code block indented with four spaces
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!doctype html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="utf-8">
|
||||||
<title>Example HTML5 Document</title>
|
<title>Example HTML5 Document</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
@ -73,8 +73,7 @@ Tables aren't part of the core Markdown spec, but Hugo supports supports them ou
|
|||||||
|
|
||||||
#### Code block with backticks
|
#### Code block with backticks
|
||||||
|
|
||||||
```
|
```html
|
||||||
html
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
@ -88,10 +87,10 @@ html
|
|||||||
```
|
```
|
||||||
#### Code block indented with four spaces
|
#### Code block indented with four spaces
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!doctype html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="utf-8">
|
||||||
<title>Example HTML5 Document</title>
|
<title>Example HTML5 Document</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
Loading…
Reference in New Issue
Block a user