Commit Graph

6 Commits

Author SHA1 Message Date
Matt Bierner
d655e6f726 Make sure we always include uriScheme in knownSchems for markdown 2019-04-02 16:27:22 -07:00
Evan Bovie
8c1079b443 Add vscode-insiders URI prefix to knownSchemes in links.ts 2019-04-02 10:23:39 -07:00
Evan Bovie
13948796f3 Add vscode: URI prefix to knownSchemes in links.ts 2019-03-28 12:36:37 -07:00
Matt Bierner
e21df781db Treat data: as a known markdown link scheme
Fixes #62142
2018-10-30 11:34:33 -07:00
Matt Bierner
b72c349e05 Don't try re-encoding vscode-resoure markdown links
Fixes #60374

Some markdown-it extensions end up reprocessing the same tokens multiple times. This can result in our link normalized being re-invoked on a link, which causes it to fail

Fix to to make sure that `vscode-resource` is a recongized link so that we don't try re-normalizing in these cases
2018-10-29 16:18:11 -07:00
Matt Bierner
4096b5d68e Avoid uri parse warnings for markdown uris
Fixes #58566

We only support local file links or a small set of normal schemes, like `http` and `mailto`. Use this to avoid calling `Uri.parse` with scheme-less paths such as `Uri.parse('/images/cat.gif')`
2018-09-13 15:43:47 -07:00