Commit Graph

10 Commits

Author SHA1 Message Date
Matt Bierner
b9c18c3652 Align markdown preview slugifier with markdown LS's slugifier
For #280520
2025-12-10 11:44:05 -08:00
Matt Bierner
a10bdfb49b Allow underscores in rendered md headers (#161149)
Follow up from https://github.com/microsoft/vscode-markdown-languageservice/pull/49
2022-09-16 20:52:50 -04:00
Matt Bierner
5485b8e215 Include " and '/' as puctuators for slugify (#149404)
We already include `'` and `/` makes sense to treat as a puctuator too for titles such as `# do A / B`
2022-05-12 15:56:25 -07:00
Alex Dima
a704a69394 Enforce that source code uses a small subset of Unicode 2021-11-03 23:34:41 +01:00
alexet
0798d13f10 Remove duplicate character from regex class 2019-01-16 17:56:17 +00:00
tsangint
c90755b665 Fix typo (#57192) 2018-09-05 08:36:16 -07:00
HUA Yang
9038bc7b45 fix #53590 (#54257) 2018-07-18 16:22:29 -07:00
Matt Bierner
558c694d47 Use blacklist for puctuators
Currently we can't use `/\p{L}/u` which would let use use a whitelist instead

Fixes #37079
2018-05-25 11:57:01 -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