2

Backslashes don't seem to work (at least on my computer, ubuntu)

  • Normal text

    ¯_(ツ)_/¯ (backslash visible in text box, but not rendered)

    text

  • Between backticks

    ¯\_(ツ)_/¯ (backslash renders as Yen sign, while typing I can see the backslash until the font loads)

    backticks

  • Code block <code> backslash here </code>

    ¯_(ツ)_/¯ (code blocks behave like text, that is no backslash)

    code

5
  • 3
    This issue mostly doesn't have to do with the Furigana engine, I think the double backslash escape thing being needed is because of how the markdown engine on SE sites is implemented
    – cypher
    Commented Mar 20, 2015 at 23:31
  • 3
    When you add the character in pre or code tags, the Furigana engine does detect it as being Japanese and displays the whole tag in a Japanese monospaced font. Many Japanese fonts+Japanese-localized computers display backslashes as yen symbols, this is a historical thing related to Japanese encodings: en.wikipedia.org/wiki/Backslash#Usage
    – cypher
    Commented Mar 20, 2015 at 23:33
  • @cypher Are you saying we should keep the backslash as yen symbol?
    – Earthliŋ Mod
    Commented Mar 21, 2015 at 10:55
  • The alternative is to not use Japanese monospaced fonts for pre or code tags, but that has the disadvantage of breaking the fixes at meta.japanese.stackexchange.com/questions/1023 and making preformatted tables no longer line up, so on balance I'd say we should unless there's another way of working around this
    – cypher
    Commented Mar 21, 2015 at 11:44
  • We could stop using Japanese monospaced fonts for code but not pre tags as well I suppose, but even then I seem to recall that it can't be guaranteed some Windows computers which have their locale set to Japanese won't display backslashes as Yen symbols (correct me if I'm wrong)
    – cypher
    Commented Mar 21, 2015 at 12:07

1 Answer 1

3

Try "¯\\_(ツ)_/¯", escaping the backslash with another backslash. A single backslash here just escapes the _ underscore, which can be used in place of the * asterisk for emphasis.

¯\_(ツ)_/¯

The rendering inside backticks, <pre> or <code> blocks converts backslashes to yen symbols for me too (when using double-backslash for escaping).

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .