pandoc/test/command/biblatex-book-title-maintitle-series.md
John MacFarlane 641849b70a Be less aggressive about using quotes for YAML values.
We need quotes if `[` or `{` or `'` is at the beginning of
the line, but not otherwise.
2020-10-08 10:54:53 -07:00

737 B

% pandoc -f biblatex -t markdown -s
@book{item1,
	Author = {Author, Al},
	Date = {2013},
	Hyphenation = {french},
	Location = {Location},
	Mainsubtitle = {Mainsubtitle},
	Maintitle = {Maintitle},
	Maintitleaddon = {Maintitleaddon},
	Number = {3},
	Publisher = {Publisher},
	Series = {Series},
	Subtitle = {Subtitle},
	Title = {Title of the Book},
	Titleaddon = {Titleaddon},
}

^D
---
nocite: "[@*]"
references:
- author:
  - family: Author
    given: Al
  collection-number: 3
  collection-title: Series
  id: item1
  issued: 2013
  language: fr-FR
  publisher: Publisher
  publisher-place: Location
  title: "Maintitle: Mainsubtitle. Maintitleaddon"
  type: book
  volume-title: "Title of the Book: Subtitle. Titleaddon"
---