Skip to content

md2 v0.2.5: Zhihu image fixes

Choose a tag to compare

@github-actions github-actions released this 15 Oct 13:16
· 10 commits to main since this release

md2 v0.2.5: more images survive the paste into the 知乎 editor.

Install

  • VS Code: search md2 in the Extensions view, or code --install-extension brycewang-stanford.md2 (Marketplace).
  • Cursor / VSCodium / Windsurf: Open VSX.
  • Or download md2-0.2.5.vsix below and run Extensions: Install from VSIX….

Fixed

  • More 知乎 images survive the paste. SVG images (shields.io / JOSS badges) are converted to PNG, since Zhihu only re-hosts raster images. raw.githubusercontent.com images, which Zhihu's servers in mainland China can't reach, go through jsDelivr. Every candidate is checked before copy and falls back to the wsrv.nl image proxy when jsDelivr times out on a cold cache, and md2 warns about any remote image with no reachable alternative.