Commit Graph

81 Commits

Author SHA1 Message Date
Matt Bierner
f4eca163a0 Relax vscode-nls deps 2017-12-12 11:04:39 -08:00
Joao Moreno
0a8b6fb706 yarn: replace most shrinkwrap files 2017-11-13 23:03:52 +01:00
Matt Bierner
ded53f4462 Marking markdown settings scopes 2017-10-27 15:20:48 -07:00
Matt Bierner
837d66fcf0 Show markdown security command in command palette when inside markdown preview 2017-10-24 11:17:45 -07:00
Matt Bierner
f8bac907b7 Mark markdown yaml frontmatter as yaml embedded language
Fixes #30873
2017-10-16 14:45:06 -07:00
Matt Bierner
0bd33bbd96 Use strict versions for @types. Fixes #35561 2017-10-09 11:21:00 -07:00
Matt Bierner
b6e7279be4 Fix language mode for script and style blocks in markdown
Fixes #34602
2017-09-18 17:41:48 -07:00
Matt Bierner
b45a168102 Mark markdown fenced code blocks with correct language mode
Fixes #34598
2017-09-18 15:52:41 -07:00
Matt Bierner
f9fa4ae361 Add schema for contributed markdown API
Fixes #31874
2017-09-18 14:55:13 -07:00
Matt Bierner
a87c72f2df Bump markdown-it version
Fixes #33369
2017-09-01 14:39:56 -07:00
Matt Bierner
f980319f5c Add markdown preview refresh command
Fixes #32111
2017-08-07 20:21:16 -07:00
Matt Bierner
3cf215fb64 Add linkify setting for the markdown preview
Fixes #31801
2017-08-01 15:28:01 -07:00
Matt Bierner
1d000145c3 Use @types and import in markdown extension 2017-07-21 14:58:27 -07:00
Matt Bierner
a038c06627 Allow running security setting command from md file 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
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
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
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
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
efd3efcb62 Added markdown trace option for debugging user issues Fixes #24983 (#24985) 2017-04-18 18:57:01 -07:00
Ramya Achutha Rao
84af63a933 Increment version of vscode extension telemetry module 2017-04-18 14:46:35 -07:00
Matt Bierner
e392265ce1 Switch md button to open to side by default
Fixes #21511
Fixes #23922

Changes the default markdown toolbar item to open the preview to the side of the current file as requested by #21511

