The reference links aren't part of the AST. That's why they don't show up. But I think you know this!

I don't know of a simple way of achieving what you want to achieve.

However, the details of your references are in the AST where they are referenced. So with this input:

### Referenzen

[1]

- [1]: https://www.youtube.com/@johnwitulski18 "John Witulski"
- [2]: https://www.youtube.com/watch?v=Rl70mXyDxII "Vorlesung Compilerbau (5) - Bottom-Up Parsing"
- [3]: https://cisco.github.io/ChezScheme/ "Chez Scheme"


...you get this AST (reporting using pandoc-ext/logging):

(#) blocks Blocks[3] {
  [1] Header {
    attr: Attr {
      attributes: AttributeList {}
      classes: List {}
      identifier: "referenzen"
    }
    content: Inlines[1] {
      [1] Str "Referenzen"
    }
    level: 3
  }
  [2] Para {
    content: Inlines[1] {
      [1] Link {
        attr: Attr {
          attributes: AttributeList {}
          classes: List {}
          identifier: ""
        }
        content: Inlines[1] {
          [1] Str "1"
        }
        target: "https://www.youtube.com/@johnwitulski18"
        title: "John Witulski"
      }
    }
  }
  [3] BulletList {
    content: List[3] {
      [1] Blocks {}
      [2] Blocks {}
      [3] Blocks {}
    }
  }
}


...so you could write a lua filter to collect the info from the links and output it at the bottom.

But I can't help feeling that you'd then really just be implementing your own simple version of citeproc!

Using citations isn't too hard, but there are definitely more moving parts. I could provide a mock-up if that would be helpful.

On Sat, 11 Nov 2023 at 18:20, Cev Ing <ceving@gmail.com> wrote:


William Lupton schrieb am Samstag, 11. November 2023 um 18:20:32 UTC+1:
To prevent this, you could escape the opening square brackets like this (I've also put the URLs in angle brackets):

### Referenzen

- \[1]: <https://www.youtube.com/@johnwitulski18> "John Witulski"
- \[2]: <https://www.youtube.com/watch?v=Rl70mXyDxII> "Vorlesung Compilerbau (5) - Bottom-Up Parsing"
- \[3]: <https://cisco.github.io/ChezScheme/> "Chez Scheme"


I tried that, but then the reference-links stop working. I do not want to prevent the reference-links, instead I want both: working links in the text and a list of all links at the bottom.
 

--
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/7ab32601-e03d-4587-a563-e329a1987781n%40googlegroups.com.

--
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/CAEe_xxhCgWUKDBB8HmPdAkbTWk%2BC2N0OD5F8Yah41qGSB8kdAQ%40mail.gmail.com.