question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Extension does not interpret smart punctation in preview

See original GitHub issue

The preview does not interpret the “smart” typographic signs that are common in markdown: — → — – → – “a” → “a” ‘b’ → ‘b’

(Don’t know if this is a bug or a feature request)

How can I reproduce it?

Take the preview of a markdown file containing:

"aaa" -- 'bbb' --- ccc

Is there any error message in the console?

No

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
Lemminghcommented, Oct 28, 2020

Duplicate of #823, I guess.

The typographer of markdown-it seems to turn on all these conversions, while the plugin markdown-it-replacements implements them with fine-grained control.

We might have to rely on https://github.com/microsoft/vscode/issues/107328

0reactions
crystalfpcommented, Mar 22, 2021

Yes, already covered in #823 Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Replace text and punctuation in documents on Mac
Tip: To apply smart quotes and dashes to existing text, select the text, choose Edit > Substitutions > Show Substitutions, make sure the...
Read more >
Quotes problem in Mavericks (or TextEdit) - Ask Different
Under System Preferences > Keyboard, you can change the quotation marks. Go to the 'Text' sub-menu. On the right-hand side of the box,...
Read more >
Screen Readers: A Guide to Punctuation and Typographic ...
Symbol The character by itself In Context tilde ~ https:// www.website.com/ ~user backtick mark ? &id=?1? exclamation mark ! This is exciting! This is exciting.
Read more >
Markdown editing with Visual Studio Code
Extending the Markdown preview. Extensions can contribute custom styles and scripts to the Markdown preview to change its appearance and add new functionality....
Read more >
Switch quickly between Word's smart quotes and straight quotes
In just a few seconds you can optimize a document for the Web, or for readability in print or onscreen. Suppose you want...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found