Page MenuHomePhabricator

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

Authored by talshiri on Jun 4 2014, 10:38 PM.
Tags
None
Referenced Files
F19018745: D9379.id.diff
Sun, Nov 23, 12:22 PM
F19013652: D9379.diff
Sat, Nov 22, 4:36 PM
F18890621: D9379.id.diff
Fri, Nov 7, 9:47 AM
F18856726: D9379.diff
Sat, Nov 1, 11:17 AM
F18813560: D9379.id22352.diff
Oct 20 2025, 5:24 PM
F18791757: D9379.id22353.diff
Oct 16 2025, 5:43 PM
F18472749: D9379.id22352.diff
Sep 2 2025, 8:49 PM
F17793938: D9379.diff
Jul 24 2025, 11:13 PM
Subscribers

Details

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

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

talshiri retitled this revision from to Changed behavior of "code block" button to use triple tick syntax ("```") instead of whitespacing..
talshiri updated this object.
talshiri edited the test plan for this revision. (Show Details)
talshiri added a reviewer: epriestley.
epriestley edited edge metadata.

Yeah, this is confusing for other reasons too, I've been meaning to do this for a while. Thanks!

This revision is now accepted and ready to land.Jun 4 2014, 10:39 PM
epriestley updated this revision to Diff 22353.

Closed by commit rPb6748034f030 (authored by @talshiri, committed by @epriestley).