| author | Waqas Hussain
<waqas20@gmail.com> 2026-09-19 17:19:25 UTC |
| committer | GitHub
<noreply@github.com> 2026-09-19 17:19:25 UTC |
| parent | 9a32bb6b8621053e99a96b61f1ec37eb69a46f99 |
| Makefile | +1 | -1 |
diff --git a/Makefile b/Makefile index 618d22b..2ac91f3 100644 --- a/Makefile +++ b/Makefile @@ -150,7 +150,7 @@ doc: npx @microsoft/api-extractor run -c npm/api-extractor.json || true npx @microsoft/api-documenter markdown -i tmp -o docs/js/ rm -r tmp - find docs/js/ -name '*.md' -exec sed -i.bak 's/<\([[:alpha:]][[:alpha:]]*\)/<\1 markdown="1"/g' \{\} \; + find docs/js/ -name '*.md' -exec sed -i.bak '/^```/,/^```/!s/<\([[:alpha:]][[:alnum:]]*\)\([[:space:]>]\)/<\1 markdown="1"\2/g' \{\} \; find docs/js/ -name '*.bak' -exec $(RM) {} \; git checkout docs/js/index.md mkdocs build