From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31530 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bastien DUMONT Newsgroups: gmane.text.pandoc Subject: Re: Use custom template for markdown Date: Wed, 12 Oct 2022 11:42:41 +0000 Message-ID: References: <83207291-1220-4357-9ce3-6bfe591322b1n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28708"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDCINCES2QJRBNGQTKNAMGQE3GIBOSY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Oct 12 13:42:48 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-wm1-f62.google.com ([209.85.128.62]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oia8O-0007Ka-0J for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 12 Oct 2022 13:42:48 +0200 Original-Received: by mail-wm1-f62.google.com with SMTP id fc12-20020a05600c524c00b003b5054c70d3sf9876415wmb.5 for ; Wed, 12 Oct 2022 04:42:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1665574967; cv=pass; d=google.com; s=arc-20160816; b=ykcv7UnI/4+p4D34MI3FoZkcs3cSl2zdwlQTg8OUs0PZ8NaqnF67wfAuW1wLs6L5gZ yC2ibHTyDYIv3U/pECa2ros72EDxH70Qqb9ie5llHebc4qOjlhUpTVhb8E2ZAu7EiGUA ZWDfP693anT2f9MtclGrn6COiYuSXOPoekZMCd553UEgQ0W7Lm2R4sQKf6CLz7XO6odS w0wXpvlALTPU0+nGhsx8AFAy87pn0ZaX4FFlZTwugFl8LISnVouxDEE6aNL2w+iptE9S gioiofEjDJ2WIn7y5vL6g4z8+AJadOioBRfVkoVgRkiBwtcRu6gMMLvZICQknEtW5afM GI/w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:from:date:sender:dkim-signature; bh=/eIzzh6uXy0hheegWFHiMr3nXOUHutsN3sJrT5C2EPI=; b=RJF9WdEGcMDKSA33DUS9njNXVDbcqw7i0QObFAs3zyRRJ32YkqrOVZ8Sq+bkoLhGRI dTw/pAnPNFZfL6+uFvtYqeTvqoSg4sAax5Tfpvo6oZH9U9SuPwWvJBLfx3B1ts5GL6Uu VdZC8fJI7MhQZoaSynuusMksjQzlZGpyGofFQqSM5tHoMrzaz5lVb/0dILMFVgTFigsx 9RzbpPxP2SYaXiNC90YsB9qOGIoug8HIizB1v0t0sjXG+nyFDwPWXfT0XjnJC1N1uJq4 TeZ7oAivQSy2ujPT7HC7qmzW34VAiV1y36aoSROgsG5umj8/+ZZUcApTC/lMUDivhelf fICA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=f562vw2C; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.66 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net 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-authentication-results:x-original-sender:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:from:date:sender:from:to:cc :subject:date:message-id:reply-to; bh=/eIzzh6uXy0hheegWFHiMr3nXOUHutsN3sJrT5C2EPI=; b=OzYlCbzcsp1IfSGGo8RzNhT9aLyM4zuK4Xi/c7xcwme/o5GG+WN7j3TcM8/YJ1i+PX oDlcqB2sNyN+H7WxmmFedycjLuT1XLiW9aRq+9LfBXACPO3XQaVo+68D4gYlJpte5ZKB zevY+wyPSjBYC51ek0vjVuFMbKM4v3BCOUhjv+bxIFYEDkOnbZ2tcKbFFuAKHznehz5f RYsdR5cVMjLa6b8063xw3SBGSahNMQnJfbfhFS8yrXe+ON87BIJ93CUJjCQn5uQEBBwx c9Ho/RwHtM8OgIYIkcTYt3mMkcUjDTEDo5Ta+9HbfYF6W 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-authentication-results:x-original-sender:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:from:date:x-gm-message-state :sender:from:to:cc:subject:date:message-id:reply-to; bh=/eIzzh6uXy0hheegWFHiMr3nXOUHutsN3sJrT5C2EPI=; b=pOsBQ3w1jOLvPgzdX2JqgPWMF1NvoQdyXvxFJoCpdF+dbN27OU0yqusQavocTesMVF eDZCXByFV5B5FeR1dpQSp1Vi7eU3+ixfZCJ61GUMdQ1D4KJ4U5nhwCxEP937hxQmhL5i QdW5Pwc2W4a8nYJtW0uYdqAEZeOgYmt9IxMCDElrdyjP8d5LMG7a6o9J5SWiN1v6HMlj cnitE50AEAKhuLUDbKUI7UFVwZbWq8hGgka5n6opa000MbpsEaiWRiaseqfiHImfoaNv Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ACrzQf0vVCCxUnHqPfbwfeDNFsTXi1+qrW+PK0A7RSsxSiubEyrurniY aLHGjnN3upvZ4+dGZqSD2NM= X-Google-Smtp-Source: AMsMyM57KND52HGYzniQfWigYp6IOiKyR9zt7h8cgdav4VbUwrwU5Wj03/uLCahNu7reKK17FyUxSg== X-Received: by 2002:a05:6000:184d:b0:22f:4ef4:47a7 with SMTP id c13-20020a056000184d00b0022f4ef447a7mr13470593wri.563.1665574967665; Wed, 12 Oct 2022 04:42:47 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6000:23c:b0:22c:d34e:768c with SMTP id l28-20020a056000023c00b0022cd34e768cls1305892wrz.0.-pod-prod-gmail; Wed, 12 Oct 2022 04:42:43 -0700 (PDT) X-Received: by 2002:adf:fb10:0:b0:22a:f1d8:18d2 with SMTP id c16-20020adffb10000000b0022af1d818d2mr17787916wrr.483.1665574963686; Wed, 12 Oct 2022 04:42:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665574963; cv=none; d=google.com; s=arc-20160816; b=fHMsO+smr0G751KV441650+YoQJjDRCAbcq13FCyUAEkRXu8bPfkGKuzNVwL4R2lyI MGy3CP6iRVIikAhuDVF0t7WrEitr681fQperfCkdFxx7pM6goSVy2spjmzESYaS1x433 j+Z0BzW17KERA2OerOMkGu2k/8t2KsuAL6p+srzeESUAVYKLpBu3tpsFWeLXdisykH6w 1tEoFRe6W+zwrUJ6/3Wp0mOeE/dlEIof0DPZgsBB/PdNhPEfnJKx1FC2OkstumCSC3cG aHL6Q+uCPXr7jMI/myHhjqnJ9NWUAerLMwyo+SErIlPktoHuMGG7qbTX8NoH5dflHeMr lo5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:to:from:date :dkim-signature; bh=XQ71qU4W9VwlN4yavp6WP5MkqIbV/33AS4NWt0p4jLQ=; b=CZkOGND0g7VK2A5TROts8pEDHLTW+2+I9Ss+fXtzX6pCiTprYlVOqF+WIJVJeJ6DLj 83fAtDrxOUnM15kulKTxz+KXvtryZlCOGt1rHvZrb9iNml/liXIn35ojYNU8TJEc+8k6 RINk/6K86XzS0YRWUKdxXFWdGT1MZwMNqzwZl61sFs3tFbrNhgubLlt+/fPNM7Ju35VV vUUqGLjU9GGIcs0MW2RuvIXtw8BUGwKCz0w2/zElbDcha51yuOB+fc0BUNsjsbfV8P2A QMwq0JMd2ZA00ZTLsmgqLX7WwyFB/70Nb9fDttRhbt4lRrOWIZhJ+krbOox7v8ypo5/f wrRg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=f562vw2C; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.66 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net Original-Received: from mout02.posteo.de (mout02.posteo.de. [185.67.36.66]) by gmr-mx.google.com with ESMTPS id bd24-20020a05600c1f1800b003c6b7cd552bsi81234wmb.1.2022.10.12.04.42.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Oct 2022 04:42:43 -0700 (PDT) Received-SPF: pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.66 as permitted sender) client-ip=185.67.36.66; Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 5FA7D240105 for ; Wed, 12 Oct 2022 13:42:43 +0200 (CEST) Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MnW3k6QPcz6tmN for ; Wed, 12 Oct 2022 13:42:42 +0200 (CEST) Content-Disposition: inline In-Reply-To: <83207291-1220-4357-9ce3-6bfe591322b1n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=f562vw2C; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.66 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net 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:31530 Archived-At: -D stands for --print-default-template, not =E2=80=9Cprint the template spe= cified in your command=E2=80=9D! Specifying your template file via --templa= te 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 =C3=A0 03:16:49AM, Gianluca Carbone a =C3=A9cr= it : > Hello guys, >=20 > I tried to use a custom template written by me coping the content of the > command: > pandoc -D markdown >=20 > Next I add some markdown lines as static text that I want in the output o= f my > markdown file. >=20 > 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 >=20 > When i want to see if pandoc use the correct template, I use: > pandoc -D markdown --template nameproject >=20 > But it prints always the same default.markdown file >=20 > How can I use a custom markdown file? >=20 > Thanks in advance! >=20 > -- > 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-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit [2]https://groups.google.com/d/m= sgid/ > pandoc-discuss/83207291-1220-4357-9ce3-6bfe591322b1n%40googlegroups.com. >=20 > References: >=20 > [1] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > [2] https://groups.google.com/d/msgid/pandoc-discuss/83207291-1220-4357-9= ce3-6bfe591322b1n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter --=20 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 e= mail 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/Y0aoMY1fhYewq6pw%40localhost.