Internet-Draft | HTML RFC | December 2016 |
Hildebrand | Expires May 11, 2017 | [Page] |
This document defines the HTML format that will be rendered from the canonical XML format for an RFC. The HTML output will include a default CSS to enable page layout. ¶
Abstracts can have multiple <t>'s ¶
This note is to be removed before publishing as an RFC. ¶
Discussion of this draft takes place on the rfc-interest mailing list (rfc-interest@rfc-editor.org), which has its home page at https://www.rfc-editor.org/mailman/listinfo/rfc-interest. ¶
This note is to be removed before publishing as an RFC. ¶
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79. ¶
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at http://datatracker.ietf.org/drafts/current/. ¶
Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress." ¶
This Internet-Draft will expire on 2017-05-11. ¶
Copyright ©2016 IETF Trust and the persons identified as the document authors. All rights reserved. ¶
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License. ¶
Paragraph
Monospace Fonts
sub section paragraph
sub section paragraph ¶
sub section paragraph ¶
sub section paragraph ¶
moar paragraph ¶
Fourscore and sevenyears ago,
our
fathers brought forth on this continent, a new nation, conceived in Liberty, and dedicated to the proposition that all men are created equal. ¶Now we are engaged in a great civil war, testing whether that nation, or any nation so conceived and so dedicated, can long endure. We are met on a great battle-field of that war. We have come to dedicate a portion of that field, as a final resting place for those who here gave their lives that that nation might live. It is altogether fitting and proper that we SHOULD do this. ¶
— Abraham Lincoln
This is a shorter blockquote example ¶
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur? ¶
sub section paragraph 4 ¶
This paragraph has a uninteresting commentary
emIETF erefstrongsub'suptt
Section 2—Paul. ¶
top
A real section, with an anchor ¶
H1 | H2 |
---|---|
One is the loneliest number that you'll ever do |
Two can be as bad as one |
It's the loneliest number | since the number one. Remember to do that comment. |
three(p)
|
4 5 |
This one covers two whole columns. |
|
This one covers two whole rows. |
Another thing |
And another thing! |
Second paragraph ¶
<xref>
with text Some Text¶<relref>
with text Section 1 of [LANG-TAGS] ¶Multiple ¶
Paragraphs ¶
Section ¶
Figure ¶
Table ¶
Reference ¶
ReferenceGroup ¶
This should be centered: ¶
artwork does not ALWAYS have to be part of a figure. --0xEE cummings¶
some texting goes here¶
This should be pushed right: ¶
Just a step to the right¶
Artwork can also be outside a figure. Here are two. ¶
00000000 20 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 5f 20 | ______________ | 00000010 0a 3c 20 68 65 6c 6c 6f 2c 20 77 6f 72 6c 64 20 |.< hello, world | 00000020 3e 0a 20 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |>. -------------| 00000030 2d 20 0a 20 20 20 20 20 20 20 20 5c 20 20 20 5e |- . \ ^| 00000040 5f 5f 5e 0a 20 20 20 20 20 20 20 20 20 5c 20 20 |__^. \ | 00000050 28 6f 6f 29 5c 5f 5f 5f 5f 5f 5f 5f 0a 20 20 20 |(oo)\_______. | 00000060 20 20 20 20 20 20 20 20 20 28 5f 5f 29 5c 20 20 | (__)\ | 00000070 20 20 20 20 20 29 5c 2f 5c 0a 20 20 20 20 20 20 | )\/\. | 00000080 20 20 20 20 20 20 20 20 20 20 7c 7c 2d 2d 2d 2d | ||----| 00000090 77 20 7c 0a 20 20 20 20 20 20 20 20 20 20 20 20 |w |. | 000000a0 20 20 20 20 7c 7c 20 20 20 20 20 7c 7c 0a | || ||.| 000000ae¶
another
This is an example of a single ABNF file split across several inline blocks. It should be recoverable with xmllint --xpath '//sourcecode[@name="yang.abnf"]/text()' test.x.xml
. ¶
module-stmt = optsep module-keyword sep identifier-arg-str optsep "{" stmtsep module-header-stmts linkage-stmts meta-stmts revision-stmts body-stmts "}" optsep¶
Some text ¶
submodule-stmt = optsep submodule-keyword sep identifier-arg-str¶
Some text ¶
optsep "{" stmtsep submodule-header-stmts linkage-stmts meta-stmts revision-stmts body-stmts "}" optsep¶
Some text ¶
module-header-stmts = ;; these stmts can appear in any order [yang-version-stmt stmtsep] namespace-stmt stmtsep prefix-stmt stmtsep¶
Some text ¶
submodule-header-stmts = ;; these stmts can appear in any order [yang-version-stmt stmtsep] belongs-to-stmt stmtsep¶
Some text ¶
meta-stmts = ;; these stmts can appear in any order [organization-stmt stmtsep] [contact-stmt stmtsep] [description-stmt stmtsep] [reference-stmt stmtsep] "}"¶
Trying some Python code ¶
def foo():¶
print("hello, world!")¶
This is gibberish: aklsdjalskjd aslkdj asldkj aslkdja sldkjasdklajd alkdjasdlkj dalkjd lajks dlkasjdaskjd asdlkjasd lkjds¶
{ "name": "draft-hildebrand-html-rfc", "version": "1.0.0", "description": "Tools for building xml2rfcv3 docs", "main": "index.js", "directories": { "example": "examples" }, "dependencies": { "bluebird": "3.3", "express": "4.13", "jade": "1.11", "libxmljs": "0.18", "resolve": "1.1", "rfc-preptool": "latest", "romanize": "0.1", "through2": "2.0", "vinyl-fs": "2.4", "xmljade": "latest" }, "devDependencies": {}, "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "https://github.com/hildjj/draft-hildebrand-html-rfc.git" }, "author": "", "license": "BSD-2-Clause", "bugs": { "url": "https://github.com/hildjj/draft-hildebrand-html-rfc/issues" }, "homepage": "https://github.com/hildjj/draft-hildebrand-html-rfc" }¶
Some docs might talk about svg, and need examples thereof: ¶
<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"> <circle cx="50" cy="50" r="40" stroke="black" fill="white" stroke-width="4"/> </svg>¶
None ¶
This is where you would put an appendix ¶
Have parts, too ¶
And more parts ¶
This one is just as useless, but started with a title attribute ¶