Hugo Front Matter

Front Matter

  • 标题: title; linkTitle; subtitle

  • 时间: date; lastmod; publishDate; expiryDate

  • 分类: categories, tags, series

  • 属性: images, slug, url, draft, isCJKLanguage, layout,

  • 描述: description, summary

  • 目录: toc, tocNum, anchor

  • 显示: displayCopyright, badge, gitinfo, share, related, comments, meta

  • 渲染: katex, mathjax, mermaid, markup

  • 段落: smallCaps, dropCap, dropCapAfterHr, deleteHrBeforeDropCap

  • 对齐: indent, indentFirstParagraph, align, original

  • 引用: copyright, website, email, motto, avatar, twitter,

    -  weight, type
    -  outputs, alias
    

数学公式

数学公式建议使用Pandoc+KaTeX进行渲染. Mathjax渲染会有如下问题:

  1. 公式换行必须使用6个斜杠
  2. 使用下划线会导致markdown加粗语法失效

Snippet of Alfred

---
title: {cursor}
date: {date:yyyy-MM-dd}
slug: 
tags:
toc: off
tocNum: on
---
updatedupdated2023-06-052023-06-05
Update https-ca.md