Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15437870
D8932.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
D8932.id.diff
View Options
diff --git a/resources/celerity/map.php b/resources/celerity/map.php
--- a/resources/celerity/map.php
+++ b/resources/celerity/map.php
@@ -7,7 +7,7 @@
return array(
'names' =>
array(
- 'core.pkg.css' => 'cd6367eb',
+ 'core.pkg.css' => '94fe8187',
'core.pkg.js' => '417722ff',
'darkconsole.pkg.js' => 'ca8671ce',
'differential.pkg.css' => '8a064eb7',
@@ -106,7 +106,7 @@
'rsrc/css/application/tokens/tokens.css' => '5f7bca25',
'rsrc/css/application/uiexample/example.css' => '528b19de',
'rsrc/css/core/core.css' => '7dff07c3',
- 'rsrc/css/core/remarkup.css' => '98a7627b',
+ 'rsrc/css/core/remarkup.css' => '0ec9ea61',
'rsrc/css/core/syntax.css' => '3c18c1cb',
'rsrc/css/core/z-index.css' => '7e4989ed',
'rsrc/css/diviner/diviner-shared.css' => '38813222',
@@ -713,7 +713,7 @@
'phabricator-prefab' => '0326e5d0',
'phabricator-profile-css' => '33e6f703',
'phabricator-project-tag-css' => '095c9404',
- 'phabricator-remarkup-css' => '98a7627b',
+ 'phabricator-remarkup-css' => '0ec9ea61',
'phabricator-search-results-css' => 'f240504c',
'phabricator-settings-css' => 'ea8f5915',
'phabricator-shaped-request' => 'dfa181a4',
diff --git a/src/docs/user/userguide/remarkup.diviner b/src/docs/user/userguide/remarkup.diviner
--- a/src/docs/user/userguide/remarkup.diviner
+++ b/src/docs/user/userguide/remarkup.diviner
@@ -158,6 +158,19 @@
-- Branch
--- Twig
+You can add checkboxes to items by prefacing them with `[ ]` or `[X]`, like
+this:
+
+```
+ - [X] Preheat oven to 450 degrees.
+ - [ ] Zest 35 lemons.
+```
+
+When rendered, this produces:
+
+ - [X] Preheat oven to 450 degrees.
+ - [ ] Zest 35 lemons.
+
Make **code blocks** by indenting two spaces:
f(x, y);
diff --git a/webroot/rsrc/css/core/remarkup.css b/webroot/rsrc/css/core/remarkup.css
--- a/webroot/rsrc/css/core/remarkup.css
+++ b/webroot/rsrc/css/core/remarkup.css
@@ -71,6 +71,19 @@
margin: 12px 0 12px 30px;
}
+.phabricator-remarkup .remarkup-list-with-checkmarks {
+ list-style: none;
+ margin-left: 18px;
+}
+
+.phabricator-remarkup .remarkup-list-with-checkmarks input {
+ margin-right: 2px;
+}
+
+.phabricator-remarkup .remarkup-list-with-checkmarks .remarkup-checked-item {
+ color: {$greytext};
+}
+
.phabricator-remarkup ul ol,
.phabricator-remarkup ul ul,
.phabricator-remarkup ol ol,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 26, 9:54 PM (3 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7383784
Default Alt Text
D8932.id.diff (2 KB)
Attached To
Mode
D8932: Add CSS and docs for remarkup checkbox list styles
Attached
Detach File
Event Timeline
Log In to Comment