You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(We have an HTML box enclosing the user's title and text)
5
-
#+end_box
2
+
It can be useful to draw attention to some important text by
3
+
enclosing it in a [[doc:org-block/box][box]].
6
4
5
+
#+begin_box Uses of callout boxes
6
+
Such boxes often callout tips, warnings, cautionary info or
7
+
emphasises core information.
8
+
#+end_box
9
+
Unmaintained: "For the LaTeX backend, the following call is required."
7
10
expectations:
8
11
html: |-
12
+
<p>
13
+
It can be useful to draw attention to some important text by enclosing it in a
14
+
<abbr
15
+
class="tooltip"
16
+
title="Enclose text in a box, possibly with a title.<br><br>By default, the box’s COLOR is green for HTML and red for LaTeX,<br>and it has no TITLE.<br><br>SHADOW is an alternate style of boxing: It shows the contents in a centred<br>box with a shadow colour being the given non-nil value of SHADOW.<br>If SHADOW is a hexidecimal colour, it should be a string enclosed in double quotes.<br>More accurately, the following are all valid uses:<br><br>  #+begin_box title :shadow t<br>  #+begin_box title :shadow inset<br><br>  #+begin_box title :shadow ''pink''<br>  #+begin_box title :shadow pink<br><br>  #+begin_box title :shadow (cyan pink orange yellow)<br>  #+begin_box title :shadow (cyan ''inset pink'' orange)<br>  #+begin_box title :shadow (:left cyan :right pink :deep-right orange :deep-left yellow)<br><br>Notice that prefixing colours with ‘inset’ causes the colour to be within the box,<br>rather than spread, with blur, around the box. The use of ‘inset’ swaps left and right.<br><br>The HTML export uses a padded div, whereas the LaTeX export<br>requires the tcolorbox package.<br><br>In the future, I will likely expose more arguments.<br><br>(fn BACKEND RAW-CONTENTS &rest _)"
17
+
>box</abbr
18
+
>.
19
+
</p>
20
+
9
21
<div
10
22
style="
11
23
padding: 1em;
@@ -14,15 +26,13 @@ expectations:
14
26
font-size: 0.9em;
15
27
"
16
28
>
17
-
<h3>Pay Attention!</h3>
29
+
<h3>Uses of callout boxes</h3>
18
30
<p>
19
-
This is the key insight… (We have an HTML box enclosing the user's
20
-
title and text)
31
+
Such boxes often callout tips, warnings, cautionary info or emphasises core
0 commit comments