You can include the file with the macro definitions on the command line before the actual source. They will be concatenated so effectively the macro definitions end up at the top of your markdown.Just make sure to give it an `.md` rather than a `.tex` or `.ltx` extension, or set the source format explicitly with the `-f` or `-r` option: ````sh pandoc -f markdown mymacros.ltx source.md ```` Den sön 21 apr. 2019 22:28Alberto Simoes skrev: > Hi > > The latex_macro extension allows me to define extensions directly on my > pandoc md source. > Nevertheless, I have a file with my usual macros, and I would like to use > it from my pandoc md files. > Is that possible? > > Thank you > Alberto > > -- > 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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/f2870a3c-cdc1-4ede-bb88-8875a94537ab%40googlegroups.com > > . > For more options, visit https://groups.google.com/d/optout. > -- 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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CADAJKhDvc-WkrgyqP%3DAhoz1YgVZLEGnw58Fya6mW%3Dfgw13mfkA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.