Commit Graph

546 Commits

Author SHA1 Message Date
Matt Bierner
7bc28074bf Exclude tr from markdown hover
Fixes #135278
Fixes #135037
2021-10-18 17:13:44 -07:00
Matt Bierner
b7c340f119 Simplify import path 2021-10-14 09:32:35 -07:00
Matt Bierner
c986aef642 Remove .only and fix fragment used when opening file
Keeping the fragment causes a duplicated file to be opened
2021-10-13 19:33:56 -07:00
Matt Bierner
830987eac3 Refactor document link opening
- Extract out of command
- Try to preserve uri instead of converting to path
- Better handle case with absolute file path when there is no workspace
2021-10-13 19:27:35 -07:00
Matt Bierner
d1f72b5420 Try to clairify how md links are resolved
For #101203

The current logic ends up tossing out the uri scheme and other important info when opening md links. This PR tries to avoid that
2021-10-13 19:00:19 -07:00
Matt Bierner
8b2b819f55 Update test case 2021-10-12 17:29:53 -07:00
Matt Bierner
5d60bcd241 Fix null type error 2021-10-12 17:02:06 -07:00
Lemmingh
d3ceb35bec Add source map for every possible element in the Markdown preview (#134799)
* Update markdown-it and type definitions

* Refresh the source map mechanism in `markdownEngine.ts`
2021-10-12 16:25:56 -07:00
Jim Griesmer
845af8a5c3 Enlarge small markdown text size - trivial change (#134550)
* Enlarge small markdown text size - trivial change

* Didn't intend to change h1 line height

* Simplify font-size story for h1, h2, h3 and p
2021-10-08 12:29:39 -07:00
Matt Bierner
0dae77d06e Enable markdown links with line numbers to non-md files
Fixes #125320
2021-10-07 18:35:09 -07:00
Matt Bierner
ecae847b95 Fix navigate in untitled files 2021-10-07 18:14:16 -07:00
Matt Bierner
d8507236f1 Rewrite logic for opening markdown document links
Fixes #133823

This rewrites openDocumentLink to use `stat` to check if files exists before trying to open them. This lets us avoid showing extra error popups while trying to open resources
2021-10-07 18:10:05 -07:00
Logan Rasmussen
35ea6c0cf5 Remove angle brackets when checking the scheme (#133419)
* Remove angle brackets when checking the scheme

This only removes the brackets during the scheme check if the initial link provided actually has angle brackets.

* Move angle bracket logic to document link file

Change to use replace instead of match for easier reading
2021-10-04 08:31:52 -07:00
Logan Ramos
a4342f3add Bump telemetry module 2021-10-01 16:52:56 -04:00
Don Jayamanne
d2c7e3d06f Remove built-in latext output rendering in nb 2021-09-29 16:02:47 -07:00
Alex Dima
bfc02befad Revert "Update highlightjs"
This reverts commit 436f9d38b0.
2021-09-28 00:59:21 +02:00
Matt Bierner
436f9d38b0 Update highlightjs 2021-09-27 15:43:26 -07:00
Don Jayamanne
cb70ab5526 Merge pull request #133464 from DonJayamanne/textLatex 2021-09-23 15:13:16 -07:00
Logan Ramos
282f499c22 Update extension telemetry module 2021-09-23 11:26:57 -04:00
Don Jayamanne
1e5e3642b2 Misc 2021-09-22 13:16:37 -07:00
Matt Bierner
4c78259529 Revert 75e1fa6c43
Fixes #132741

Let's keep the outline extensible. Instead, a markdown extension could contribute support for the syntax in the original issue in #131427
2021-09-14 16:36:53 -07:00
Matt Bierner
e43d47e852 Add missing await
Doesn't seem to cause any issues currently
2021-09-14 09:54:05 -07:00
Matt Bierner
d3585388be Make sure markdown.showSource correctly awaits opening the document
Fixes #132914
2021-09-14 09:54:05 -07:00
Matt Bierner
c62f59fcae Fix map func not having this bound
Fixes #132703
2021-09-09 15:03:30 -07:00
Matt Bierner
277f6ef132 Log errors when loading markdown-it plugins 2021-09-08 15:12:46 -07:00
Matt Bierner
0e52275271 Introduce WebviewOptions.forms
Fixes #132157
2021-09-02 13:24:49 -07:00
John Murray
75e1fa6c43 fix #131427 ignore extension contributions when populating Outline for markdown file (#131572) 2021-08-30 14:13:17 -07:00
Matt Bierner
28bc889cea Use ActivationFunction 2021-08-30 13:54:39 -07:00
Matt Bierner
0ec3d48b70 Use @types/vscode-notebook-renderer 2021-08-30 13:54:39 -07:00
Logan Ramos
8dbad73de5 Update built in extensions telemetry 2021-08-27 15:45:42 -04:00
Logan Ramos
ecc7fdac90 Bump extension telemetry module 2021-08-27 11:29:48 -04:00
Benjamin Pasero
68daa9669e fix #131535 (#131630) 2021-08-25 10:53:38 -07:00
Matt Bierner
e56fa01346 Switch to dompurify 2021-08-18 16:54:59 -07:00
Matt Bierner
068dcfbfc8 Allow images in md by default 2021-08-18 16:54:58 -07:00
Matt Bierner
a6d26aa31c Add insane for notebook markdown rendering 2021-08-18 15:09:23 -07:00
Jean Pierre
c094fcf995 Fixes #113475 (#130815) 2021-08-16 16:47:23 -07:00
Matt Bierner
691e9cea33 Support clickable links between markdown cells
Fixes #103519
2021-08-13 14:17:10 -07:00
Logan Ramos
da7d76d2ec Update extension telemetry module 2021-08-10 12:43:41 -04:00
Logan Ramos
6aa5b9226b Update extension telemetry module 2021-08-09 13:16:08 -04:00
Matt Bierner
dc54347a27 Exclude a few extra build files from build 2021-08-05 13:32:54 -07:00
Matt Bierner
af39918361 Organize imports in md ext 2021-08-03 13:22:46 -07:00
Matt Bierner
5f45df8330 Fix formatting
Github merge UI :'(
2021-08-02 19:54:03 -07:00
Nicholas Rayburn
72d9aa625e Fix #124276 batch markdown file requests (#124545)
* fix #124276 batch markdown file requests

* cleanup and modify return type

* Revert "cleanup and modify return type"

This reverts commit 62d62b4947.

* cleanup getAllMarkdownDocuments

* fix markdown batching

* fix var not being modified
cleanup function call
remove modulo use

* don't create a new array on each iteration

Co-authored-by: Matt Bierner <matb@microsoft.com>
2021-08-02 19:44:56 -07:00
Logan Ramos
9350fa3c9d Bump telemetry module to fix packaging 2021-08-02 14:29:37 -04:00
Logan Ramos
b7a07daa5a Fix #129727 2021-08-02 13:04:26 -04:00
Logan Ramos
87e0cb1d43 Fix #129474 2021-07-29 11:39:03 -04:00
gregvanl
91ae221db4 Settings description typos 2021-07-26 11:47:38 -07:00
Logan Ramos
c8e6d08e3a Update to the latest extension module 2021-07-26 13:44:43 -04:00
Matt Bierner
134c345351 Try adding browser specific tsconfig
Trying to add this to catch dependencies we take on node types
2021-07-22 17:00:17 -07:00
Matt Bierner
b7cba9e7d4 Don't use custom tsconfig settings for markdown ext 2021-07-22 17:00:17 -07:00