Erik Krogh Kristensen
7a4e81a674
fix catastrophic backtracking when parsing markdown files ( #109964 )
2020-11-10 14:56:06 -08:00
David Sanders
153ba443d5
Use string.matchAll ( #110074 )
2020-11-06 11:49:56 -08:00
Nafana and mmacovei
df59ceb026
Markdown reference links starting with ^ should not be clickable ( #108015 )
...
Co-authored-by: mmacovei <mmacovei@sfu.ca >
2020-10-08 00:38:17 -06:00
Matt Bierner
fdf23dc5f9
Working on supporting markdown links in serverless+web
...
For #101203
2020-07-10 13:25:55 -07:00
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