on-internet
← Community

How to stop reprex from outputting curly quotes, em dashes, and other smart typography?

Stack Overflow ·

When I write explanations with #' lines in a reprex, it changes the text to "smart" typography. Here is a small example: #' It's a "simple" example... with a range 1--10 and a pause --- like this. Which gives me: It’s a “simple” example… with a range 1–10 and a pause — like this. Created on 2026-11-19 with reprex v2.1.1 The straight apostrophe and quotes became curly ones, ... became …, -- became an en dash, --- became an em dash, etc. How can I prevent reprex from doing this?

Comments

Sign in or sign up to comment and upvote.

No comments yet.