Also updates the single file preview icon slightly to better differentiate it from the diff icon
2017-04-10 17:43:02 -07:00
Matt Bierner
11aba2dc61 Document enableExperimentalExtensionApi for insiders 2017-04-10 17:14:42 -07:00
Matt Bierner
6a34076761 Update default fonts used in markdown preview Fixes #15545 2017-04-04 16:24:53 -07:00
Matt Bierner
31d0799fd8 Fix Markdown TOC Provider for Invalid References (#22553)
Fixes #22494

**Bug**
References without a definition can cause the markdown table of contents provider to break

**Fix**
Pass in an empty environment to markdown-it `parse` to prevent the null dereference on invalid links.
2017-03-13 10:49:59 -07:00
Matt Bierner
1dd884a88a Use Gulp To Generate Markdown Langauge Includes (#22117)
**Bug**
The markdown grammar for fenced code blocks is rather unmaintainable since it involves lots of copy and pasted code

**Fix**
Use a gulp task and a template to generate the fenced code block grammars include directly. This allows adding new language support much more easily.
2017-03-06 18:21:16 -08:00
Matt Bierner
4ebfc2fc18 Add Enhanced Security Settings to Markdown Preview
Adds enhanced security settings for the markdown preview. The new flow disable all scripts within the preview itself. Users can enable scripts on a per workspace basis.

When a markdown document that uses scripts is loaded, a warning is shown inside the document itself. This warning triggers a new security selector quick pick which allows users to enable or disable enahanced security in the workspace.
2017-03-03 13:56:23 -08:00
Martin Aeschlimann
8293443262 [markdown] enable wordWrap & disable quickSuggestions 2017-02-24 11:02:45 +01:00
Kai Maetzel
919580fdd8 Upgrade telemetry package used by TS and markdown extensions. (#20971)
* upgrade telemetry used by TS ext

* upgrade telemetry used by markdown ext
2017-02-21 15:26:30 -08:00
Matt Bierner
7c633148b3 Remove unneeded d.ts files from extensions (#19653)
* Remove unneeded d.ts files from extensions

Moves most extensions to use the lib files for the standard library that typescript provides.

* Remove a few more node.d.ts references
2017-02-01 12:34:50 -08:00
katainaka
e68ab660a3 Update markdown-it version (#19417) 2017-01-27 14:41:15 -08:00
Matt Bierner
e7730e36a5 Scroll sync for list items and quotes fixes #19151 2017-01-24 15:46:01 -08:00
Matt Bierner
93c4b5f077 Fixes #19093 2017-01-23 14:12:52 -08:00
Matt Bierner
6053021a6c Split up and rename Markdown Scroll Sync Settings (#19077)
Splits the markdown scroll sync settings to be more granular.
2017-01-23 11:59:12 -08:00
Matt Bierner
5bf8cc7618 Add Markdown Preview to Editor Scroll Syncronization
Adds an initial implementation of scroll synrconization from the markdown preview to the editor. When the preview is scrolled, automatically scrolls the editor to reveal the same location.

This required adding a new supported reveal type `AtTop` in our API. This is already supported and used internally, but not really exposed in the public apis (except for the `revealLine` command).
2017-01-22 00:47:06 -08:00
Matt Bierner
b5ae881b26 Add Markdown Document Link Provider To Support Local Links (#18821)
* Support []() links

* Fix for file switching

* Fix local links with hash fragments
2017-01-20 11:36:34 -08:00
Joao Moreno
ebba80143b Merge branch 'markdown-outline' of https://github.com/joaomoreno/vscode into joaomoreno-markdown-outline 2017-01-20 11:45:55 +01:00
Matt Bierner
e3b3959d8f Remove droid sans fallback from default markdown font fallback 2017-01-18 22:05:04 -08:00
Matt Bierner
b29ef9b4e8 Prototyping Markdown Preview Synchronization With Editors (#18762)
* Adds command to post a message to an html preview

**Bug**
There is currently no easy way to communicate with an html preview document after the preview has been created.

**Fix**
Adds a command called `vscode.htmlPreview.postMessage` to post a message to a visible html preview. This message will only be posted if the target preview is visible.

Inside the preview, the event is recieved using the standard dom event:

* Remove logging

* proto

Continue proto

* clean up rendering

* Gate prototype

* Fix gating

* Remove public command

* Change setting name

* Added current position indicator

* Reveal center
2017-01-18 17:58:45 -08:00
Matt Bierner
4bd5fc1d5e Fixes #17537 - serif fonts in markdown preview on some systems 2016-12-19 14:49:54 -08:00
Joao Moreno
95a674c09e outline support for markdown 2016-12-09 14:32:22 +01:00
Matt Bierner
0c6333e604 Add font settings for markdown preview (#16302)
Fixes #4641

Adds basic settings for controlling the markdown preview font. We already support this with custom css, but these settings are similar to what the editor and integrated terminal expose and allow for a few basic customizations. Custom style sheets will override these.
2016-12-01 12:55:00 -08:00
Matt Bierner
6e758c483b Use enum for md previewFrontMatter setting closes #16185 (#16188) 2016-11-29 09:49:20 -08:00
Matt Bierner
9ee2ad1258 Extract markdown decs strings for #13102 (#16177) 2016-11-28 15:10:07 -08:00
Matt Bierner
7320059e5c Don't translate Markdown.category Closes #16087 (#16159) 2016-11-28 12:48:23 -08:00