From d84d37a2fd50dbb27cade547b014c08dff357d9a Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Wed, 19 May 2021 23:37:46 +0800 Subject: [PATCH] doc: Update README.md --- README.md | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 6ff7dd04..69ebe1f7 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,8 @@ console.log('') ### `Links` +###### `HTML Example` + ```html github ``` @@ -45,7 +47,7 @@ const htmlStr = rehype() -
+###### `Markdown Example` ```markdown [github](https://github.com) @@ -87,7 +89,7 @@ const htmlStr = unified() ### `Header` -#### `HTML Example` +###### `HTML Example` ```html

This is a title

@@ -114,7 +116,7 @@ const htmlStr = rehype() -#### `Markdown Example` +###### `Markdown Example` ```markdown This is a title @@ -139,7 +141,7 @@ This is a title ### `Strong` -#### `HTML Example` +###### `HTML Example` ```html This is a Unicorn @@ -150,7 +152,7 @@ This is a Unicorn > This is a Unicorn > ``` -#### `Markdown Example` +###### `Markdown Example` ```markdown This is a **Unicorn** @@ -163,7 +165,7 @@ This is a **Unicorn** ### `Emphasis` -#### `HTML Example` +###### `HTML Example` ```html Npm stand for node packet manager. @@ -174,7 +176,7 @@ Npm stand for node packet manager. > Npm stand for node packet manager. > ``` -#### `Markdown Example` +###### `Markdown Example` ```markdown Npm stand for *node* packet manager. @@ -221,7 +223,7 @@ npm i rehype-attr yarn add rehype-attr ``` -### `HTML Example` +###### `HTML Example` ```js const rehype = require('rehype') @@ -239,7 +241,7 @@ Output:

This is a title

``` -### `Markdown Example` +###### `Markdown Example` ```js const unified = require("unified");