diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-06-20 13:40:23 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-06-20 13:40:23 +0200 |
commit | 61271d73128f8553f8c4c17927828cde52a25eba (patch) | |
tree | 5b812e04f9f9311ae22209843db257f34fc90d8d /src/construct/heading_atx.rs | |
parent | 262aec96cece3e9dd55828397b8ec859e7cff606 (diff) | |
download | markdown-rs-61271d73128f8553f8c4c17927828cde52a25eba.tar.gz markdown-rs-61271d73128f8553f8c4c17927828cde52a25eba.tar.bz2 markdown-rs-61271d73128f8553f8c4c17927828cde52a25eba.zip |
Add paragraph
Diffstat (limited to '')
-rw-r--r-- | src/construct/heading_atx.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/construct/heading_atx.rs b/src/construct/heading_atx.rs index 3ff6fea..ab8b6a5 100644 --- a/src/construct/heading_atx.rs +++ b/src/construct/heading_atx.rs @@ -3,9 +3,9 @@ //! They’re formed with the following BNF: //! //! ```bnf -//! heading_atx ::= 1*6'#' [ 1*space_or_tab code [ 1*space_or_tab 1*'#' ] ] *space_or_tab +//! heading_atx ::= 1*6'#' [ 1*space_or_tab text [ 1*space_or_tab 1*'#' ] ] *space_or_tab //! -//! code ::= . ; any unicode code point (other than line endings). +//! text ::= code - eol //! space_or_tab ::= ' ' | '\t' //! ``` //! |