From 4c06c8554c35887f8f5147783953b2b7e7c2327f Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Wed, 8 Jun 2022 15:52:16 +0200 Subject: . --- src/content/flow.rs | 258 ++++++++++++++++++++++++++++++++++++++++++++++++++ src/content/mod.rs | 4 + src/content/string.rs | 120 +++++++++++++++++++++++ 3 files changed, 382 insertions(+) create mode 100644 src/content/flow.rs create mode 100644 src/content/mod.rs create mode 100644 src/content/string.rs (limited to 'src/content') diff --git a/src/content/flow.rs b/src/content/flow.rs new file mode 100644 index 0000000..21c5721 --- /dev/null +++ b/src/content/flow.rs @@ -0,0 +1,258 @@ +//! The flow content type. +//! +//! **Flow** represents the sections, such as headings, code, and content, which +//! is parsed per line. +//! An example is HTML, which has a certain starting condition (such as +//! `