From 886877880753ae8781e7740fff7ed142e978a353 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Thu, 27 Apr 2017 19:53:30 +0100 Subject: [PATCH] Add more advanced example files --- test-files/1intro.md | 5 +++++ test-files/2-pandoc.md | 23 +++++++++++++++++++++++ test-files/bib.yaml | 40 ++++++++++++++++++++++++++++++++++++++++ test-files/end.md | 3 +++ test-files/test.md | 1 - 5 files changed, 71 insertions(+), 1 deletion(-) create mode 100644 test-files/1intro.md create mode 100644 test-files/2-pandoc.md create mode 100644 test-files/end.md delete mode 100644 test-files/test.md diff --git a/test-files/1intro.md b/test-files/1intro.md new file mode 100644 index 0000000..d26cb43 --- /dev/null +++ b/test-files/1intro.md @@ -0,0 +1,5 @@ +# Test content + +_Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam ante purus, scelerisque sed pulvinar eget, suscipit feugiat augue. Cras quis quam ac dui aliquam rhoncus eu id diam. Cras dapibus vel nunc in finibus. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Nulla a lacinia nibh. Aenean finibus mauris et est euismod aliquam. Curabitur dictum nulla quis turpis fringilla vestibulum at eget ligula. Donec et ultricies massa, ut volutpat neque. Praesent elementum ultrices urna at finibus. Nunc risus mi, porta sed eros sit amet, sagittis sollicitudin velit. Nulla a felis in tellus gravida pretium sit amet eget libero. Donec aliquet ac est semper molestie._ + +__Curabitur arcu velit, faucibus sed condimentum vitae, consectetur a lectus. Fusce a cursus magna. Nam vel posuere erat, in congue purus. Aliquam aliquet eu leo vel cursus. Vestibulum mattis est ac diam finibus, in aliquet erat iaculis. Phasellus est quam, rutrum a tempus non, vehicula vitae tellus. Nam nec leo consectetur, aliquam lorem eget, dignissim arcu. Phasellus vitae convallis urna, ac aliquet purus. Vivamus nisl mauris, volutpat quis pretium non, fringilla non dui. Pellentesque velit justo, pretium a porta nec, varius ac lacus.__ diff --git a/test-files/2-pandoc.md b/test-files/2-pandoc.md new file mode 100644 index 0000000..08d5e36 --- /dev/null +++ b/test-files/2-pandoc.md @@ -0,0 +1,23 @@ + + +- [@nonexistent] + +- @nonexistent + +- @item1 says blah. + +- @item1 [p. 30] says blah. + +- @item1 [p. 30, with suffix] says blah. + +- @item1 [-@item2 p. 30; see also @item3] says blah. + +- A citation group [see @item1 p. 34-35; also @item3 chap. 3]. + +- Another one [see @item1 p. 34-35]. + +- Citation with a suffix and locator [@item1 pp. 33, 35-37, and nowhere else]. + +- Citation with suffix only [@item1 and nowhere else]. + +- With some markup [*see* @item1 p. **32**]. diff --git a/test-files/bib.yaml b/test-files/bib.yaml index e69de29..99eac3c 100644 --- a/test-files/bib.yaml +++ b/test-files/bib.yaml @@ -0,0 +1,40 @@ +references: +- id: item1 + type: book + author: + - family: Doe + given: John + issued: + - year: '2005' + title: First book + publisher: Cambridge University Press + publisher-place: Cambridge + +- id: item2 + type: article-journal + author: + - family: Doe + given: John + issued: + - year: '2006' + title: Article + container-title: Journal of Generic Studies + page: '33-34' + volume: '6' + +- id: item3 + type: chapter + author: + - family: Doe + given: John + - family: Roe + given: Jenny + editor: + - family: Smith + given: Sam + issued: + - year: '2007' + title: Why water is wet + container-title: Third book + publisher: Oxford University Press + publisher-place: Oxford diff --git a/test-files/end.md b/test-files/end.md new file mode 100644 index 0000000..fcb505f --- /dev/null +++ b/test-files/end.md @@ -0,0 +1,3 @@ +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus accumsan justo nisi, eget eleifend eros blandit sit amet. Mauris ligula neque, posuere a fringilla quis, pharetra ac nisi. Duis lacus dui, sodales sit amet semper sit amet, euismod ut erat. Donec faucibus, nisi eget condimentum rutrum, tellus orci rhoncus ante, sed laoreet odio ex eu mi. In sem neque, ultrices et laoreet at, vestibulum non justo. Vestibulum tempus pulvinar vulputate. Vestibulum tellus nunc, pellentesque eget dolor eu, porta molestie nunc. Pellentesque at feugiat nisl. Aenean bibendum, lorem ut vehicula laoreet, ante eros sollicitudin augue, vitae volutpat diam augue a purus. Sed fermentum et enim quis elementum. Proin commodo, erat a egestas ultrices, ipsum tellus finibus neque, non aliquam nulla urna non magna. Nulla facilisi. Vivamus in lacinia neque. Aenean gravida elit ipsum, ac rutrum ligula vehicula a. + +Ut imperdiet sit amet sem egestas iaculis. Aliquam sit amet posuere ante, eget iaculis turpis. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Phasellus maximus lacinia malesuada. Nullam ullamcorper rhoncus massa, a eleifend enim malesuada ullamcorper. Sed sed consequat nibh. Vestibulum fringilla dignissim nulla, nec viverra felis elementum et. Cras tristique posuere luctus. Mauris dapibus pellentesque volutpat. In porttitor placerat felis, non ultrices mi elementum eget. Aenean id lectus egestas, imperdiet dolor ut, varius ante. Mauris vulputate congue lectus, vel tempus nisl volutpat et. Duis dapibus mauris vel aliquet porttitor. Mauris nec risus tempus, pharetra lectus sit amet, molestie ex. Vivamus dapibus mi quis porttitor fermentum. Maecenas imperdiet metus at mi varius pretium. diff --git a/test-files/test.md b/test-files/test.md deleted file mode 100644 index 043968d..0000000 --- a/test-files/test.md +++ /dev/null @@ -1 +0,0 @@ -# Test content