Thank you! I made this mistake because I'm new with the tool! Thank you for the help!

Il giorno mercoledì 12 ottobre 2022 alle 13:42:47 UTC+2 Bastien Dumont ha scritto:
-D stands for --print-default-template, not “print the template specified in your command”! Specifying your template file via --template when converting a file to markdown should work (but I don't know if you can strip the extension as you did).

Le Wednesday 12 October 2022 à 03:16:49AM, Gianluca Carbone a écrit :
> Hello guys,
>
> I tried to use a custom template written by me coping the content of the
> command:
> pandoc -D markdown
>
> Next I add some markdown lines as static text that I want in the output of my
> markdown file.
>
> I put this file in the folder /home/ubuntu/.pandoc/templates/
> nameproject.markdown, and I check the path of pandoc with the command:
> pandoc --version
>
> When i want to see if pandoc use the correct template, I use:
> pandoc -D markdown --template nameproject
>
> But it prints always the same default.markdown file
>
> How can I use a custom markdown file?
>
> Thanks in advance!
>
> --
> 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 [1]pandoc-discus...@googlegroups.com.
> To view this discussion on the web visit [2]https://groups.google.com/d/msgid/
> pandoc-discuss/83207291-1220-4357-9ce3-6bfe591322b1n%40googlegroups.com.
>
> References:
>
> [1] mailto:pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> [2] https://groups.google.com/d/msgid/pandoc-discuss/83207291-1220-4357-9ce3-6bfe591322b1n%40googlegroups.com?utm_medium=email&utm_source=footer

--
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/8c51680f-f2e8-452d-8a2e-2fd3a8657b16n%40googlegroups.com.