Skip to content

Commit 1fce917

Browse files
committed
Encapsulate binary
1 parent 843e501 commit 1fce917

File tree

1 file changed

+3
-17
lines changed

1 file changed

+3
-17
lines changed

registries/_format/sf-binary.md

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,7 @@ base_type: string
88
layout: default
99
---
1010

11-
# <a href="..">{{ page.collection }}</a>
12-
13-
## {{ page.slug }} - {{ page.description }}
14-
15-
Base type: `{{ page.base_type }}`.
16-
11+
{% capture summary %}
1712
The `{{page.slug}}` format represents a structured fields byte sequence as defined in [RFC8941].
1813

1914
```abnf
@@ -24,18 +19,9 @@ base64 = ALPHA / DIGIT / "+" / "/" / "="
2419
A Byte Sequence is delimited with colons and encoded using base64 ([RFC4648], Section 4).
2520

2621
This format is appropriate for a header value that must conform to the {{page.slug}} structured field definition.
22+
{% endcapture %}
2723

28-
{% if page.issue %}
29-
### GitHub Issue
30-
31-
* [#{{ page.issue }}](https://github.com/OAI/OpenAPI-Specification/issues/{{ page.issue }})
32-
{% endif %}
33-
34-
{% if page.remarks %}
35-
### Remarks
36-
37-
{{ page.remarks }}
38-
{% endif %}
24+
{% include format-entry.md summary=summary %}
3925

4026
[RFC8941]: https://www.rfc-editor.org/rfc/rfc8941#name-byte-sequences
4127
[RFC4648]: https://www.rfc-editor.org/rfc/rfc4648#section-4

0 commit comments

Comments
 (0)