Fixed YAML code block in README.

This commit is contained in:
John MacFarlane 2013-07-15 19:32:08 -07:00
parent cd399d1b9d
commit 595149a9bc

24
README
View file

@ -1794,19 +1794,19 @@ if a title contains a colon, it must be quoted. The pipe character
literally, without need for escaping. This form is necessary literally, without need for escaping. This form is necessary
when the field contains blank lines: when the field contains blank lines:
--- ---
title: 'This is the title: it contains a colon' title: 'This is the title: it contains a colon'
author: author:
- name: Author One - name: Author One
affiliation: University of Somewhere affiliation: University of Somewhere
- name: Author Two - name: Author Two
affiliation: University of Nowhere affiliation: University of Nowhere
tags: [nothing, nothingness] tags: [nothing, nothingness]
abstract: | abstract: |
This is the abstract. This is the abstract.
It consists of two paragraphs. It consists of two paragraphs.
... ...
Template variables will be set from the metadata. Thus, for example, Template variables will be set from the metadata. Thus, for example,
in writing HTML, the variable `abstract` will be set to the HTML in writing HTML, the variable `abstract` will be set to the HTML