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
F14818565: D9379.diff
Tue, Jan 28, 3:02 AM
Unknown Object (File)
Sat, Jan 25, 7:55 AM
Unknown Object (File)
Fri, Jan 24, 8:47 AM
Unknown Object (File)
Tue, Jan 21, 3:00 PM
Unknown Object (File)
Tue, Jan 21, 11:36 AM
Unknown Object (File)
Thu, Jan 16, 10:55 PM
Unknown Object (File)
Dec 27 2024, 7:16 PM
Unknown Object (File)
Dec 5 2024, 2:05 AM
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
Branch
code_block_triple_tick
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 853
Build 853: [Placeholder Plan] Wait for 30 Seconds

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).