The most essential construct

basic

Use basic phrasing for paragraphs, list elements, headings, and other single-line constructs. Any structure that ends with the <ENTER> key is a basic phrase.

Syntax

Basic phrasing is a line of text in a manuscript. It includes everything from the beginning of the line to the end of the line, except the leading whitespace and trailing whitespace, which are ignored.

Basic phrasing is one of the three essential syntactic forms used in the BLUE-PHRASE language. The other two forms are container phrasing and term phrasing.

semantax shorthand-attributes Textual composition    // comment
Basic phrasing syntax

Basic phrasing begins with semantax, which is a short mnemonic character sequence that identifies the phrase's semantic role. There is a long list of special purpose semantax, but the most commonly used ones are h1, h2, h3 for headings, p for paragraph, li for list item, and td for table data. Anyone familiar with HTML will recognize these.

Semantax may be implied from its enclosing context, in which case it does not need to be explicitly provided by the author. For example, the li semantax is implied when the containing phrase is a ul or ol. When there is no special context, the paragraph p semantax is implied by default.

Basic phrasing may specify attributes (such as identifiers, classnames, styles, and so forth) immediately after the semantax, in accordance with the rules for BLUE-PHRASE shorthand notation.

The textual composition of a basic phrase begins after the semantax and attributes. Any tabs or spaces preceding the textual composition are ignored. Authors can use this feature advantageously to indent their writings to match its logical structure.

A basic phrase may have a terminal comment. If it does, the textual composition ends with the last character before the graymark delimiter //. Any trailing spaces btween the texutal compostion and the graymark delimiter are ignored.

Basic phrases may have embedded term phrases.

Examples

Here is what basic phrasing looks like within the body of a manuscript.

p This is a paragraph.

p #id001 This one has an identifier.

p .classnameA This one has a CSS classname.

p This one has a terminal comment. // Hmm.

This takes advantage of the implied "p" semantax.
Basic phrasing examples

syntax > phrasing > basicThe most essential construct

Q