You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: support nested (injected) code blocks (#138)
This PR fixes commenting in nested (injected) code blocks. Like in markdown you can have multiple code blocks and those code blocks can also have injected languages for example `markdown -> vue -> css/js`
### Before
```vue
<style>
body {
<!-- color: red; -->
}
</style>
<script>
while (true) {
<!-- console.log("neovim is awesome!"); -->
}
</script>
```
### After
```vue
<style>
body {
/* color: red; */
}
</style>
<script>
while (true) {
// console.log("neovim is awesome!");
}
</script>
```
---
Closes#137
0 commit comments