Commit Graph

17 Commits

Author SHA1 Message Date
Matt Bierner 78559bf9e6 Normalize vscode links in markdown files to target current vscode version
Fixes #71622

This allows you to use generic `vscode` links inside the markdown preview and still have them work if the preview is viewed in insiders
2019-10-23 20:27:52 -07:00
Matt Bierner 2fe62e7dfe Use the document that contains the md link as the resource for getting config, not the target document 2019-09-10 16:31:53 -07:00
Matt Bierner be41fd02a2 Show document link tooltip first and put click instructions in parens
Fixes #76077

This change also update our standard link hovers to follow this format
2019-06-25 16:38:50 -07:00
Micah Smith 01f7276b7e Fix for issue #35245 2019-06-12 14:30:54 -04:00
Matt Bierner f3b8d15b0d Add DocumentLink.tooltip api proposal
For #72824
2019-05-23 17:57:04 -07:00
Matt Bierner 0ec326531e Use flatten array helper 2019-04-02 17:16:10 -07:00
Phil Marshall 4c2d33559f lazy quantifiers for linkPattern regex 2019-01-25 19:07:45 -06:00
Phil Marshall ef66e5fab1 tweaked linkPattern regex to pass new tests 2019-01-25 18:55:42 -06:00
Phil Marshall 9070abedaf image link should be pushed to results before other link 2019-01-25 18:45:06 -06:00
Phil Marshall 5fdc5c2675 factor documentlink extraction into separate function 2019-01-24 17:25:09 -06:00
Phil Marshall d372fa0697 md extension should underline images used as link description 2019-01-22 18:46:46 -06:00
Matt Bierner 6d5214053c Fix local markdown document links for untitled files
Fixes #59523
2018-10-04 19:01:34 -07:00
Matt Bierner a101ececf4 Remove onCommand from markdown preview 2018-09-21 15:08:41 -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 7980812a43 Properly handle links with title 2018-05-04 11:37:32 -07:00
Matt Bierner bd29afad2c More pinning tests for markdown links 2018-05-04 11:37:32 -07:00
Matt Bierner 468dc867cd Rename markdown to markdown-language-features 2018-03-19 21:08:39 -07:00