Commit Graph

65 Commits

Author SHA1 Message Date
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
Daniel Imms
cbc0c0e66c Make cmd+k clear terminal on Mac
Fixes #12585
2016-11-22 17:49:31 -08:00
Matt Bierner
eb563582f4 Add yaml front matter support for Markdown (#15218)
* Add language support for yaml front matter to markdown grammar

* Add option to strip yaml front matter from preview

* Use enum for setting instead of boolean

* Better names

* Fix merge error
2016-11-11 15:09:32 -08:00
Benjamin Pasero
4384310ab2 'Open Preview' button for markdown files is not available anymore (fixes #13476) 2016-10-24 08:32:25 +02:00
Matt Bierner
9e28d5764c Show Markdown Preview Menu Button For any File Opened as Markdown
Issue #7638

**Bug**
Open a `.txt` file containing markdown in VSCode. Select the editor language as `markdown` and the highlighing kicks in, but there is no preview button for the file.

**Fix**
Base display of the markdown preview button on `resourceScheme` instead of `resourceLangId`.

Closes #7638
2016-09-22 11:06:32 -07:00
Martin Aeschlimann
4a13944af6 Migrate all other languages to language-configuration.json 2016-07-21 20:30:37 +02:00
Daniel Imms
9900f278ab Proper copy and paste support for integrated terminal
Fixes #6451
2016-07-11 15:13:13 -07:00
kieferrm
a1c2fcb9bd Add category, fixes #8271 2016-07-01 12:05:44 -07:00
kieferrm
9d50ac3f78 Add windows specific guidance 2016-06-30 16:45:27 -07:00
kieferrm
6b01b4c0d8 lookup of custom style sheets, fixes #8287 2016-06-30 14:50:58 -07:00
kieferrm
a1f6aadfee Change default value from null to []; fixed #8283 2016-06-30 12:45:47 -07:00
Johannes Rieken
eb2b0d1a15 deliver and wire in icons, #8111 2016-06-28 16:31:50 +02:00
kieferrm
e33e9a83ba fixed #8066 2016-06-27 10:42:23 -07:00
Martin Aeschlimann
e228769042 Polish configuration section labels & add link 2016-06-27 18:37:04 +02:00
Johannes Rieken
61973222fd support group property for menu item and treat 'navigation' special 2016-06-24 17:15:00 +02:00
Johannes Rieken
dbb8c3f3b6 markdown uses explorer/context menu 2016-06-23 16:27:49 +02:00
Johannes Rieken
51f0436d53 rename editor/primary to editor/title, remove editor/secondary 2016-06-23 15:42:01 +02:00