Welcome to My Blog

MyAdventure281 words2 min read随笔

This is a h1 title

主要用来测试这个字体字号,看看o不ok,优不优雅

This is a h2 title

现在来测试一下 coding block 可否渲染ok,有没有代码高亮

type BlogPost = {
  title: string;
  date: string;
  tags: string[];
};
 
const post: BlogPost = {
  title: "Welcome to My Blog",
  date: "2026-02-18",
  tags: ["nextjs", "mdx", "tailwind"],
};
 
console.log(post.title);
#pragma once
 
#include <cstddef>
#include <utility>
 
#include "singly_linked_list.hpp"
 
namespace ds {
 
template <typename T>
class MyStack {
 private:
  SinglyLinkedList<T> data_;
 
 public:
  bool empty() const noexcept { return data_.empty(); }
 
  std::size_t size() const noexcept { return data_.size(); }
 
  T& top() { return data_.front(); }
 
  const T& top() const { return data_.front(); }
 
  void push(const T& value) { data_.push_front(value); }
 
  void push(T&& value) { data_.push_front(std::move(value)); }
 
  void pop() { data_.pop_front(); }
};
 
}  // namespace ds
 
import importlib.metadata
 
__version__ = importlib.metadata.version("my first blog")

This is a h3 title

This is a h4 title

This is a h5 title

Pure text now. a lazy fox jumps over the lazy dog

Bold text now. a lazy fox jumps over the lazy dog

Mathematic Formula

[126795]\begin{bmatrix} 1 & 2 & \cdots \\ 67 & 95 & \cdots \\ \vdots & \vdots & \ddots \\ \end{bmatrix} D(x)={limx0axb+c,x<3π,x=3a3bxij+e2dx,x>3D(x) = \begin{cases} \lim\limits_{x \to 0} \frac{a^x}{b+c}, & x<3 \\ \pi, & x=3 \\ \int_a^{3b}x_{ij}+e^2 \mathrm{d}x,& x>3 \\ \end{cases}

Github notes

[!NOTE]

hello this is GitHub notes


尝试插入一张图片,看看可不可行

default

Comments

Powered by GitHub Discussions via Giscus.