Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information