From a11694a44d31b0031016ba36184190a1f5370e81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=81=E5=AE=81?= <383514580@qq.com> Date: Wed, 3 Jul 2019 16:18:00 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=9B=B4=E6=96=B0=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 5 ++--- scripts/md.js | 6 ++---- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 867f2fc..25cb5d3 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,5 @@ -# any-rule -正则大全 -https://any86.github.io/any-rule/ +# 正则大全 +:whale: 图形界面: https://any86.github.io/any-rule/ ## 银行卡号(16或19位) ```javascript diff --git a/scripts/md.js b/scripts/md.js index 089ce11..36b17eb 100644 --- a/scripts/md.js +++ b/scripts/md.js @@ -1,10 +1,8 @@ const fs = require('fs'); const chalk = require('chalk'); const json = require('../src/RULES.js'); -let content = `# any-rule -正则大全 -https://any86.github.io/any-rule/ -`; +let content = `# 正则大全 +图形界面: https://any86.github.io/any-rule/\r\n`; json.forEach(({title, rule})=>{ content+= `\r\n## ${title}\r\n`; content+= `\`\`\`javascript\r\n`;