-
DescriptionHi, I'm helping a colleague re-write their paper in a Quarto Scholarly Writing and they would like to include an HeadingsA dummy example using headings... ---
title: "A simple example with multi-line abstract and headers"
author:
- name: ns-rse
orcid: 0000-0000-0000-0000
corresponding: false
roles: Collaborators
affiliations:
keywords:
- YAML
- Markdown
abstract: |
## Introduction
This is the introduction
## Methods
This is the methods section.
## Results
We have results.
## Conclusion
And this is the conclusion.
plain-language-summary: |
Some journals require abstracts with multiple sections. The above lays out such a structure in Markdown but fails to parse.
key-points:
- Multi-line abstract fails to parse
- Better discrimators between benign and malignant thyroid nodules are required in the UK
date: 2024-04-23
bibliography: references.bib
citation:
container-title: "Silly example"
number-sections: true
---
## Rest of the document
blah, blah, blah ErrorOn trying to render this the YAML fails to parse with...
BoldI've also tried ditching the Markdown Heading 2 ( Example---
title: "A simple example with multi-line abstract and headers**
author:
- name: ns-rse
orcid: 0000-0000-0000-0000
corresponding: false
roles: Collaborators
affiliations:
keywords:
- YAML
- Markdown
abstract: |
**Introduction**
This is the introduction
**Methods***
This is the methods section.
**Results**
We have results.
**Conclusion**
And this is the conclusion.
plain-language-summary: |
Some journals require abstracts with multiple sections. The above lays out such a structure in Markdown but fails to parse.
key-points:
- Multi-line abstract fails to parse
- Better discrimators between benign and malignant thyroid nodules are required in the UK
date: 2024-04-23
bibliography: references.bib
citation:
container-title: "Silly example"
number-sections: true
---
## Rest of the document
blah, blah, blah Error
I realise this is a YAML issue but I've been unable to find any suggestion of whether this is possible in YAML and whether we'll have to look at doing this by hand?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
|
Beta Was this translation helpful? Give feedback.
Regarding templates: you can take a look at the various templates that already exist (mostly PDF/LaTeX): https://m.canouil.dev/quarto-extensions/extensions.html
Something that might be of interest: https://github.com/pandoc-ext/abstract-section
Additionally, you can get your headers unnumbered: