diff --git a/Gulpfile.js b/Gulpfile.js
index <HASH>..<HASH> 100644
--- a/Gulpfile.js
+++ b/Gulpfile.js
@@ -228,7 +228,7 @@ gulp.task('docs', function () {
               replace: '.html"'
             },
             {
-              find: /.md#/,
+              find: /.md#/gi,
               replace: '.html#'
             }
           ]
Fix metalsmith text replacement regex for anchor links