I think you need to include the `@` explicitly: $for(references)$ [@$it.id$]: $it.url$ $endfor$ -- Better --help|less than helpless Den tis 15 dec. 2020 21:21John MacFarlane skrev: > > Just create a tool that produces a list like this, for > the items in your database: > > [@Smith2020]: https://example.com/whatever > [@Joens2020]: https://google.com/whatever > ... > > Then pass the file to pandoc after your main markdown > file. > > How, then, to create the list? > > I think it could be done using pandoc's templating system, > if you have the bibliography in YAML form. > > Use a template like > > $for(references)$ > [$it.id$]: $it.url$ > $endfor$ > > > Joseph Reagle writes: > > > I sometimes find myself writing for a popular venue where citations > aren't welcome but links are. If @Smith2020 has a URL associated with it in > the citation database, it'd be cool to do something like: > > > > You should really read [the excellent book][@Smith] from earlier in the > year. > > > > Anyone have any ideas for achieving something like this? > > > > -- > > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/45d39007-b396-88f2-b76b-269e5b16bfc4%40reagle.org > . > > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/m25z52yg6t.fsf%40MacBook-Pro.hsd1.ca.comcast.net > . > -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CADAJKhBjot0Ujq%2Bs1pNOHrA1JJZLfmVKOzfk1UK7xyfgFDQdMw%40mail.gmail.com.