git » sdk » commit 6c1edd9

Add comment to clarify Markdown sed command

author Waqas Hussain
2026-09-19 17:26:17 UTC
committer GitHub
2026-09-19 17:26:17 UTC
parent 28c491dd593b5f856c71525e99195562bc85ac80

Add comment to clarify Markdown sed command

Makefile +1 -0

diff --git a/Makefile b/Makefile
index 2ac91f3..b49a3a2 100644
--- a/Makefile
+++ b/Makefile
@@ -150,6 +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
+	# Enable Markdown in HTML tags without modifying fenced code (e.g. TypeScript generics).
 	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