Hi,
I too recently went through the process of creating a document with a list of all my publications. 

Here's the command I used:
``
$ pandoc -d bib-defaults.yaml
```

And here's the content of the bib-defaults.yaml file:
https://gist.github.com/the-solipsist/8fcab57c2d7771ef3758f927ec79ae34

And here's the publications.md file that I used as the input:
```
---
nocite: '@*'
...

# Books, book chapters & reports

:::{#refs_book}
:::

# Journal articles & conference papers

:::{#refs_journal}
:::

# Op-eds & press articles

:::{#refs_press}
:::
```

I hope that helps.
On Wednesday, 18 November, 2020 at 5:37:34 pm UTC+5:30 King John Unn wrote:

hello community,

I am a new user to pandoc. I am trying to generate the bibliography for a document. My template looks like this:

```
$body$
```

This allows me to create a plain text document from markdown without header, title, toc, etc.

```
body text with references...

References

reference 1
...
reference n
```

I want to remove the body, too and only stick with:

```
References

reference 1
...
reference n
```
```

Is it possible to generate the reference only? If possible i would like to further modify the format of references, too.

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/538a99b8-3ed4-4145-a4b7-c42145b61fefn%40googlegroups.com.