forked from fastn-stack/ftd.dev
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinteger.ftd
65 lines (36 loc) · 766 Bytes
/
integer.ftd
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
-- ft.page-with-toc: Integer
toc: $config.api-toc
sub-sections: $config.doc-header
-- ft.markdown:
Renders an integer value.
-- ft.code:
lang: ftd
\-- ftd.integer:
value: 10
-- ft.markdown:
Integer accepts the below attributes along with the
[common attributes](common/).
-- ft.h1: `value`
This is the value to show. It is a required field.
-- ft.h1: `format`
This is a format string.
-- ft.code:
lang: ftd
\-- ftd.integer:
value: 48879
format: #X
-- ft.markdown:
Is shown as (hex):
-- ftd.integer:
value: 48879
format: #X
-- ft.markdown:
You can find documentation of formatting strings
[here](https://docs.rs/format_num/0.1.0/format_num/).
-- ft.h3: Attributes
- `align`
- `style`
- `size`
- `external_font`
- `font`
- `line_height`