I have a markdown file like this:
### Concurrency Promise.all
```js
const executorFunction = (param) => {
return new Promise((resolve, reject) => {
/*
Do something async here and return success status
*/
const success = true;
if (success) {
resolve(param);
} else {
reject(param);
}
})
};
`` `
If I try to build it I get an error at minification:
Error: Error building site: MINIFY: failed to transform “index.js” (text/javascript): unexpected \ on line 158 and column 13342
158: …status\r\n */\r\n const suc…
If I change the comment to a line comment all is fine.
// Do something async here and return success status
Anyway to use block comments in codeblocks?