Vitaliy Mazurenko
e40d72b1b5
re-rendering Markdown preview when updated extra configurations provided by extension
2019-04-01 10:52:23 +03:00
Matt Bierner
038e8d3904
Make markdown extension points dynamic
...
For #67574
Blocked by #67958
2019-02-05 17:45:11 -08:00
Matt Bierner
476d7fe0ab
Refactor markdown contributions
...
Reducing code duplication and reducing state
2019-02-05 16:56:45 -08:00
Matt Bierner
c79a8bf7eb
Remove stray log
...
:)
2019-02-01 14:45:26 -08:00
Matt Bierner
7f1745027b
Re-use options from markdown engine instead of creating new options object
...
Fixes https://github.com/mjbvz/vscode-markdown-mermaid/issues/26
2019-01-25 11:48:25 -08:00
Matt Bierner
59ce7f3b28
Fix markdown preview code highlighting
...
Fixes #66772
2019-01-21 14:09:30 -08:00
Matt Bierner
344f4fa361
Make sure we update the markdown document on config changes
2019-01-09 19:32:53 -08:00
Matt Bierner
758280cc47
Extract TokenCache
2019-01-09 19:27:41 -08:00
Matt Bierner
5496ba7617
Prevent possible race while initilizing markdown engine
2019-01-09 19:18:23 -08:00
Matt Bierner
1bbc0e3b4d
Deprecate the previewFrontMatter setting
...
Switch to always hiding the frontmatter and then allowing markdown-it plugins to render it properly if they wish. `previewFrontMatter: "show"` is also not very useful since it usually results in a jumble of text at the top of the file
This is required with the new performance work to avoid re-tokenizing the document multiple times during rendering
2019-01-09 19:05:55 -08:00
Matt Bierner
e325cce9bc
Fixing markdown unit tests
2019-01-09 18:15:34 -08:00
pkoushik
a6b761b033
fix-65575 Updated tokenize method - Returns cached token if exists or newly created token and cache it
2019-01-08 15:22:29 +05:30
pkoushik
eabf436c07
fix-65575 tokenize method cache update bug fixed
2019-01-04 20:13:27 +05:30
pkoushik
661d191638
fix-65575 tokenize method added
2019-01-04 20:07:21 +05:30
pkoushik
1ef045875d
fix-65575 Added CachedToken and implementation to use it
2019-01-03 11:56:11 +05:30
Matt Bierner
7086fb76ec
Take document as parameter instead document components
2019-01-02 11:56:39 -08:00
Prabhanjan S Koushik
e05aa178d6
Fix 63749 - Markdown, U+2028, and "Go to Symbol in File..." ( #63936 )
...
* fix-63749 - Added UNICODE_NEWLINE_REGEX
* fix-63749 - Removed .skip for the test method
* fix-63749 Moved Replace to parse
2018-11-29 09:09:36 -08:00
Sankt Petersbug
f2653c04cb
Fix Markdown Preview incorrectly encodes a link ( #61530 )
...
For known external scheme, the customized normalizeLink method use vscode.Uri to parse and create
the string representation of the link before caling the original normalizeLink method.
The toString method of vscode.Uri encodes the result by default, and this is unecessary since encoding
is handled by the original normalizeLink method.
Calls toString method with skipEncoding option.
Resolves : #60525
2018-10-22 15:41:22 -07:00
Ahmed Atito
6944a221c3
🐛 - Support C# in markdown preview code block syntax highlighting. ( #61291 )
2018-10-19 15:13:44 -07:00
Matt Bierner
9e017425b3
Replace markdown-named-headers with custom version
...
Fixes #47537
Use our own version of markdown named headers. This fixes some bugs around handling duplicate headers
2018-10-08 16:04:47 -07:00
Matt Bierner
f87369e1af
Treat json5 as json in the markdown preview
2018-10-05 13:06:37 -07:00
Matt Bierner
388a62fe12
Fix anchor links in markdown preview
2018-09-21 15:08:41 -07:00
SteVen Batten
f8f4d3af30
improve markdown preview scroll sync ( #58852 )
...
* improve markdown preview scroll sync
2018-09-18 15:08:37 -07:00
Matt Bierner
4096b5d68e
Avoid uri parse warnings for markdown uris
...
Fixes #58566
We only support local file links or a small set of normal schemes, like `http` and `mailto`. Use this to avoid calling `Uri.parse` with scheme-less paths such as `Uri.parse('/images/cat.gif')`
2018-09-13 15:43:47 -07:00
Matt Bierner
5eab03cf75
Fix folding code blocks / lists with front matter
2018-09-07 11:36:38 -07:00
Matt Bierner
1a9f7c85b8
Fix content after fenced code block being treated as code
...
Fixes #52509
2018-06-20 14:15:34 -07:00
Matt Bierner
7a24ced69f
Make sure fenced code blocks properly get line numbers assigned
...
Fixes #51095
2018-06-04 10:16:58 -07:00
Matt Bierner
feeefd1037
Inject slugifier into markdown engine
2018-05-25 11:57:01 -07:00
Matt Bierner
176a27a53b
Start encapsulating slugifier
2018-05-24 08:05:52 -07:00
Matt Bierner
468dc867cd
Rename markdown to markdown-language-features
2018-03-19 21:08:39 -07:00