新建分类 categories 页
categories页是用来展示所有分类的页面,如果在你的博客source目录下还没有categories/index.md文件,那么你就需要新建一个,命令如下:
hexo new page “categories”
编辑你刚刚新建的页面文件/source/categories/index.md,至少需要以下内容:
---
title: categories
date: 2018-09-30 17:25:30
type: "categories"
layout: "categories"
---
新建标签 tags 页
tags页是用来展示所有标签的页面,如果在你的博客source目录下还没有tags/index.md文件,那么你就需要新建一个,命令如下:
hexo new page “tags”
编辑你刚刚新建的页面文件/source/tags/index.md,至少需要以下内容:
---
title: tags
date: 2018-09-30 18:23:38
type: "tags"
layout: "tags"
---
新建关于我 about 页
about页是用来展示关于我和我的博客信息的页面,如果在你的博客source目录下还没有about/index.md文件,那么你就需要新建一个,命令如下:
hexo new page “about”
编辑你刚刚新建的页面文件/source/about/index.md,至少需要以下内容:
---
title: about
date: 2018-09-30 17:25:30
type: "about"
layout: "about"
---
代码语法高亮标识
- .properties - properties
- 6502 Assembly - asm6502
- ABAP - abap
- ActionScript - actionscript
- Ada - ada
- Apache Configuration - apacheconf
- APL - apl
- AppleScript - applescript
- Arduino - arduino
- ARFF - arff
- AsciiDoc - asciidoc
- ASP.NET (C#) - aspnet
- AutoHotkey - autohotkey
- AutoIt - autoit
- Bash - bash, shell
- BASIC - basic
- Batch - batch
- Bison - bison
- Brainfuck - brainfuck
- Bro - bro
- C - c
- C# - csharp, dotnet
- C++ - cpp
- CIL - cil
- C-like - clike
- Clojure - clojure
- CoffeeScript - coffeescript
- Content-Security-Policy - csp
- Crystal - crystal
- CSS - css
- CSS Extras - css-extras
- D - d
- Dart - dart
- Diff - diff
- Django/Jinja2 - django, jinja2
- Docker - docker, dockerfile
- Eiffel - eiffel
- Elixir - elixir
- Elm - elm
- ERB - erb
- Erlang - erlang
- F# - fsharp
- Flow - flow
- Fortran - fortran
- GameMaker Language - gml, gamemakerlanguage
- G-code - gcode
- GEDCOM - gedcom
- Gherkin - gherkin
- Git - git
- GLSL - glsl
- Go - go
- GraphQL - graphql
- Groovy - groovy
- Haml - haml
- Handlebars - handlebars
- Haskell - haskell
- Haxe - haxe
- HCL - hcl
- HTTP - http
- HTTP Public-Key-Pins - hpkp
- HTTP Strict-Transport-Security - hsts
- IchigoJam - ichigojam
- Icon - icon
- Inform 7 - inform7
- Ini - ini
- Io - io
- J - j
- Java - java
- Java stack trace - javastacktrace
- JavaScript - javascript, js
- Jolie - jolie
- JSON - json, jsonp
- Julia - julia
- Keyman - keyman
- Kotlin - kotlin
- LaTeX - latex
- Less - less
- Liquid - liquid
- Lisp - lisp, emacs, elisp, emacs-lisp
- LiveScript - livescript
- LOLCODE - lolcode
- Lua - lua
- Makefile - makefile
- Markdown - markdown
- Markup - markup, html, xml, svg, mathml
- Markup templating - markup-templating
- MATLAB - matlab
- MEL - mel
- Mizar - mizar
- Monkey - monkey
- N4JS - n4js, n4jsd
- NASM - nasm
- nginx - nginx
- Nim - nim
- Nix - nix
- NSIS - nsis
- Objective-C - objectivec
- OCaml - ocaml
- OpenCL - opencl
- Oz - oz
- PARI/GP - parigp
- Parser - parser
- Pascal - pascal, objectpascal
- Perl - perl
- PHP - php
- PHP Extras - php-extras
- PL/SQL - plsql
- PowerShell - powershell
- Processing - processing
- Prolog - prolog
- Protocol Buffers - protobuf
- Pug - pug
- Puppet - puppet
- Pure - pure
- Python - python
- Q (kdb+ database) - q
- Qore - qore
- R - r
- React JSX - jsx
- React TSX - tsx
- Reason - reason
- Ren’py - renpy
- reST (reStructuredText) - rest
- Rip - rip
- Roboconf - roboconf
- Ruby - ruby
- Rust - rust
- SAS - sas
- Sass (Sass) - sass
- Sass (Scss) - scss
- Scala - scala
- Scheme - scheme
- Smalltalk - smalltalk
- Smarty - smarty
- Soy (Closure Template) - soy
- SQL - sql
- Stylus - stylus
- Swift - swift
- TAP - tap
- Tcl - tcl
- Template Toolkit 2 - tt2
- Textile - textile
- TOML - toml
- Twig - twig
- TypeScript - typescript, ts
- Vala - vala
- VB.Net - vbnet
- Velocity - velocity
- Verilog - verilog
- VHDL - vhdl
- vim - vim
- Visual Basic - visual-basic, vb
- WebAssembly - wasm
- Wiki markup - wiki
- Xeora - xeora, xeoracube
- Xojo (REALbasic) - xojo
- XQuery - xquery
- YAML - yaml