This project is dedicated to collecting high-quality macOS software and organizing them systematically by different categories for easy search and use.
Dockerfile appappleapplicationappsawesomeawesome-listawesome-macdesktop-appdesktop-applicationdesktop-appslistmacmac-osxmacosmacos-appmacos-appsmacosxsoftwareswiftswiftui
Fix "Markdown tools" section anchor does not work in website. #654
jaywcjlove239c786795fb
diff --git a/build/build.js b/build/build.jsindex d75acd69..dee08fa3 100644--- a/build/build.js+++ b/build/build.js@@ -101,6 +101,7 @@ function MarkedToHTML(file) {const markdownStr = FS.readFileSync(file);const renderer = new marked.Renderer();renderer.heading = function (text, level) {+ text = text.replace(/<+.*>/, '');if (/[\u4E00-\u9FA5]/i.test(text)) {return '<h' + level + ' id="' + text.toLowerCase() + '">' + text + '</h' + level + '>';}