diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-10-12 10:44:33 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-10-12 10:44:33 +0200 |
commit | e0485409fca79af0b47af15ebdba7a3df5c1d3d2 (patch) | |
tree | 1bc44cf3c11df4e99f555e4efe64facfe786c4c0 /src/construct/html_flow.rs | |
parent | 4d6bd4779c082fef900b760e014959a30b16051b (diff) | |
download | markdown-rs-e0485409fca79af0b47af15ebdba7a3df5c1d3d2.tar.gz markdown-rs-e0485409fca79af0b47af15ebdba7a3df5c1d3d2.tar.bz2 markdown-rs-e0485409fca79af0b47af15ebdba7a3df5c1d3d2.zip |
Refactor to improve some module docs
Diffstat (limited to '')
-rw-r--r-- | src/construct/html_flow.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/construct/html_flow.rs b/src/construct/html_flow.rs index 3f6e19a..3de70de 100644 --- a/src/construct/html_flow.rs +++ b/src/construct/html_flow.rs @@ -30,7 +30,7 @@ //! As this construct occurs in flow, like all flow constructs, it must be //! followed by an eol (line ending) or eof (end of file). //! -//! The grammar for HTML in markdown does not resemble the rules of parsing +//! The grammar for HTML in markdown does not follow the rules of parsing //! HTML according to the [*§ 13.2 Parsing HTML documents* in the HTML //! spec][html_parsing]. //! As such, HTML in markdown *resembles* HTML, but is instead a (naïve?) @@ -52,11 +52,11 @@ //! For example: //! //! ```markdown -//! <div>This is a <code>div</code> but *this* is not emphasis.</div> +//! <div>This is <code>code</code> but this is not *emphasis*.</div> //! //! <div> //! -//! This is a paragraph in a `div` and *this* is emphasis. +//! This is a paragraph in a `div` and with `code` and *emphasis*. //! //! </div> //! ``` |