src/language-js/embed.js
function isHtml(path) {
  const node = path.getValue();
  return (
    hasLanguageComment(node, "HTML") ||
    isPathMatch(path, [
      node => node.type === "TemplateLiteral",
      (node, name) =>
        node.type === "TaggedTemplateExpression" &&
        node.tag.type === "Identifier" &&
        node.tag.name === "html" &&
        name === "quasi"
    ])
  );
}
function isHtml(path) {
  const node = path.getValue();
  return (
    hasLanguageComment(node, "HTML") ||
    isPathMatch(path, [
      node => node.type === "TemplateLiteral",
      (node, name) =>
        node.type === "TaggedTemplateExpression" &&
        node.tag.type === "Identifier" &&
        node.tag.name === "html" &&
        name === "quasi"
    ])
  );
}
function isHtml ( path ) { const node = path . getValue ( ) ; return ( hasLanguageComment ( node , "HTML" ) || isPathMatch ( path , [ node => node . type === "TemplateLiteral" , ( node , name ) => node . type === "TaggedTemplateExpression" && node . tag . type === "Identifier" && node . tag . name === "html" && name === "quasi" ] ) ) ; }
- html`...`
- HTML comment block
- html ... - HTML comment block