#🔒 Usage of " `<text>' " quotation style

19 messages · Page 1 of 1 (latest)

somber harness
#

I have seen this style in numerous places (occasionally within Python docstrings, documentation of other languages, and even in GRUB). Does anybody know why this style of starting with a back tick and ending with a single quote is sometimes used?

placid monolithBOT
#

@somber harness

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

unique ember
#

because Markdown is popular

#

also right here on Discord it lets you display text in fixed-width font

rich kindle
somber harness
#

@unique ember @rich kindle Sorry, I found the reason but I forgot to close the issue. For those of you wondering, this typographic quotation style:

`hello'

which is commonly used in man pages, is just a common way to represent curly/book quotes in ASCII.

rich kindle
#

oh that, okay

unique ember
#

bleah

#

I wouldn't call that "common"

#

in fact I'm not sure I've ever seen it.

somber harness
#

I mean, it's everywhere in man pages and it's used for double quotes in latex

unique ember
#

Beats the hell out of "smart quotes" though 🙂

#

ah, I don't use LaTeX and I've never noticed it in man pages

somber harness
#

Ah

unique ember
#

see the section `Compatibility' below.

#

who knew

somber harness
#

!close

placid monolithBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.