HomePhorge

Changed behavior of "code block" button to use triple tick syntax ("```")…

Description

Changed behavior of "code block" button to use triple tick syntax ("`") instead of whitespacing.

Summary:
This is important when dealing in situations where there's ambiguity between code and lists, like with Objective-C code:

  • (void) foobar {}

will get your a list instead of the desired code block

Test Plan: Tested locally

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D9379

Details

Provenance
Tal ShiriAuthored on Jun 4 2014, 3:39 PM
epriestleyCommitted on Jun 4 2014, 3:39 PM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP2c626f72a9ef: Fix unsubscribing from projects in a gross, hacky way
Branches
Unknown
Tags
Unknown

Event Timeline