Commit Graph
82 Commits
Author SHA1 Message Date
Matt Bierner 8bc23c9116 Aligning more markdown wording and UI
- Use `frontmatter` (one word)

- Align  `Show source` icon and text with the reopen with

- Make the `Open preview` in explorer use `reopen with` instead so you can nicely toggle the opened preview
2026-05-15 10:53:34 -07:00
Matt Bierner 268eaf471d Add title and context menu for frontmatter in markdown preview
Follow up on #316140

Makes it easier to discover what the table is and hide it
2026-05-13 13:43:05 -07:00
Matt Bierner 06115d9e8f Add improved markdown front matter rendering
Fixes #316140

Let's try with `table` as the default initially but we can switch to `hide` is we prefer
2026-05-12 16:33:15 -07:00
Matt Bierner 2be149f698 Tweak markdown reopen command wording and icon
Trying to align these with the commands from core
2026-05-05 16:36:57 -07:00
Matt BiernerandGitHub cf0d8c6085 Merge branch 'main' into dev/mjbvz/adverse-kiwi 2026-04-29 23:00:54 -07:00
Matt Bierner 3ec0c2365d Grammar 2026-04-29 22:15:59 -07:00
Matt BiernerandCopilot dca631cfd7 Align more markdown settings strings
This makes `enabled` style settings use working more like we do in core

Co-authored-by: Copilot <copilot@github.com>
2026-04-29 22:02:48 -07:00
Matt Bierner 7b9366db79 Make it easy to switch current md doc between preview and edit mode
Fixes #312425

Also adds a toggle preview command
2026-04-29 21:19:08 -07:00
Matt BiernerandCopilot d7f81372c1 Add groups for md extension configuration
Fixes #313363

