Skip to content

Commit

Permalink
feat(html): html support
Browse files Browse the repository at this point in the history
  • Loading branch information
Noah committed May 5, 2023
1 parent 0226dd6 commit d15ec55
Show file tree
Hide file tree
Showing 2 changed files with 145 additions and 0 deletions.
6 changes: 6 additions & 0 deletions queries/html/context.scm
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

([
(element)
(style_element)
(script_element)
] @context)
139 changes: 139 additions & 0 deletions test/test.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
<!DOCTYPE html>
<html lang="en">
<head>











<title></title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link href="css/style.css" rel="stylesheet" />



</head>
<style>


.test {





















color: red;


















}


</style>
<body>











<main>











</main>





<ul>
<li></li>
<li>








</li>
<li></li>
</ul>
</body>
<script>
var a = 1;














var b = 2;
function test() {
let test = "asdasd";
}

var c = a + b;
</script>
</html>

0 comments on commit d15ec55

Please sign in to comment.