From b3476af5f0388863037301894e6785f8b3831843 Mon Sep 17 00:00:00 2001 From: epriestley Date: Mon, 5 May 2014 10:55:44 -0700 Subject: [PATCH] Add support and very basic styling for quotes in Phabricator Summary: Ref T4119. Adds the block rule and makes a faint effort at CSS. Test Plan: See D8953 for a screenshot. Reviewers: chad, btrahan Reviewed By: btrahan Subscribers: epriestley Maniphest Tasks: T4119 Differential Revision: https://secure.phabricator.com/D8955 --- src/infrastructure/markup/PhabricatorMarkupEngine.php | 1 + webroot/rsrc/css/core/remarkup.css | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/src/infrastructure/markup/PhabricatorMarkupEngine.php b/src/infrastructure/markup/PhabricatorMarkupEngine.php index 87555f1d64..64f3a03924 100644 --- a/src/infrastructure/markup/PhabricatorMarkupEngine.php +++ b/src/infrastructure/markup/PhabricatorMarkupEngine.php @@ -470,6 +470,7 @@ final class PhabricatorMarkupEngine { $blocks = array(); $blocks[] = new PhutilRemarkupEngineRemarkupQuotesBlockRule(); + $blocks[] = new PhutilRemarkupEngineRemarkupReplyBlockRule(); $blocks[] = new PhutilRemarkupEngineRemarkupLiteralBlockRule(); $blocks[] = new PhutilRemarkupEngineRemarkupHeaderBlockRule(); $blocks[] = new PhutilRemarkupEngineRemarkupHorizontalRuleBlockRule(); diff --git a/webroot/rsrc/css/core/remarkup.css b/webroot/rsrc/css/core/remarkup.css index f8b3209f9c..7a4c439ea8 100644 --- a/webroot/rsrc/css/core/remarkup.css +++ b/webroot/rsrc/css/core/remarkup.css @@ -163,6 +163,10 @@ font-style: normal; } +.phabricator-remarkup blockquote div.remarkup-reply-head { + font-weight: bold; +} + .phabricator-remarkup img.remarkup-proxy-image { max-width: 640px; max-height: 640px;