1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-25 15:00:58 +01:00

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
This commit is contained in:
epriestley 2014-05-05 10:55:44 -07:00
parent 58f66fea80
commit b3476af5f0
2 changed files with 5 additions and 0 deletions

View file

@ -470,6 +470,7 @@ final class PhabricatorMarkupEngine {
$blocks = array(); $blocks = array();
$blocks[] = new PhutilRemarkupEngineRemarkupQuotesBlockRule(); $blocks[] = new PhutilRemarkupEngineRemarkupQuotesBlockRule();
$blocks[] = new PhutilRemarkupEngineRemarkupReplyBlockRule();
$blocks[] = new PhutilRemarkupEngineRemarkupLiteralBlockRule(); $blocks[] = new PhutilRemarkupEngineRemarkupLiteralBlockRule();
$blocks[] = new PhutilRemarkupEngineRemarkupHeaderBlockRule(); $blocks[] = new PhutilRemarkupEngineRemarkupHeaderBlockRule();
$blocks[] = new PhutilRemarkupEngineRemarkupHorizontalRuleBlockRule(); $blocks[] = new PhutilRemarkupEngineRemarkupHorizontalRuleBlockRule();

View file

@ -163,6 +163,10 @@
font-style: normal; font-style: normal;
} }
.phabricator-remarkup blockquote div.remarkup-reply-head {
font-weight: bold;
}
.phabricator-remarkup img.remarkup-proxy-image { .phabricator-remarkup img.remarkup-proxy-image {
max-width: 640px; max-width: 640px;
max-height: 640px; max-height: 640px;