From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31528 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gianluca Carbone Newsgroups: gmane.text.pandoc Subject: Use custom template for markdown Date: Wed, 12 Oct 2022 03:16:49 -0700 (PDT) Message-ID: <83207291-1220-4357-9ce3-6bfe591322b1n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_898_733496506.1665569809375" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="909"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDYLVBUDZEBBBEVITKNAMGQEZHOGXCQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Oct 12 12:16:54 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f63.google.com ([209.85.161.63]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oiYnG-00006N-0v for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 12 Oct 2022 12:16:54 +0200 Original-Received: by mail-oo1-f63.google.com with SMTP id i25-20020a4a6f59000000b004758bda2303sf9057657oof.0 for ; Wed, 12 Oct 2022 03:16:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:message-id:to:from:date:sender:from:to:cc :subject:date:message-id:reply-to; bh=UX+jIYNSMHuRkmHEbNyY31cwnbTIWYtNznRkLW35iA0=; b=hYsR0MvGZJ7b9MMfktUohu+AivBUezFYHeABy1Be3/ACKZXMHsaISfjj8nSk4rTKiR tJQDQCNUU/Zu11nK62UQWR9rFG8d2zM3xEJ7Z9ftmJjUOFjWi0bZwLdx7zVyZ+yXgjub S6cngkXlUTqzourIBoAWyIbZLx/CmHRGMARy+eU+vDEQtpLqyVT/VqBe78p8pmR/Un3W dDYc4rgYfmrCVK2UtGBQNusOMMZvAtTUb5eiC91U5sldxTLZwEkYI8md3Um7FLHTUrwa w0CMh0s3LPSXWKOEJTIdN9RukImbh/gT0p6i2oe/SahkjGy+Q0/diYYF7d4WXy+C4YqO Q6hA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:message-id:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=UX+jIYNSMHuRkmHEbNyY31cwnbTIWYtNznRkLW35iA0=; b=Jj/GT7l1vYARy9QSLt56lRhsqCFpAHDpa6IaEseal2UF93V9G+JhMDWWcn+K3J8cmN ieB5rvsFAp4vosdYdkADGny8LBt0xuPRhpNGPqD3xaq5tPxLL5dHSk9n4U0QBLTZqcsy AmJhJ/aDzPoT9H2gYt9i7HHI0Eqw/jEpfn0c1e0AUqHI48XHwY2gcrtfQ1jlJjyhu/hU RiPIpCmdWJfmyJ3CPON9tk+DKAjyJZuulJd72eNFlCUe6yA1YJbeuvGn2SO/gsfZPxYz kvFsWvnzr8qBdaebfuNapJXymhuNVbqkVBKEv+sNGijCHT+Pdpd8xzfZeiuUZshKh+l6 OpVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-sender:mime-version:subject:message-id:to:from:date :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=UX+jIYNSMHuRkmHEbNyY31cwnbTIWYtNznRkLW35iA0=; b=EchrhTGkMJj/DE4q78Tfw3Gc2IGnHeaj4PjpPoT/jfaXX/jgc+moaOUCCePoZiKqbD VgVCYRcatrKPbxF26NSIwuQxbmQAJt4eDzTgEQkB+md9VIcCu7PQrfvCAED+P/eQ+T26 fUK7QjT+pSX5RS8w4Nopx9TNSN+ybJbmQnTANLQL9LGCamLUfSJdTL9E9flFrA8MQA+T U7WyB00kC3jG4C5gOW+ZO5s1TORSi2CUSF60KMQsXgxIX+f83lakiA8SS7AYlIGyfAil 4NhjAm5SnrFGROsdweFQlnhsWz8RZErdHKVnhXBlliuTN6WM+Au9VKfsv/WBAqFto2j+ pTBg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ACrzQf3GMwwHSag3ytobNgqjMvKKBGkXBnU3fcdxPy7zk2LijSJUm3A4 pHsb+N6TBwE9fZO8IN1dtiI= X-Google-Smtp-Source: AMsMyM7TQ7tk2iwDMcAUOYtPC8E5+qnB9yK79TQoGt+PLUvKhXXuukVHbPx8Lrx+jkKbe9qp8XoXYg== X-Received: by 2002:a05:6808:e90:b0:345:49f2:a112 with SMTP id k16-20020a0568080e9000b0034549f2a112mr1734271oil.7.1665569812471; Wed, 12 Oct 2022 03:16:52 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aca:505:0:b0:354:e8d7:5fac with SMTP id 5-20020aca0505000000b00354e8d75facls150773oif.7.-pod-prod-gmail; Wed, 12 Oct 2022 03:16:50 -0700 (PDT) X-Received: by 2002:a05:6808:1691:b0:351:48da:62e0 with SMTP id bb17-20020a056808169100b0035148da62e0mr1773759oib.98.1665569810268; Wed, 12 Oct 2022 03:16:50 -0700 (PDT) X-Original-Sender: gianlucarbone96-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:31528 Archived-At: ------=_Part_898_733496506.1665569809375 Content-Type: multipart/alternative; boundary="----=_Part_899_1825495127.1665569809375" ------=_Part_899_1825495127.1665569809375 Content-Type: text/plain; charset="UTF-8" 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 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/83207291-1220-4357-9ce3-6bfe591322b1n%40googlegroups.com. ------=_Part_899_1825495127.1665569809375 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.mark= down, 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 def= ault.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 &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/83207291-1220-4357-9ce3-6bfe591322b1n%40googlegroups.= com.
------=_Part_899_1825495127.1665569809375-- ------=_Part_898_733496506.1665569809375--