fix(docs-infra): detect docregions on more file types (pug, svg, yml) (#30559)

PR Close #30559
This commit is contained in:
George Kalpakas 2019-06-27 00:23:32 +03:00 committed by Alex Rickabaugh
parent 15e397816f
commit 261dc04d8e

View File

@ -16,9 +16,12 @@ regionParserImpl.regionMatchers = {
es6: inlineC, es6: inlineC,
dart: inlineC, dart: inlineC,
html: html, html: html,
svg: html,
css: blockC, css: blockC,
yaml: inlineHash, yaml: inlineHash,
yml: inlineHash,
jade: inlineCOnly, jade: inlineCOnly,
pug: inlineCOnly,
json: inlineC, json: inlineC,
'json.annotated': inlineC 'json.annotated': inlineC
}; };