Skip to content

Conversation

@GordonSmith
Copy link
Collaborator

…lated commands

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds support for generating Markdown documentation from WIT files using the wit-bindgen-markdown library, alongside the existing language binding generators (Rust, C, C#, Go, MoonBit).

Key Changes

  • Integrated wit-bindgen-markdown 0.49 dependency and implemented Markdown generation in the Rust WASM module
  • Added new VS Code command wit-idl.generateBindingsMarkdown with appropriate menu registrations
  • Updated error messages and documentation to include "markdown" as a supported language option

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
wit-bindgen-wasm/src/lib.rs Added markdown module import, implemented generate_markdown_bindings and generate_markdown_with_wit_bindgen functions, updated language matching to support "markdown" and "md"
wit-bindgen-wasm/Cargo.toml Added wit-bindgen-markdown = "0.49" dependency
wit-bindgen-wasm/Cargo.lock Added dependency entries for wit-bindgen-markdown, pulldown-cmark, and unicase
wit-bindgen-wasm/README.md Updated API documentation to list markdown as a supported language option
src/extension.ts Registered new generateMarkdownBindingsCommand using the existing command factory pattern
package.json Added command definition, context menu entries, and command palette registration for the Markdown documentation command

@GordonSmith GordonSmith force-pushed the MD_BINDINGS branch 2 times, most recently from a9e81bf to ffc0f81 Compare December 11, 2025 22:10
@GordonSmith GordonSmith merged commit 65b0f49 into bytecodealliance:main Dec 11, 2025
20 checks passed
@GordonSmith GordonSmith deleted the MD_BINDINGS branch December 11, 2025 22:13
GordonSmith pushed a commit that referenced this pull request Dec 11, 2025
🤖 I have created a release *beep* *boop*
---


##
[0.3.20](wit-idl-v0.3.19...wit-idl-v0.3.20)
(2025-12-11)


### Features

* add C++ bindings generation support and update related configur…
([#103](#103))
([84e63a6](84e63a6))
* add support for generating Markdown documentation and update re…
([#104](#104))
([65b0f49](65b0f49))
* enhance CI workflows with caching for Node.js and Rust dependen…
([#105](#105))
([112963a](112963a))


### Bug Fixes

* add context to WIT content parsing errors
([2772d4d](2772d4d))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant