From 56d5a11049745e27c2fc0afd0d70f06cf4ae6da0 Mon Sep 17 00:00:00 2001
From: Sam Whited
Date: Fri, 10 Nov 2017 18:54:54 -0600
Subject: [PATCH] styling: more cleanup and feedback addressed
---
inbox/styling.xml | 89 ++++++++++++++++++++++++-----------------------
1 file changed, 45 insertions(+), 44 deletions(-)
diff --git a/inbox/styling.xml b/inbox/styling.xml
index 178bd9ff..3cf19222 100644
--- a/inbox/styling.xml
+++ b/inbox/styling.xml
@@ -137,23 +137,26 @@
A block is any chunk of text that can be parsed unambiguously in one pass.
- - A single line of text containing only inline spans
- - A block quotation comprising one or more lines
+ - A single line of text comprising one or more spans
+ - A block quotation
- A preformatted code block
- A span are groups of text that do not result in a line break when rendered
- (they are rendered inline) and where the entire group is rendered in the
- same manner and in the same block.
+ A span is a group of text that is rendered inline and where the entire
+ group is rendered in the same manner.
Spans may be either plain text with no formatting applied, or may be
formatted text that is enclosed by two styling directives.
- The following are all single spans:
+ Spans may not escape from their containing block.
+ The following all contain spans marked by parenthesis:
- - plain span
- - *emphasized span*
+ - (plain span)
+ - (*strong span*)
+ - (_emphasized span_)
+ - (_emphasized span containing (*strong span*)_)
+ - (span one )(*span two*)
Matches of spans between two styling directives MUST contain some text
@@ -170,44 +173,44 @@
styling directives.
- For example, each of the following would be emphasized as indicated:
+ For example, each of the following would be styled as indicated:
- - *emphasized*
- - foo *emphasized* bar
- - *emphasized* foo *emphasized*
- - *emphasized*foo*
- - * foo *emphasized*
- - *emphasized *foo*
+ - *strong*
+ - plain *strong* plain
+ - *strong* plain *strong*
+ - *strong*plain*
+ - * plain *strong*
- Nothing would be styled in the following messages (where \n represents a
+ Nothing would be styled in the following messages (where "\n" represents a
new line):
- - not emphasized*
- - *not emphasized
- - *not \n emphasized*
- - *foo *bar
+ - not strong*
+ - *not strong
+ - *not \n strong*
+ - *not *strong
- **
- ****
-
+
- Text enclosed by '*' (U+002A ASTERISK) SHOULD be displayed with a greater
- weight than the surrounding text (bold face).
+ Text enclosed by '*' (U+002A ASTERISK) is strong SHOULD be displayed as
+ bold.
-
- The full title is *Twelfth Night, or What You Will* but
+ The full title is "Twelfth Night, or What You Will" but
*most* people shorten it.