Skip to content

Commit

Permalink
Fix indentation on quoted scalars. Closes #5.
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfgang42 committed Sep 14, 2020
1 parent b463935 commit 7fc7a41
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions content/article.pug
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ h3.is-3#flow-scalars-single Single-quoted
.pre-header YAML
pre.
#[span(style="color:#268bd2") example:] #[span.syntax-quote ']Several lines of text,#[span.whitespace \n]
containing #[span.syntax-escape '']single quotes#[span.syntax-escape '']. Escapes (like \n) don#[span.syntax-escape '']t do anything.#[span.whitespace \n]
#[span.whitespace \n]
Newlines can be added by leaving a blank line.#[span.whitespace \n]
#[span.whitespace ··]Leading whitespace on lines is ignored.#[span.syntax-quote ']#[span.whitespace \n]
#[span.whitespace ··]containing #[span.syntax-escape '']single quotes#[span.syntax-escape '']. Escapes (like \n) don#[span.syntax-escape '']t do anything.#[span.whitespace \n]
#[span.whitespace ··]#[span.whitespace \n]
#[span.whitespace ··]Newlines can be added by leaving a blank line.#[span.whitespace \n]
#[span.whitespace ····]Leading whitespace on lines is ignored.#[span.syntax-quote ']#[span.whitespace \n]
.column.is-one-half
.pre-header Result
pre.pre-wrap.
Expand All @@ -57,12 +57,12 @@ h3.is-3#flow-scalars-double Double-quoted
.pre-header YAML
pre.
#[span.syntax-keyword example:] #[span.syntax-quote "]Several lines of text,#[span.whitespace \n]
containing #[span.syntax-escape \"]double quotes#[span.syntax-escape \"]. Escapes (like #[span.syntax-escape \\]n) work.#[span.syntax-escape \n]In addition,#[span.whitespace \n]
newlines can be esc#[span.syntax-escape \]#[span.whitespace \n]
aped to prevent them from being converted to a space.#[span.whitespace \n]
#[span.whitespace \n]
Newlines can also be added by leaving a blank line.#[span.whitespace \n]
#[span.whitespace ··]Leading whitespace on lines is ignored.#[span.syntax-quote "]#[span.whitespace \n]
#[span.whitespace ··]containing #[span.syntax-escape \"]double quotes#[span.syntax-escape \"]. Escapes (like #[span.syntax-escape \\]n) work.#[span.syntax-escape \n]In addition,#[span.whitespace \n]
#[span.whitespace ··]newlines can be esc#[span.syntax-escape \]#[span.whitespace \n]
#[span.whitespace ··]aped to prevent them from being converted to a space.#[span.whitespace \n]
#[span.whitespace ··]#[span.whitespace \n]
#[span.whitespace ··]Newlines can also be added by leaving a blank line.#[span.whitespace \n]
#[span.whitespace ····]Leading whitespace on lines is ignored.#[span.syntax-quote "]#[span.whitespace \n]
.column.is-one-half
.pre-header Result
pre.pre-wrap.
Expand Down

0 comments on commit 7fc7a41

Please sign in to comment.