From a23cff0886f284f33622bce2bddf42b30d006438 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Tue, 21 Jun 2022 18:21:56 +0200 Subject: Add docs on virtual space --- src/constant.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/constant.rs b/src/constant.rs index 6ba1638..90e66d4 100644 --- a/src/constant.rs +++ b/src/constant.rs @@ -211,10 +211,11 @@ pub const SAFE_PROTOCOL_SRC: [&str; 2] = ["http", "https"]; /// constructs in markdown, most notable the whitespace required to form /// [code (indented)][code_indented]. /// -/// -/// +/// > 👉 **Note**: each [`Code::VirtualSpace`][vs] and `Code::Char('\t' | ' ')` +/// > counts. /// /// [code_indented]: crate::construct::code_indented +/// [vs]: crate::tokenizer::Code::VirtualSpace pub const TAB_SIZE: usize = 4; /// The number of markers needed for a [thematic break][thematic_break] to form. -- cgit