mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 08:52:39 +01:00
Colorize monospaced links correctly in Remarkup
Summary: This feature isn't necessarily intentional, but might as well make it work better. Fixes T2201. Test Plan: Verified that ##[[link | `name`]]## renders in blue. Reviewers: chad, btrahan, vrana Reviewed By: chad CC: aran Maniphest Tasks: T2201 Differential Revision: https://secure.phabricator.com/D4217
This commit is contained in:
parent
7dff7bf049
commit
f6ed62afbc
2 changed files with 48 additions and 42 deletions
|
@ -2762,7 +2762,7 @@ celerity_register_resource_map(array(
|
||||||
),
|
),
|
||||||
'phabricator-remarkup-css' =>
|
'phabricator-remarkup-css' =>
|
||||||
array(
|
array(
|
||||||
'uri' => '/res/6764f5d9/rsrc/css/core/remarkup.css',
|
'uri' => '/res/f444d7c9/rsrc/css/core/remarkup.css',
|
||||||
'type' => 'css',
|
'type' => 'css',
|
||||||
'requires' =>
|
'requires' =>
|
||||||
array(
|
array(
|
||||||
|
@ -3201,7 +3201,7 @@ celerity_register_resource_map(array(
|
||||||
), array(
|
), array(
|
||||||
'packages' =>
|
'packages' =>
|
||||||
array(
|
array(
|
||||||
'97e38b14' =>
|
'736c46dd' =>
|
||||||
array(
|
array(
|
||||||
'name' => 'core.pkg.css',
|
'name' => 'core.pkg.css',
|
||||||
'symbols' =>
|
'symbols' =>
|
||||||
|
@ -3246,7 +3246,7 @@ celerity_register_resource_map(array(
|
||||||
37 => 'phabricator-object-item-list-view-css',
|
37 => 'phabricator-object-item-list-view-css',
|
||||||
38 => 'global-drag-and-drop-css',
|
38 => 'global-drag-and-drop-css',
|
||||||
),
|
),
|
||||||
'uri' => '/res/pkg/97e38b14/core.pkg.css',
|
'uri' => '/res/pkg/736c46dd/core.pkg.css',
|
||||||
'type' => 'css',
|
'type' => 'css',
|
||||||
),
|
),
|
||||||
'70c8162b' =>
|
'70c8162b' =>
|
||||||
|
@ -3435,20 +3435,20 @@ celerity_register_resource_map(array(
|
||||||
'reverse' =>
|
'reverse' =>
|
||||||
array(
|
array(
|
||||||
'aphront-attached-file-view-css' => '7839ae2d',
|
'aphront-attached-file-view-css' => '7839ae2d',
|
||||||
'aphront-crumbs-view-css' => '97e38b14',
|
'aphront-crumbs-view-css' => '736c46dd',
|
||||||
'aphront-dialog-view-css' => '97e38b14',
|
'aphront-dialog-view-css' => '736c46dd',
|
||||||
'aphront-error-view-css' => '97e38b14',
|
'aphront-error-view-css' => '736c46dd',
|
||||||
'aphront-form-view-css' => '97e38b14',
|
'aphront-form-view-css' => '736c46dd',
|
||||||
'aphront-headsup-action-list-view-css' => '380df740',
|
'aphront-headsup-action-list-view-css' => '380df740',
|
||||||
'aphront-headsup-view-css' => '97e38b14',
|
'aphront-headsup-view-css' => '736c46dd',
|
||||||
'aphront-list-filter-view-css' => '97e38b14',
|
'aphront-list-filter-view-css' => '736c46dd',
|
||||||
'aphront-pager-view-css' => '97e38b14',
|
'aphront-pager-view-css' => '736c46dd',
|
||||||
'aphront-panel-view-css' => '97e38b14',
|
'aphront-panel-view-css' => '736c46dd',
|
||||||
'aphront-side-nav-view-css' => '97e38b14',
|
'aphront-side-nav-view-css' => '736c46dd',
|
||||||
'aphront-table-view-css' => '97e38b14',
|
'aphront-table-view-css' => '736c46dd',
|
||||||
'aphront-tokenizer-control-css' => '97e38b14',
|
'aphront-tokenizer-control-css' => '736c46dd',
|
||||||
'aphront-tooltip-css' => '97e38b14',
|
'aphront-tooltip-css' => '736c46dd',
|
||||||
'aphront-typeahead-control-css' => '97e38b14',
|
'aphront-typeahead-control-css' => '736c46dd',
|
||||||
'differential-changeset-view-css' => '380df740',
|
'differential-changeset-view-css' => '380df740',
|
||||||
'differential-core-view-css' => '380df740',
|
'differential-core-view-css' => '380df740',
|
||||||
'differential-inline-comment-editor' => 'a8e8f2b7',
|
'differential-inline-comment-editor' => 'a8e8f2b7',
|
||||||
|
@ -3462,7 +3462,7 @@ celerity_register_resource_map(array(
|
||||||
'differential-table-of-contents-css' => '380df740',
|
'differential-table-of-contents-css' => '380df740',
|
||||||
'diffusion-commit-view-css' => 'c8ce2d88',
|
'diffusion-commit-view-css' => 'c8ce2d88',
|
||||||
'diffusion-icons-css' => 'c8ce2d88',
|
'diffusion-icons-css' => 'c8ce2d88',
|
||||||
'global-drag-and-drop-css' => '97e38b14',
|
'global-drag-and-drop-css' => '736c46dd',
|
||||||
'inline-comment-summary-css' => '380df740',
|
'inline-comment-summary-css' => '380df740',
|
||||||
'javelin-aphlict' => '70c8162b',
|
'javelin-aphlict' => '70c8162b',
|
||||||
'javelin-behavior' => 'db6d724d',
|
'javelin-behavior' => 'db6d724d',
|
||||||
|
@ -3531,48 +3531,48 @@ celerity_register_resource_map(array(
|
||||||
'javelin-util' => 'db6d724d',
|
'javelin-util' => 'db6d724d',
|
||||||
'javelin-vector' => 'db6d724d',
|
'javelin-vector' => 'db6d724d',
|
||||||
'javelin-workflow' => 'db6d724d',
|
'javelin-workflow' => 'db6d724d',
|
||||||
'lightbox-attachment-css' => '97e38b14',
|
'lightbox-attachment-css' => '736c46dd',
|
||||||
'maniphest-task-summary-css' => '7839ae2d',
|
'maniphest-task-summary-css' => '7839ae2d',
|
||||||
'maniphest-transaction-detail-css' => '7839ae2d',
|
'maniphest-transaction-detail-css' => '7839ae2d',
|
||||||
'phabricator-app-buttons-css' => '97e38b14',
|
'phabricator-app-buttons-css' => '736c46dd',
|
||||||
'phabricator-busy' => '70c8162b',
|
'phabricator-busy' => '70c8162b',
|
||||||
'phabricator-content-source-view-css' => '380df740',
|
'phabricator-content-source-view-css' => '380df740',
|
||||||
'phabricator-core-buttons-css' => '97e38b14',
|
'phabricator-core-buttons-css' => '736c46dd',
|
||||||
'phabricator-core-css' => '97e38b14',
|
'phabricator-core-css' => '736c46dd',
|
||||||
'phabricator-crumbs-view-css' => '97e38b14',
|
'phabricator-crumbs-view-css' => '736c46dd',
|
||||||
'phabricator-directory-css' => '97e38b14',
|
'phabricator-directory-css' => '736c46dd',
|
||||||
'phabricator-drag-and-drop-file-upload' => 'a8e8f2b7',
|
'phabricator-drag-and-drop-file-upload' => 'a8e8f2b7',
|
||||||
'phabricator-dropdown-menu' => '70c8162b',
|
'phabricator-dropdown-menu' => '70c8162b',
|
||||||
'phabricator-file-upload' => '70c8162b',
|
'phabricator-file-upload' => '70c8162b',
|
||||||
'phabricator-filetree-view-css' => '97e38b14',
|
'phabricator-filetree-view-css' => '736c46dd',
|
||||||
'phabricator-flag-css' => '97e38b14',
|
'phabricator-flag-css' => '736c46dd',
|
||||||
'phabricator-form-view-css' => '97e38b14',
|
'phabricator-form-view-css' => '736c46dd',
|
||||||
'phabricator-header-view-css' => '97e38b14',
|
'phabricator-header-view-css' => '736c46dd',
|
||||||
'phabricator-jump-nav' => '97e38b14',
|
'phabricator-jump-nav' => '736c46dd',
|
||||||
'phabricator-keyboard-shortcut' => '70c8162b',
|
'phabricator-keyboard-shortcut' => '70c8162b',
|
||||||
'phabricator-keyboard-shortcut-manager' => '70c8162b',
|
'phabricator-keyboard-shortcut-manager' => '70c8162b',
|
||||||
'phabricator-main-menu-view' => '97e38b14',
|
'phabricator-main-menu-view' => '736c46dd',
|
||||||
'phabricator-menu-item' => '70c8162b',
|
'phabricator-menu-item' => '70c8162b',
|
||||||
'phabricator-nav-view-css' => '97e38b14',
|
'phabricator-nav-view-css' => '736c46dd',
|
||||||
'phabricator-notification' => '70c8162b',
|
'phabricator-notification' => '70c8162b',
|
||||||
'phabricator-notification-css' => '97e38b14',
|
'phabricator-notification-css' => '736c46dd',
|
||||||
'phabricator-notification-menu-css' => '97e38b14',
|
'phabricator-notification-menu-css' => '736c46dd',
|
||||||
'phabricator-object-item-list-view-css' => '97e38b14',
|
'phabricator-object-item-list-view-css' => '736c46dd',
|
||||||
'phabricator-object-selector-css' => '380df740',
|
'phabricator-object-selector-css' => '380df740',
|
||||||
'phabricator-paste-file-upload' => '70c8162b',
|
'phabricator-paste-file-upload' => '70c8162b',
|
||||||
'phabricator-prefab' => '70c8162b',
|
'phabricator-prefab' => '70c8162b',
|
||||||
'phabricator-project-tag-css' => '7839ae2d',
|
'phabricator-project-tag-css' => '7839ae2d',
|
||||||
'phabricator-remarkup-css' => '97e38b14',
|
'phabricator-remarkup-css' => '736c46dd',
|
||||||
'phabricator-shaped-request' => 'a8e8f2b7',
|
'phabricator-shaped-request' => 'a8e8f2b7',
|
||||||
'phabricator-side-menu-view-css' => '97e38b14',
|
'phabricator-side-menu-view-css' => '736c46dd',
|
||||||
'phabricator-standard-page-view' => '97e38b14',
|
'phabricator-standard-page-view' => '736c46dd',
|
||||||
'phabricator-textareautils' => '70c8162b',
|
'phabricator-textareautils' => '70c8162b',
|
||||||
'phabricator-tooltip' => '70c8162b',
|
'phabricator-tooltip' => '70c8162b',
|
||||||
'phabricator-transaction-view-css' => '97e38b14',
|
'phabricator-transaction-view-css' => '736c46dd',
|
||||||
'sprite-apps-large-css' => '97e38b14',
|
'sprite-apps-large-css' => '736c46dd',
|
||||||
'sprite-gradient-css' => '97e38b14',
|
'sprite-gradient-css' => '736c46dd',
|
||||||
'sprite-icon-css' => '97e38b14',
|
'sprite-icon-css' => '736c46dd',
|
||||||
'sprite-menu-css' => '97e38b14',
|
'sprite-menu-css' => '736c46dd',
|
||||||
'syntax-highlighting-css' => '97e38b14',
|
'syntax-highlighting-css' => '736c46dd',
|
||||||
),
|
),
|
||||||
));
|
));
|
||||||
|
|
|
@ -49,6 +49,12 @@
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* NOTE: You can currently produce this with [[link | `name`]]. Restore the
|
||||||
|
link color. */
|
||||||
|
.phabricator-remarkup a tt {
|
||||||
|
color: #18559d;
|
||||||
|
}
|
||||||
|
|
||||||
.phabricator-remarkup ul {
|
.phabricator-remarkup ul {
|
||||||
list-style: disc;
|
list-style: disc;
|
||||||
margin: 1em 0 1em 3em;
|
margin: 1em 0 1em 3em;
|
||||||
|
|
Loading…
Reference in a new issue