update example content
This commit is contained in:
parent
37351acf91
commit
bab2a8c602
5 changed files with 80 additions and 68 deletions
|
@ -67,7 +67,22 @@ Tables aren't part of the core Markdown spec, but Hugo supports supports them ou
|
|||
|
||||
## Code Blocks
|
||||
|
||||
#### Code block with backticks
|
||||
#### Code block without code highlighting
|
||||
|
||||
```
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Example HTML5 Document</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test</p>
|
||||
</body>
|
||||
</html>
|
||||
```
|
||||
|
||||
#### Code block with HTML
|
||||
|
||||
```html
|
||||
<!doctype html>
|
||||
|
@ -82,20 +97,7 @@ Tables aren't part of the core Markdown spec, but Hugo supports supports them ou
|
|||
</html>
|
||||
```
|
||||
|
||||
#### Code block indented with four spaces
|
||||
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Example HTML5 Document</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test</p>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
#### Code block with Golang
|
||||
#### Code block with Go
|
||||
|
||||
```go {hl_lines=[3]}
|
||||
type Registry interface {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue