From e0485409fca79af0b47af15ebdba7a3df5c1d3d2 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Wed, 12 Oct 2022 10:44:33 +0200 Subject: Refactor to improve some module docs --- src/construct/html_flow.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/construct/html_flow.rs') 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 -//!
This is a div but *this* is not emphasis.
+//!
This is code but this is not *emphasis*.
//! //!
//! -//! This is a paragraph in a `div` and *this* is emphasis. +//! This is a paragraph in a `div` and with `code` and *emphasis*. //! //!
//! ``` -- cgit