Rename HTML interface to Html · syntax-tree/mdast@97f053f (original) (raw)

Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@ The latest released version is [`4.0.0`][latest].
29 29 * [`Definition`](#definition)
30 30 * [`Emphasis`](#emphasis)
31 31 * [`Heading`](#heading)
32 -* [`HTML`](#html)
32 +* [`Html`](#html)
33 33 * [`Image`](#image)
34 34 * [`ImageReference`](#imagereference)
35 35 * [`InlineCode`](#inlinecode)
@@ -377,21 +377,21 @@ Yields:
377 377 }
378 378 ```
379 379
380 -### `HTML`
380 +### `Html`
381 381
382 382 ```idl
383 -interface HTML <: Literal {
383 +interface Html <: Literal {
384 384 type: 'html'
385 385 }
386 386 ```
387 387
388 -**HTML** ([**Literal**][dfn-literal]) represents a fragment of raw [HTML][].
388 +**Html** ([**Literal**][dfn-literal]) represents a fragment of raw [HTML][].
389 389
390 -**HTML** can be used where [**flow**][dfn-flow-content] or
390 +**Html** can be used where [**flow**][dfn-flow-content] or
391 391 [**phrasing**][dfn-phrasing-content] content is expected.
392 392 Its content is represented by its `value` field.
393 393
394 -HTML nodes do not have the restriction of being valid or complete HTML
394 +**Html** nodes do not have the restriction of being valid or complete HTML
395 395 ([\[HTML\]][html]) constructs.
396 396
397 397 For example, the following markdown:
@@ -946,7 +946,7 @@ type Content = Definition | Paragraph
946 946
947 947 ```idl
948 948 type FlowContent =
949 - Blockquote | Code Heading HTML List ThematicBreak Content
949 + Blockquote | Code Heading Html List ThematicBreak Content
950 950 ```
951 951
952 952 **Flow** content represent the sections of document.
@@ -962,7 +962,7 @@ type ListContent = ListItem
962 962 ### `PhrasingContent`
963 963
964 964 ```idl
965 -type PhrasingContent = Break | Emphasis HTML Image ImageReference
965 +type PhrasingContent = Break | Emphasis Html Image ImageReference
966 966 | InlineCode Link LinkReference Strong Text
967 967 ```
968 968