沙盒


在这里进行功能测试和模板开发(๑•̀ㅂ•́) ✧

紧接着文章摘要的正文内容

文档头


date:
updated:
tags:
categories:
comments:
layout:
permalink:
excerpt:
disableNunjucks:

layout	布局	config.default_layout
title	标题	文章的文件名
date	建立日期	文件建立日期
updated	更新日期	文件更新日期
comments	开启文章的评论功能	true
tags	标签(不适用于分页)	
categories	分类(不适用于分页)	
permalink	覆盖文章网址	
excerpt	纯文本页面摘录。使用此插件格式化文本	
disableNunjucks	启用时禁用 Nunjucks 标签{{ }}/{% %}和标签插件的呈现	
lang	设置语言以覆盖 自动检测	继承自_config.yml

插入图片测试:

代码如下

{% asset_img text.png This is an test image %}

代码块测试

title: 沙盒
date: 2023-03-14 08:10:21
tags: 测试tag
categories: 测试分类

代码高亮显示测试

void D3DApp::CalculateFrameStats()
{
    // 该代码计算每秒帧速,并计算每一帧渲染需要的时间,显示在窗口标题
    static int frameCnt = 0;
    static float timeElapsed = 0.0f;

    frameCnt++;

    if ((m_Timer.TotalTime() - timeElapsed) >= 1.0f)
    {
        float fps = (float)frameCnt; // fps = frameCnt / 1
        float mspf = 1000.0f / fps;

        std::wostringstream outs;
        outs.precision(6);
        outs << m_MainWndCaption << L"    "
            << L"FPS: " << fps << L"    "
            << L"Frame Time: " << mspf << L" (ms)";
        SetWindowText(m_hMainWnd, outs.str().c_str());

        // Reset for next average.
        frameCnt = 0;
        timeElapsed += 1.0f;
    }
}

站内跳转测试

排序算法

Author: morphotherain
Reprint policy: All articles in this blog are used except for special statements CC BY 4.0 reprint polocy. If reproduced, please indicate source morphotherain !
  TOC