mirror of
https://github.com/lovell/sharp.git
synced 2026-02-06 22:56:16 +01:00
Docs: add section for Apple M1 users #2460
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user