aboutsummaryrefslogtreecommitdiffstats
path: root/src/construct/heading_atx.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-06-20 13:40:23 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-06-20 13:40:23 +0200
commit61271d73128f8553f8c4c17927828cde52a25eba (patch)
tree5b812e04f9f9311ae22209843db257f34fc90d8d /src/construct/heading_atx.rs
parent262aec96cece3e9dd55828397b8ec859e7cff606 (diff)
downloadmarkdown-rs-61271d73128f8553f8c4c17927828cde52a25eba.tar.gz
markdown-rs-61271d73128f8553f8c4c17927828cde52a25eba.tar.bz2
markdown-rs-61271d73128f8553f8c4c17927828cde52a25eba.zip
Add paragraph
Diffstat (limited to 'src/construct/heading_atx.rs')
-rw-r--r--src/construct/heading_atx.rs4
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'
//! ```
//!