Commit Graph

278 Commits

Author SHA1 Message Date
Yu Zhang
1c6f2f9a80 🐛 include setext heading levels (Markdown) (#32987)
* 🐛 include setext heading levels

* 📝 typo

* 💚 use `===`
2017-08-22 19:17:15 -07:00
Andrii Melekhovskiy
8d9778b191 Fix typo in Markdown Preview security warning message (#32989) 2017-08-22 17:05:28 -07:00
Johannes Rieken
7128eb085c style - use single-quoted imports 2017-08-21 16:45:32 +02:00
Matt Bierner
59d5ce9f31 Make language identifier case insensitive for markdown code blocks
Fixes #32805
2017-08-18 14:42:16 -07:00
Matt Bierner
cb1797f1ef Revert "Don't scroll to factional line positions in the markdown preview when wordwrap is off"
This reverts commit 5055bb7ba4.
2017-08-16 14:54:53 -07:00
Matt Bierner
5055bb7ba4 Don't scroll to factional line positions in the markdown preview when wordwrap is off 2017-08-16 14:50:53 -07:00
Matt Bierner
3d794e3283 Add More Info link to markdown preview security settings dropdown 2017-08-08 14:07:55 -07:00
Matt Bierner
f980319f5c Add markdown preview refresh command
Fixes #32111
2017-08-07 20:21:16 -07:00
Matt Bierner
75eadfbd4b Fix scroll restoration in webviews 2017-08-03 22:22:29 -07:00
Matt Bierner
f1d39bb3ea Cleanup markdown security setting selector UX 2017-08-02 15:00:23 -07:00
Matt Bierner
e0c43aa340 better desc for linkify setting 2017-08-01 15:35:42 -07:00
Matt Bierner
3cf215fb64 Add linkify setting for the markdown preview
Fixes #31801
2017-08-01 15:28:01 -07:00
Matt Bierner
ed1ae2f59d Remove redundant markdown name in change security command 2017-08-01 13:44:11 -07:00
Matt Bierner
7d7c65b4a8 Fix a spell in markdown security settings 2017-08-01 13:44:11 -07:00
Matt Bierner
6a10043e8d Block svg images in markdown preview by default 2017-07-24 18:01:23 -07:00
Matt Bierner
066d564f26 Fix highlight js for DOM typings 2017-07-21 15:12:53 -07:00
Matt Bierner
1d000145c3 Use @types and import in markdown extension 2017-07-21 14:58:27 -07:00
Matt Bierner
714a9c688f Fix markdown fenced code blocks for mixed fence types
Fixes #31206
2017-07-21 14:12:17 -07:00
Matt Bierner
81813b2ca4 Ensure resource path is set 2017-07-17 13:32:42 -07:00
Matt Bierner
b62f3d41e1 Update markdown extension to support multiroot 2017-07-17 13:32:42 -07:00
Matt Bierner
2815f13a03 Rework wording of insecure content message 2017-07-17 13:11:54 -07:00
Matt Bierner
a038c06627 Allow running security setting command from md file 2017-07-17 11:19:16 -07:00
Matt Bierner
80f11c09f0 First cut of new markdown securty levels 2017-07-17 11:19:16 -07:00
Matt Bierner
5c0f51313b enable markdown extension API 2017-07-14 15:21:35 -07:00
kieferrm
3f8bd163f4 update dependency on vscode-extension-telemetry 2017-06-30 09:57:37 -07:00
Michel Kaporin
12ea528663 Correctly configuring nls for use. #29098 2017-06-28 16:09:49 +02:00
Michel Kaporin
ab3c945e0e Import 'nls' in extensions entry point. Fixes #29098. 2017-06-28 16:01:23 +02:00
Matt Bierner
d21dd1269e Adding options to disable svgs in webviews 2017-06-25 17:09:55 -07:00
Joao Moreno
5667cc0e69 use vsce to determine what to package when bundling extensions
fixes #29054
2017-06-21 16:17:21 +02:00
Rohith Reddy Kumbharkar
e9ec53eb7a Added functionality to toggle break rendering mode for markdown preview (#28713) 2017-06-15 17:24:47 -07:00
Benjamin Pasero
476504aecf Text disappeared after update to 1.13 [Bug] (fixes #28619) 2017-06-14 18:41:25 +02:00
Matt Bierner
32566fd1f1 Add scss and pug to markdown fenced codeblock syntax highlighting Fixes #28382 2017-06-09 14:54:50 -07:00
Matt Bierner
2af6c114c3 Fix markdown wordwrap for langugae specific settings. Fixes #25357 2017-06-07 15:42:06 -07:00
Matt Bierner
25458491eb Remove ` as autoclosing pair in markdown
Having ` as an autoclosing pair makes typing fenced code blocks annoying

https://github.com/Microsoft/vscode/pull/28172#issuecomment-306944985
2017-06-07 15:42:06 -07:00
Matt Bierner
07645a664f Restrict markdown preview to markdown files
Fixes #28210

Only show the markdown preview commands when you are in a markdown file
2017-06-07 15:08:43 -07:00
Yu Zhang
fc2b063fa2 Default Markdown language configuration (#28172)
* 🔧 renew Markdown lang config

* 🎨 format
2017-06-07 14:53:54 -07:00
Matt Bierner
6e8b0229b8 Enforce a minimum for markdown.preview.fontSize
Fixes #27797
2017-06-02 14:45:04 -07:00
Matt Bierner
0ece9b1081 Update markdown extension contributes key names 2017-05-26 12:03:23 -07:00
Matt Bierner
87c24f2b26 Fix markdown preview csp failure. Fix #27156 2017-05-23 11:57:07 -07:00
Matt Bierner
7403245d3d Show Warning When a markdown.styles fails to load (#27105)
Fixes #8488

**Bug**
Currently there is no indication in the markdown preview when a `markdown.styles` element fails to load

**Fix**
Show an alert then a stylesheet does not load
2017-05-22 18:30:24 -07:00
MaruyamaTomoki
3e65e255ab Markdown preview support the UNC path files. (#26710) 2017-05-22 15:29:25 -07:00
Jan Niklas Hasse
146c76df36 Use pre-#25570 fonts as a fallback for system-ui (#26912)
Workaround for:
https://bugs.chromium.org/p/chromium/issues/detail?id=724393
2017-05-22 11:57:54 +02:00
Kaide Mu
09c97bca0f Markdown: Capture right parenthesis as part of url (#26449)
* Capture right parenthesis as part of url

* Update markdown link pattern

* Fix link highlighting when there is nested img and link href
2017-05-18 22:06:27 -07:00
Matt Bierner
799fa528db Load script async in markdown preview 2017-05-17 17:39:00 -07:00
Matt Bierner
405271c17d Move getting active line out of inner openTextDocument 2017-05-16 16:57:26 -07:00
Matt Bierner
087a2d2f24 Default to not updating scroll position if no valid editor is found. Part of #25910 2017-05-16 14:05:10 -07:00
Daniel Imms
f8bd850747 Merge pull request #25570 from jhasse/system-ui
Use Chromium's new system-ui font alias
2017-05-15 13:20:56 -07:00
Jan Niklas Hasse
45d93e9325 Use Chromium's new system-ui font alias
https://bugs.chromium.org/p/chromium/issues/detail?id=654679

Fixes #10144.
2017-05-10 13:44:12 +02:00
Matt Bierner
4f4a663a60 update highlight js version 2017-05-10 00:03:42 -07:00
Matt Bierner
7d2dea4e45 Add "Include" to extension TSConfig Files (#25860)
**Bug**
Most VSCode extensions currently specify `"exclude"` in their `tsconfig.json` but not `"include"`. This may result in extra files being included in each project

**Fix**
Add  `"include": ["src/**/*"]` to all extension tsconfig files
2017-05-05 11:37:59 -07:00