Conversation
…generator-code -- yo code`
…y and webview panel is displayed
…nd uses the convert function and displays some text on the panel. The go function is not yet implemented to convert the minml
…ng with command to be used later in ci pipeline
…splays invalid minml it will render an error but it updates as soon as it is okay again.
|
I get a bunch of errors when I run Are your instructions missing a setup or download step ? |
|
Whoops sorry for some reason the file didn't commit. I needed the code from your convert file so I moved it up to make it aceessible. Things should work now. Thanks for the catch! |
|
It should be good now, you now have a little button to open the preview to the side or in a full window. Also like I said it is generally good practice to commit the package-lock.json as it freezes the versions of each package used in javascript projects. So it is normal it is there! |
|
Nice work! General question, which we can discuss further in our meeting today: is this minml previewers completely vscode-specific? How easy or difficult do you expect it would be to port to (extensions to) other IDEs, and how much of the code would be shareable as opposed to vscode-specific? Minor directory-structure nitpick: I would like everything vscode-specific to be somewhere under an appropriate subdirectory probably named |

This PR implements a real-time HTML previewer for MinML, powered by a new Go-based WebAssembly converter and a dedicated VS Code extension. It also streamlines the development and installation process for contributors.
Overview
The goal of this PR is to provide a seamless preview experience for MinML files (.minml, .m) directly within VS Code, ensuring that the rendering is 100% consistent with the Go implementation by using WASM.
Key Features
Technical Details
How to Test
make vscode-live-previewFiles
Note on Contribution: The initial code for this implementation was developed manually by a human, referencing a cat gif panel view extension.
Generative AI was subsequently used for technical research, troubleshooting specific browser security issues (such as the webview URI transformation), and generating parts of the documentation.