volarjs / volar.js

💙🌊
https://volarjs.dev/
MIT License
963 stars 47 forks source link

Fix transforming volar embedded URIs in markdown #180

Closed remcohaszing closed 3 months ago

remcohaszing commented 3 months ago

Since we use volar-embedded-content: URIs, these need to be properly processed when they appear in markdown content. For example markdown-language-service does this. They use the syntax some-url|width=300. To support this, the URL is split on the | character before processing and joined afterwards.

johnsoncodehk commented 3 months ago

Thanks!