Matt Bierner
280658327f
Move toc expanding for notebooks logic into toc
2022-01-19 14:41:38 -08:00
Matt Bierner
a2d7dfaf35
Simplify toc structure
2022-01-19 14:41:38 -08:00
Matt Bierner
e88394000f
Fix markdown outline for cases without a space after #
...
Fixes #138027
2021-12-06 15:58:11 -08:00
Matt Bierner
5d60bcd241
Fix null type error
2021-10-12 17:02:06 -07:00
Matt Bierner
af39918361
Organize imports in md ext
2021-08-03 13:22:46 -07:00
Matt Bierner
dd124a5cae
Cleaning up code
...
- Use more explicit names
- extract
- Use `??`
2020-10-16 17:18:44 -07:00
Konstantin Solomatov
5db460d2fe
Fix activation of linters on unopened files caused by markdown plugin ( #80506 )
...
* Fix bug causing a large number of linters to be activated due to the markdown extension opening TextDocuments during indexing
* indentation problem
* code review by @OmarTawfik
* revert changed file
* Code review: use nodejs' Buffer
* fix ineffcient code
code review comments
* introduce SkinnyTextLine
* refactor redundant code
* revert changed files
* formatting
* remove empty line
2019-09-11 11:39:08 -07:00
Matt Bierner
e325cce9bc
Fixing markdown unit tests
2019-01-09 18:15:34 -08:00
Matt Bierner
7086fb76ec
Take document as parameter instead document components
2019-01-02 11:56:39 -08:00
Matt Bierner
7d95e3e5f9
Support markdown link navigation when duplicate slugs exist
...
Fixes #59711
For a md document:
```md
# a
# a
- [a](#a)
- [next a](#a-1)
```
You can now click on the second link in the editor to navigate to the second `a` header. It is identified by being suffixed with `-1`.
2018-10-08 15:51:29 -07:00
Matt Bierner
49edd3d038
markdown toc should include full span to next header
...
The folding range should exclude blank lines before the next header level
2018-08-24 12:01:25 +02:00
Matt Bierner
2c43eaebec
Fix markdown document symbols not having full range of section
2018-08-24 11:01:23 +02:00
Matt Bierner
7b69194f91
Introduce the concept of a SkinnyTextDocument that provides minimal interface to generate toc
2018-06-04 11:50:04 -07:00
Matt Bierner
281f242cff
Don't strip special characters in slugify
...
Fixes #48482
2018-05-25 11:57:01 -07:00
Matt Bierner
176a27a53b
Start encapsulating slugifier
2018-05-24 08:05:52 -07:00
Matt Bierner
b641742452
Targeted fix for markdown special character links in #37079
...
Fixes #37079
2018-04-06 16:06:45 -07:00
Matt Bierner
468dc867cd
Rename markdown to markdown-language-features
2018-03-19 21:08:39 -07:00