Docs: add section for Apple M1 users #2460

This commit is contained in:
Lovell Fuller
2021-01-06 13:39:47 +00:00
parent d6376c31e0
commit 138e60adb3
3 changed files with 14 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ const searchIndex = [];
// Install
const contents = fs.readFileSync(path.join(__dirname, '..', 'install.md'), 'utf8');
const matches = contents.matchAll(
/## (?<title>[A-Za-z ]+)\n\n(?<body>[^#]+)/gs
/## (?<title>[A-Za-z0-9 ]+)\n\n(?<body>[^#]+)/gs
);
for (const match of matches) {
const { title, body } = match.groups;