From c5f26c2248272a7cbd94a2bf331eab34adac2bd1 Mon Sep 17 00:00:00 2001 From: HPCesia Date: Mon, 21 Oct 2024 19:41:58 +0800 Subject: [PATCH] Update readme --- README.md | 4 ++-- README_zh-CN.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6b06442..40e8af4 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Hexo-Highlight-Shiki -![NPM Version](https://img.shields.io/npm/v/hexo-highlighter-shiki?style=flat) +[![NPM Version](https://img.shields.io/npm/v/hexo-highlighter-shiki?style=flat)](https://www.npmjs.com/package/hexo-highlighter-shiki) English丨[简体中文](README_zh-CN.md) @@ -43,7 +43,7 @@ shiki: css_variable_prefix: --shiki- # Only take effect when using multiple themes. default: --shiki- transformers: # List of transformers to be enabled. Please refer to https://shiki.style/packages/transformers for the list of supported transformers. - "transformerNotationDiff" # You can omit name and option when no settings are required, directly using the string. - - name: transformerNotationFocus # When settings are required, please explicitly set name and option. + - name: transformerNotationFocus # When additional option are required, please explicitly set name and option. option: # Options for the transformer, please check the transformer's source code to get the list of supported options # Source code of transformers: https://github.com/shikijs/shiki/tree/main/packages/transformers/src/transformers classActiveLine: focused diff --git a/README_zh-CN.md b/README_zh-CN.md index 46b8f94..b5582c7 100644 --- a/README_zh-CN.md +++ b/README_zh-CN.md @@ -1,5 +1,5 @@ # Hexo-Highlight-Shiki -![NPM Version](https://img.shields.io/npm/v/hexo-highlighter-shiki?style=flat) +[![NPM Version](https://img.shields.io/npm/v/hexo-highlighter-shiki?style=flat)](https://www.npmjs.com/package/hexo-highlighter-shiki) [English](README.md)丨简体中文