Vscode-markdown: Request support for Typographer mode

Created on 23 Sep 2020  ยท  4Comments  ยท  Source: yzhang-gh/vscode-markdown

Hi, huge thanks for sharing this extension as it makes any sort of long-form writing in VS Code a breeze!

This is a question more than anything, so do feel free to let me know if this is in the wrong place and I'd be happy to move it elsewhere.

Summary

Would it be possible to support "typographer" mode in order to replace certain symbols for more aesthetic variants?

Steps

As a live comparison, head to the markdown-it demo page and un/tick the typographer checkbox to view the difference. I've listed some of the most common examples below:

|Name|Markdown|Typographer|
|:--|:-:|:-:|
|Left single quote|'|โ€˜|
|Left double quote|"|โ€œ|
|Right single quote|'|โ€™|
|Right double quote|"|โ€|
|Ellipsis|...|โ€ฆ|
|En-dash|--|โ€“|
|Em-dash|---|โ€”|
|Copyright|(c)|ยฉ|
|Trademark|(tm)|โ„ข|

It'd be ideal to add a config setting such that Typographer replacements are done on-the-fly.

Thank you for your time.

Needs TagFix Upstream

Most helpful comment

Thanks. Upvoted ๐Ÿ‘

All 4 comments

Thanks for the feedback.

You are right that markdown-it provides an option typographer. I think it would be more appropriate to ask VSCode team to add this option. (VSCode already offers options like breaks and linkify.)

Fair enough, thanks for pointing me in the right direction. Will log a request there with link back for additional context.

Thanks once again for your response.

Hey @yzhang-gh (and heads-up for anyone else interested), I've raised this request: https://github.com/microsoft/vscode/issues/107328.

Would like to encourage everyone who'd like this feature to ๐Ÿ‘ on that thread, so that the VS Code team add it to their backlog.

Thank you!

Thanks. Upvoted ๐Ÿ‘

Was this page helpful?
0 / 5 - 0 ratings

Related issues

FrancesCoronel picture FrancesCoronel  ยท  4Comments

PierreMarchand20 picture PierreMarchand20  ยท  3Comments

MisterY picture MisterY  ยท  3Comments

akshaybabloo picture akshaybabloo  ยท  3Comments

asbjornu picture asbjornu  ยท  5Comments