Co-authored-by: Copilot <copilot@github.com>
2026-04-29 15:57:00 -07:00
Liu 39d6463003 Update package.nls.json 2025-06-20 12:01:50 +08:00
ふぁ f07edc3dbe fix: update unix timestamp to milliseconds in copyFiles feature
Signed-off-by: ふぁ <yuki@yuki0311.com>
2025-01-29 15:35:33 +09:00
henry da45c202b2 added unix time to copyfiles for markdown 2025-01-15 22:54:34 -06:00
notoriousmango 0b243279cc open image 2024-11-26 19:53:31 +09:00
Matt BiernerandGitHub b6702cdcec Improve markdown setting description (#223814)
For #209318
2024-07-25 22:36:28 -07:00
Matt BiernerandGitHub b832b859e8 Finalize markdown update links on paste setting (#221760)
Fixes #209318

Enables this new feature by default (but as an option, not the default way to paste)
2024-07-22 09:52:01 -07:00
Matt BiernerandGitHub 998047ca2f Add experimental support for updating markdown links on copy/paste (#209319)
* Add experimental support for updating markdown links on copy/paste

For #209318

* Remove log
2024-04-02 17:15:12 +02:00
Matt BiernerandGitHub 288be7d337 Fix settings keys (#208253)
Fixes #207804
2024-03-20 22:21:55 +01:00
Matt BiernerandGitHub 26f95e73b5 Try to clarify wording on setting (#207645)
Fixes #206535
2024-03-15 00:51:07 +01:00
Matt BiernerandGitHub e5f5e91423 Make paste resource respect paste location (#207635)
Fixes #207186
2024-03-13 22:27:44 +01:00
Michael RienstraandGitHub dc10e26a05 docs: document new configuration.markdown.copyFiles.destination options (#203391)
docs: document new `configuration.markdown.copyFiles.destination`

And clean-up / standardize existing docs of same
2024-01-25 00:39:51 +00:00
Matt BiernerandGitHub 0bb69da87c Add new smartWithSelection option for markdown links (#202183)
This becomes the new default while `smart` always smartly pastes, even with no selection
2024-01-10 20:01:52 +01:00
Matt BiernerandGitHub 26ef59c6a7 Rework markdown paste resource (#201838)
Fixes #184980

This refactors much of the logic around markdown paste/drop. PR got a little large but the main highlights are:

- Allow using a custom snippet for inserted audio/video
- Merge the drop/paste resource provider classes since these are so similar
- Enable smart pasting of url text by default
- Refactor url paste logic
- For now, disable the behavior where url paste could paste a combination of markdown and plain uris. In practice this is confusing, especially because our labels for this were wrong. We can always reintroduce this later if multicursor users find it useful
2024-01-04 15:59:14 -08:00
Greg Van LiewandGitHub ef0871b7bb Edits to setting descriptions (#195007) 2023-10-06 10:04:37 -07:00
Matt BiernerandGitHub d6f3707465 Use markdown for markdown.preview.breaks (#194641) 2023-10-02 19:43:00 +01:00
2ba9f17b3f making the markdown link paste feature smart (#188119)
* making markdown link pasting feature smarter

* Update settings description

Co-authored-by: Joyce Er <joyceerhl@gmail.com>

* made checkPaste more concise

* won't paste md link in fenced code or math

* updated the smart md link pasting

* link validation and naming changes

* resolving comments and tests

* resolving comments & writing tests

---------

Co-authored-by: Joyce Er <joyceerhl@gmail.com>
2023-07-20 15:16:40 -07:00
f07abd224b Make markdown link pasting feature smarter (#187170)
* making markdown link pasting feature smarter

* Update settings description

Co-authored-by: Joyce Er <joyceerhl@gmail.com>

* made checkPaste more concise

* won't paste md link in fenced code or math

---------

Co-authored-by: Joyce Er <joyceerhl@gmail.com>
2023-07-10 14:11:49 -07:00
Meghan KulkarniandGitHub 715334ba8c small changes (#186574)
* bug fixes

* added label to copyPaste.ts

* added localized label to copyPasteLinks file
2023-06-29 02:14:23 +02:00
6626f5f07a turning highlighted Markdown text to link to pasted URL (#185924)
* turning highlighted Mardown text to link to pasted URL

* resolved comments

* resolved more comments

* preserved behavior of existing file pasting logic

---------

Co-authored-by: Meghan Kulkarni <t-mekulkarni@microsoft.com>
2023-06-26 17:25:52 -07:00
67cc0965b3 allow images in markdown preview editor to be copied (#184432)
* allow images in markdown preview editor to be copied

* resolved feedback

* added findPreview method

* removed copy image command from showPreview

* clean up

---------

Co-authored-by: Meghan Kulkarni <t-mekulkarni@microsoft.com>
2023-06-07 18:08:22 +00:00
Matt BiernerandGitHub 8d59fc4e0f Fix small typo (#183865)
Fixes #183819
2023-05-30 22:16:13 +02:00
Matt BiernerandGitHub 7a7d45793b Allow external copying files into the workspace on markdown drop / paste (#182572)
Allow copying files in the workspace on markdown drop / paste

Fixes #157043

Also:

- Renames the markdown paste settings and makes them no longer experimental
- Makes the copyFiles setting no longer experimental
- Adds a `markdown.copyFiles.overwriteBehavior` which lets you control if/how existing files are overwritten
2023-05-15 20:17:52 -07:00
Matt BiernerandGitHub a99c29b544 Fix setting reference (#181938) 2023-05-09 21:10:04 +02:00
Matt BiernerandGitHub 6384b9bcdf Add setting to disable paste as functionality and paste widget (#181375)
For #30066

This removes the `editor.experimental.pasteActions.enabled` setting in favor of `editor.pasteAs.enabled` (which also defaults to on)
2023-05-03 08:55:06 +02:00
Matt BiernerandGitHub da15b03a10 Add setting to control markdown LS log level (#176472) 2023-03-08 08:00:34 +01:00
Matt BiernerandGitHub 784bbdab8f Allowing configuring if markdown inserts a .md when completing paths to markdown files (#174882)
Fixes #174005
2023-02-21 08:07:31 +01:00
Matt BiernerandGitHub 34c620efbe Hook up new markdown workspace header suggestion setting (#174004)
Fixes #172977

Also fixes the settingsTree matching settings ids too eagerly
2023-02-10 09:09:00 +01:00
Matt BiernerandGitHub fc763d98df Re-apply markdown copy files setting (#169661)
* Revert "Revert "Add experimental setting to define where files should be copied for markdown (#169454)" (#169615)"

This reverts commit b2121c2dbe.

* Fix tests

These paths should always use `/`
2022-12-20 11:04:51 -08:00
Christof MartiandGitHub b2121c2dbe Revert "Add experimental setting to define where files should be copied for markdown (#169454)" (#169615)
This reverts commit 1d6b47a005.
2022-12-20 10:03:12 +01:00
Matt BiernerandGitHub 1d6b47a005 Revert 1d0a9f9e63 (#169578)
Resubmits the original PR with test fixes for windows
2022-12-19 14:25:37 -08:00
Benjamin PaseroandGitHub 1d0a9f9e63 Revert "Add experimental setting to define where files should be copied for markdown" (#169492)
Revert "Add experimental setting to define where files should be copied for markdown (#169454)"

This reverts commit 09c0b1f799.
2022-12-18 14:11:45 -08:00
Matt BiernerandGitHub 09c0b1f799 Add experimental setting to define where files should be copied for markdown (#169454)
For #157043
2022-12-16 16:23:59 -08:00
Daniel Imms 925b335bb9 Replace other non-hyphenated double-click cases
I used ^[^*\/\/]+double click to find the non-comment cases
2022-12-15 10:54:54 -08:00
Greg Van LiewandGitHub 816f31f691 More settings description tuning (#166429) 2022-11-16 09:33:33 -08:00
Greg Van LiewandGitHub 27a550f451 Settings description edits (#166315)
* Settings description edits

* Remove unnecessary trailing line returns
2022-11-14 13:47:54 -08:00
Hugh LillyandGitHub 190db489e0 Markdown lang preview settings description (#165109)
* Change descriptions to just say “Enable…”

Previously these said “Enable or disable…”, which in the context of a tick box doesn’t make sense.

* Change “Enable/disable” wording in descriptions
2022-11-01 15:48:59 -07:00
Matt BiernerandGitHub 1316bf789f Rework markdown update link glob (#164766)
* Rework markdown update link glob

Fixes #164587

This changes the `externalFileGlobs` setting to instead be a include array of globs that should trigger link updates. I've split the globs into markdown files and image/video files

This also makes it easier for users to add their own new globs to the list

* Fix scopes
2022-10-27 01:45:45 +02:00
Matt BiernerandGitHub d2f8ae6cce Clean up a few markdown setting descriptions (#164765)
Clean up wording and make sure we use `Markdown` uppercase
2022-10-26 16:29:06 -07:00
Matt BiernerandGitHub b11bb04298 Add optional markdown occurrences highlighting (#164292)
Fixes #164290
2022-10-21 14:19:50 -07:00
Matt BiernerandGitHub 641046a11d Add commands to insert images/links in markdown (#163706)
* Add commands to insert images/links in markdown

Fixes #162809

* Rename commands and allow passing in uris

* Support selecting many images/files
2022-10-14 16:05:36 -07:00
Matt BiernerandGitHub e1a373defd Finalize markdown link updating on file move (#163378)
Fixes #148146
2022-10-11 17:42:10 -07:00