Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] HCL Module Code Block not working as intended #2078

Open
ibaraki-douji opened this issue Dec 4, 2024 · 0 comments
Open

[BUG] HCL Module Code Block not working as intended #2078

ibaraki-douji opened this issue Dec 4, 2024 · 0 comments
Assignees
Labels

Comments

@ibaraki-douji
Copy link

Describe the bug
When using the preview with some HCL codeblock, when declaring a module, the module is not proprely parsed into the Preview page.

Environment

  • OS: Windows 11
  • VSCode: 1.96.0
  • Markdown Preview Enhanced: 0.8.15

To Reproduce
Steps to reproduce the behavior:

  1. Go to a blank file (just Ctrl + N)
  2. Add this text (without the dot it's only to show the closing codeblock) :
```hcl
module "machine" {
  
}
``` .
  1. Open the Preview (Ctrl + K then V)
  2. See error

Expected behavior
The result should not duplicate the module name.

Markdown file
See in the Reproduce step

Screenshots
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants