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
28c5988f47
Renaming setting names
2019-09-10 16:20:01 -07:00
Matt Bierner
728ee3aa73
Extract
2019-09-10 16:06:08 -07:00
Salvador Cabrera Lozano
c307d73664
Fix for #26659 . ( #80227 )
...
* Fix for #26659 .
Clicking on a local file link will open up the editor on a separate editor group (new or reuse existing one).
* Fix for #26659 : Add way to open Markdown links in a different editor group
Adding "markdown.editor.openMarkdownLinks" setting to specify where
links to markdown files should open (current editor group by default).
2019-09-10 15:58:27 -07:00
Matt Bierner
1802be3b70
Always require an argument to command
...
#75612
2019-08-20 11:26:49 -07:00
Matt Bierner
f509f7f141
Rename command
...
#75612
2019-08-20 11:25:42 -07:00
Matt Bierner
7c3aeb10a2
Merge pull request #77151 from connor4312/feat/markdown-render-command
...
feat(markdown): add render command (fixes #75612 )
2019-08-20 11:23:47 -07:00
Connor Peet
3c42f56552
fixup! render a string as well
2019-07-11 11:24:28 -07:00
Connor Peet
7dd109c2df
feat(markdown): add render command ( fixes #75612 )
...
This adds a command which renders the provided document, or the active
editor if one is provided. Following the pattern of some of the preview
commands, it returned `undefined` if there's no document provided and
no active text editor. Otherwise, seems to work...
```ts
const html = await vscode.commands.executeCommand<string>('markdown.render');
```
A way to render arbitrary strings in addition to documents may be useful at
some point in the future. However, I didn't implement that here as that'd
require some refactoring of the markdown engine. If we're interested though
I could certainly give that a shot.
2019-07-10 15:49:06 -07:00
masliu
173d010b0a
Rename sourceViewColumn to resourceColumn
2019-07-04 22:29:23 -04:00
masliu
47f9ed5d22
Save source viewColumn for previews, fixes #74008
2019-07-04 21:37:28 -04:00
Howard Hung
0ddd999172
Fix typo: showSecutitySelectorForResource -> showSecuritySelectorForResource
2019-05-22 01:25:59 +08:00
Vitaliy Mazurenko
e40d72b1b5
re-rendering Markdown preview when updated extra configurations provided by extension
2019-04-01 10:52:23 +03:00
Matt Bierner
c1c3e5eab0
Properly encode markdown file path for open links
...
Fixes #59523
Double encode the path so that `Uri.parse`'s decoding only strips out the first level of encoding
2019-01-28 15:45:42 -08:00
Rob Lourens
ef2547d547
replace void 0 with undefined
2019-01-03 11:20:19 -08:00
Matt Bierner
6d5214053c
Fix local markdown document links for untitled files
...
Fixes #59523
2018-10-04 19:01:34 -07:00
Matt Bierner
e19c9ba82d
Addd option to open markdown preview links in markdown preview
...
Fixes #19339
2018-09-21 15:08:42 -07:00
Matt Bierner
7185906189
Reduce usage of postCommand in markdown preview
2018-09-21 15:08:41 -07:00
Matt Bierner
ee947947a7
Fix duplicate markdown previews potentially being shown in the same editor group
...
Fixes #56910
2018-08-21 16:42:11 +02:00
Matt Bierner
749eb1ebcd
Make sure we handle line number links correctly in preview
...
Fixes #51919
2018-06-15 10:09:27 -07:00
Benjamin Pasero
2ec2cf597a
API tweaks for grid editor ( #51876 )
...
* fix #51001
* add onDidChangeTextEditorViewColumn test that validates moving editor group
* adopt vscode.ViewColumn.Beside
* add vscode.setEditorLayout command
2018-06-14 17:17:39 +02:00
Matt Bierner
2319e47db1
Make sure we use normalized path for compare
...
Fixes #50760
(the path should already have been normalized at this point so I don't think there is any user impact)
2018-05-30 11:16:16 -07:00
Matt Bierner
0d584a9086
Allow open preview from markdown file title context menu
...
Part of #37045
2018-04-30 17:30:44 -07:00
Matt Bierner
fd182746cb
Fix can't change markdown security level for directly opened file
...
Fixes #46424
2018-04-02 16:29:49 -07:00
Matt Bierner
18146e8c71
Use activePreview when running markdown commands
...
Fixes #46216
2018-03-20 14:30:39 -07:00
Matt Bierner
468dc867cd
Rename markdown to markdown-language-features
2018-03-19 21:08:39 -07:00