这是一篇测试文章

本文已被作者标记为“过时的内容”,这意味着其中的信息可能已经不再准确。
本文已被作者设置为“避免搜索引擎收录”,这意味着它不应出现在任何搜索引擎的搜索结果中。

目录


测试二级标题

测试三级标题

测试四级标题

测试五级标题
测试六级标题

测试一段汉字:Go是Google开发的一种静态强类型、编译型、并发型,并具有垃圾回收功能的编程语言。为了方便搜索和识别,有时会将其称为Golang。罗伯特·格瑞史莫(英语:Robert Griesemer),罗勃·派克(Rob Pike)及肯·汤普逊于2007年9月开始设计Go语言,稍后Ian Lance Taylor、Russ Cox加入专案。Go语言是基于Inferno作业系统所开发的。Go语言于2009年11月正式宣布推出,成为开放原始码专案,并在Linux及Mac OS X平台上进行了实现,后来追加了Windows系统下的实现。

测试一段英文:Hugo is the world’s fastest static website engine. It’s written in Go (aka Golang) and developed by bep, spf13 and friends. Below you will find some of the most common and helpful pages from our documentation.

测试加粗文字

测试斜体文字

测试中划线文字

测试---横线:


测试***横线:


测试一段引用:Go是Google开发的一种静态强类型、编译型、并发型,并具有垃圾回收功能的编程语言。为了方便搜索和识别,有时会将其称为Golang。罗伯特·格瑞史莫(英语:Robert Griesemer),罗勃·派克(Rob Pike)及肯·汤普逊于2007年9月开始设计Go语言,稍后Ian Lance Taylor、Russ Cox加入专案。

  • 测试无序列表
  • 测试无序列表
  • 测试无序列表
  • 测试无序列表
  • 测试无序列表
  1. 测试有序列表
  2. 测试有序列表
  3. 测试有序列表
  4. 测试有序列表
  5. 测试有序列表

测试超链接:本博客

测试外链重定向:golang

测试外链转内链:

测试插入图片:

随便截的图

测试插入 GIF:

GIF 图

测试表格:

header 1 header 2 header 3
row 1 col 1 row 1 col 2 row 1 col 3
row 2 col 1 row 2 col 2 row 2 col 3

测试 bash 代码:

#!/bin/bash

###### CONFIG
ACCEPTED_HOSTS="/root/.hag_accepted.conf"
BE_VERBOSE=false

if [ "$UID" -ne 0 ]
then
 echo "Superuser rights required"
 exit 2
fi

genApacheConf(){
 echo -e "# Host ${HOME_DIR}$1/$2 :"
}

测试 golang 代码:

// Copyright 2015 The Hugo Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

package main

import (
	"runtime"

	"os"

	"github.com/gohugoio/hugo/commands"
	jww "github.com/spf13/jwalterweatherman"
)

func main() {
	runtime.GOMAXPROCS(runtime.NumCPU())
	commands.Execute()

	if jww.LogCountForLevelsGreaterThanorEqualTo(jww.LevelError) > 0 {
		os.Exit(-1)
	}

	if commands.Hugo != nil {
		if commands.Hugo.Log.LogCountForLevelsGreaterThanorEqualTo(jww.LevelError) > 0 {
			os.Exit(-1)
		}
	}
}

测试 html 代码:

<p><img src="https://image.wolfogre.com/2324e0a067f71ee9386f41184a8ee6ff8c2fc344d90469ef137ffe79073d4289.PNG" alt="随便截的图" /></p>
<p>测试 bash 代码:</p>
<pre><code class="language-bash">#!/bin/bash

echo ok
</code></pre>

评论加载中……

若长时间无法加载,请刷新页面重试,或直接访问