From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/17522 Path: news.gmane.org!.POSTED!not-for-mail From: Fernando Botelho Newsgroups: gmane.text.pandoc Subject: Re: Markdown for AMP Project https://www.ampproject.org/ Date: Mon, 1 May 2017 13:39:34 -0300 Organization: F123 Message-ID: <01c43386-de61-d9c5-7db0-9e422e7aeddd@F123.org> References: <74722d2b-3362-48e3-a0b4-fa4502bc8005@googlegroups.com> <886bb176-054d-4e41-ba2e-7058e30ad355@googlegroups.com> <382a2f59-fca3-4409-8b05-10bd7e884a70@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed X-Trace: blaine.gmane.org 1493656776 4533 195.159.176.226 (1 May 2017 16:39:36 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 1 May 2017 16:39:36 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCOOTZ46WQCRBSOJTXEAKGQEL4H5OLA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon May 01 18:39:32 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-qt0-f189.google.com ([209.85.216.189]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d5EMG-00015D-3u for gtp-pandoc-discuss@m.gmane.org; Mon, 01 May 2017 18:39:32 +0200 Original-Received: by mail-qt0-f189.google.com with SMTP id m36sf12091061qtb.0 for ; Mon, 01 May 2017 09:39:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:reply-to:subject:references:to:from:organization:message-id :date:user-agent:mime-version:in-reply-to:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=1lHVYav1V+0fZKVMqvrfEzolpphmJVq1CwWxBz+X1yA=; b=WPSjQibcbUS5FwlZ1UsRHRBlP6IwQ+v8Qor2dxd79ebhSnds64jQvS81Uje50B0hFK kubI2psGYPQqM7VC35hTiBmLZ4zGNLkHh06glKuoIgd3mrp5eKwMMSfdraC0fk/rsnlt BuceNs7fvgwyP+omiJmWZFBAt1o+F04UhNWMIqrladxlm3dbYC1F8beRMRG9LEj9dARl goKds7R67rK5N0cnRoD1Uq3+vnkZ3slnrgyYeaZM9zaxmGaJtBywJLFbPdoTcYHcEHTO 60GN+UMFrLIg1dUhDdLkhdXT92UN66VvIXRQ8ei2TKukmAgIKJihMcxQluba/ACaXPli Gikw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:reply-to:subject:references:to:from :organization:message-id:date:user-agent:mime-version:in-reply-to :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=1lHVYav1V+0fZKVMqvrfEzolpphmJVq1CwWxBz+X1yA=; b=LyhWrdMK3MsiR6beINdW73Ga7w80pdId8vA89JfagAaiGG78AM4LKeX3lrr/3ov73c M9ZFAoHS6oHJXGzDOvvAftGKsvv+TtuF5P+sj9nVI/9VZMbs2T0ARSzbWLxWTjKTYVWZ QNISR+E1/E4U4pPPABo3JC2g1BDomgbR7XcLbRa7ZiwY9dziY5FuGz2PJuk5zvGNrjmX PYJR0+AuwvZepolDvHgQ0O/bmOBE91/tT2j/ENgwxfmD6LsQKZgd6QrqqCFVMLAV6zDA XfanLgquCr/RiRIJdYgVTVKbwmlO8JlFTT+SI8TVFqoaSLilvWgCkCqhwAfolJ1vRH2T X-Gm-Message-State: AN3rC/7cVdQFH9EMZ8JhphxVWq5FI1PbBuCBKOjtYK6eVjr/Ls72mKFf t0EauJ0h4pIVRQ== X-Received: by 10.36.227.8 with SMTP id d8mr42911ith.9.1493656777807; Mon, 01 May 2017 09:39:37 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.107.173.228 with SMTP id m97ls3306486ioo.3.gmail; Mon, 01 May 2017 09:39:36 -0700 (PDT) X-Received: by 10.107.130.217 with SMTP id m86mr11761743ioi.43.1493656776802; Mon, 01 May 2017 09:39:36 -0700 (PDT) Original-Received: from mail-ua0-x241.google.com (mail-ua0-x241.google.com. [2607:f8b0:400c:c08::241]) by gmr-mx.google.com with ESMTPS id n193si1016510vkc.1.2017.05.01.09.39.36 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 May 2017 09:39:36 -0700 (PDT) Received-SPF: pass (google.com: domain of fhfbotelho-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:400c:c08::241 as permitted sender) client-ip=2607:f8b0:400c:c08::241; Original-Received: by mail-ua0-x241.google.com with SMTP id 110so9667162uas.1 for ; Mon, 01 May 2017 09:39:36 -0700 (PDT) X-Received: by 10.176.81.28 with SMTP id e28mr8258612uaa.114.1493656776448; Mon, 01 May 2017 09:39:36 -0700 (PDT) Original-Received: from ?IPv6:2804:14c:8785:8a04:7629:afff:fed7:4597? ([2804:14c:8785:8a04:7629:afff:fed7:4597]) by smtp.googlemail.com with ESMTPSA id k84sm3509914vke.26.2017.05.01.09.39.35 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 May 2017 09:39:35 -0700 (PDT) Original-Sender: Fernando Botelho In-Reply-To: <382a2f59-fca3-4409-8b05-10bd7e884a70-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: fernando.botelho-KbEfo2H6j98@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com; spf=pass (google.com: domain of fhfbotelho-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:400c:c08::241 as permitted sender) smtp.mailfrom=fhfbotelho-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.org gmane.text.pandoc:17522 Archived-At: it would be really neat for the non-technical among us, if we could have this as a file format option. That way we could choose to convert to it as easily as we convert to normal html. Fernando On 05/01/2017 04:04 AM, support1-ZohPw8X7yHTQT0dZR+AlfA@public.gmane.org wrote: > Alright I found now solution, it is quite easy to generate the AMP > pages, and I can modify it. > > I found I can do: > > pandoc --print-default-data-file sample.lua > sample.lua > > and then I can modify it to conform to the special AMP HTML tags, > which are not many in the body: > https://www.ampproject.org/docs/reference/spec > > while the template may generate the header tags, and whatever is not > in the body. > > In that sense, for me this is closed, I found the way to generate AMP > pages by using pandoc's lua extension. > > My budget is zero dollars, and it allows me to make those very small > modifications. > -- > 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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > . > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/382a2f59-fca3-4409-8b05-10bd7e884a70%40googlegroups.com > . > For more options, visit https://groups.google.com/d/optout.