File: menu.adoc

package info (click to toggle)
ruby-asciidoctor-pdf 2.3.19-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 15,972 kB
  • sloc: ruby: 44,316; sh: 133; java: 45; makefile: 4
file content (48 lines) | stat: -rw-r--r-- 957 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
= Menu Macro Category Keys
:description: Reference list of the available menu UI macro category keys and their value types.
:navtitle: Menu
:source-language: yaml

The keys in the `menu` category apply to the menu label generated from the inline menu macro.

TIP: The styles for the caret (`^`) can be controlled independently using the `<font>` tag.

[cols="3,4,5a"]
|===
|Key |Value Type |Example

|caret-content
|xref:quoted-string.adoc[Quoted string] +
(default: `" \u203a "`)
|[source]
menu:
  caret-content: ' > '

|font-color
|xref:color.adoc[Color] +
(default: _inherit_)
|[source]
menu:
  font-color: #AA0000

|font-family
|xref:font-support.adoc[Font family name] +
(default: _inherit_)
|[source]
menu:
  font-family: M+ 1mn

|font-size
|xref:text.adoc#font-size[Font size] +
(default: _inherit_)
|[source]
menu:
  font-size: 8

|font-style
|xref:text.adoc#font-style[Font style] +
(default: `bold`)
|[source]
menu:
  font-style: bold_italic
|===