Commit Graph
9 Commits
Author SHA1 Message Date
Matt Bierner 038e8d3904 Make markdown extension points dynamic
For #67574

Blocked by #67958
2019-02-05 17:45:11 -08:00
Matt Bierner 8f10101dd4 Create base class for disposable objects 2019-02-05 17:45:11 -08: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
Matt Bierner 05aab259e7 Extract constant 2018-06-11 18:38:03 -07:00
Matt Bierner 7a24ced69f Make sure fenced code blocks properly get line numbers assigned
Fixes #51095
2018-06-04 10:16:58 -07:00
Matt Bierner 017d09e2fe Be more lazy computing symbols 2018-04-13 16:34:25 -07:00
Matt Bierner 468dc867cd Rename markdown to markdown-language-features 2018-03-19 21:08:39 -07:00