From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29269 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Julianus Pfeuffer Newsgroups: gmane.text.pandoc Subject: ipynb output: Choose languages to convert to code cells Date: Tue, 21 Sep 2021 06:46:42 -0700 (PDT) Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1032_1326524808.1632232002461" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27256"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDEIXP5IZAIBBQ6EU6FAMGQEXDFYSFA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Sep 21 15:46:45 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f61.google.com ([209.85.161.61]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mSg6f-0006sx-I0 for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 21 Sep 2021 15:46:45 +0200 Original-Received: by mail-oo1-f61.google.com with SMTP id q3-20020a056820028300b002a9a312d6fdsf4018761ood.21 for ; Tue, 21 Sep 2021 06:46:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=v3s9tEzBOGblog4ICWpMIEsgL/giosO9Ic7XhPa3rkk=; b=i/GLN75gLMLVyhaf2DOkMsNqd3Ru6+a82TY6qVn8uqFYx8TfY40r9MT6jrs43BOWwt JtnDWC4VIdsxDeNbbMTjQZze/+z1T2Nz0RspQqUJi8uCDxSsrDN5OrdgYSvqca3IhiT0 6ZFSaUlHzncWtdwjZ9LjmJS1miHMDb6XOKV7RNzbV5yj6redvwTpFGL6H/Ddbln82tih RaNPQZAX0J57neh3ptQXiZxBQVIOyJFg2LFKYq4aSCW22k2Jgh2GywnFzu3Jc8QJ6KQt DTsV6VFp1mf9guFWMa39TIM3SymfbKKhQkfY1NxiMyPMBKwz/iDnrGG7gUlmWas0oikN IodA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=v3s9tEzBOGblog4ICWpMIEsgL/giosO9Ic7XhPa3rkk=; b=To7LaeqvhrHUCWYuNvlRUHyRWUuNSkXTx/0ZvhkCdsOEWv5UAdxwwFWdhIxe0ylFPe YaxW2BlTsjFNjGsPaTbFbheQYoOGxfsb0rgmnBwfTPWzzoHyD6vHY/Bg5pw96Z7Oibmo P60FHXCwSoikWJDds2cGKTxXmYw9UIarnBxPo0tvtDhzxXoEG5Uzk6aXXfuLQYVaqNOF t2mPQD6rZLa2ve4iZjlP5Mrp6gAS1BCdXp/Chpk2XOCWikQSkT+yQsAcocVsWjfZh83+ KTAvj/wmqLt+YxD4yTRZGQwk+mrOax0Ku7bKkQOxCczPEnyo7OHTD8elk6w37Kq12apj adGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:date:from:to:message-id:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=v3s9tEzBOGblog4ICWpMIEsgL/giosO9Ic7XhPa3rkk=; b=LUZkh+1vAGGyTqNeJU7O08OPoD18jxhYWpy11K4pJk+HLBJBhmeIvKSUtfg4eh4+hw mkdmxwAH/6x1De75tAZs1Q4AkwHybWGFGD20mDXIXMlQ/J9rgJieU445dhtsPt8nfCI5 OJs0rbLlV0lFHxEOxxS+/antjE22ooJXrXAYWXEUMRNVsHQYFxJfWh/eGVu1+0HAhw+3 rtYQ/tSmyX3N2tRhhSbc6O60Zad/vkwEyZQECJKtidwOXGoG27sDrorHA5RE9EMVpitP kV3832m/45XHo2Pbi2MW5UvnSbFqkpJS48ngWP/iBx5A+xYedEflbWaHjZloHBOcUMEY 1B7A== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM532j8kjJVewOLWEj8Yv43Dr4iYwQ2mzxR1loPA2DjL/e4Jeo03xR XXqn9f4FAzExYWqR2nhtc94= X-Google-Smtp-Source: ABdhPJxEdu6za3VI78MkZvAlkXOHLld30h1+/TK3Ef4UaUAVinqhmidsoPvC5xz/lRmXfi/Go0nBSw== X-Received: by 2002:a05:6830:1df6:: with SMTP id b22mr26170789otj.335.1632232004578; Tue, 21 Sep 2021 06:46:44 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aca:eb0c:: with SMTP id j12ls6026162oih.0.gmail; Tue, 21 Sep 2021 06:46:43 -0700 (PDT) X-Received: by 2002:a05:6808:15a2:: with SMTP id t34mr3631924oiw.47.1632232002976; Tue, 21 Sep 2021 06:46:42 -0700 (PDT) X-Original-Sender: jule.pf-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:29269 Archived-At: ------=_Part_1032_1326524808.1632232002461 Content-Type: multipart/alternative; boundary="----=_Part_1033_2015874330.1632232002462" ------=_Part_1033_2015874330.1632232002462 Content-Type: text/plain; charset="UTF-8" Hi all, does anyone know of a way, how to decide which code language to convert to an ipynb code cell? The default is "code" but of course no one would just use "code" as a language description in input formats that are not specifically written for this pandoc conversion to ipynb. I am envisioning to be able to specify e.g. python, R as languages of my input code blocks (as long as the input format supports a language tag, e.g. Markdown or rst) which should be converted to executable code cells in the notebook. Is this possible? Thanks and cheers Julianus -- 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/e539846c-74da-4636-82ea-f63cfcf8ee0bn%40googlegroups.com. ------=_Part_1033_2015874330.1632232002462 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi all,

does anyone know of a way, how to decide which c= ode language to convert to an ipynb code cell?
The default is "co= de" but of course no one would just use "code" as a language description in= input formats that are not specifically written for this pandoc conversion= to ipynb.

I am envisioning to be able to specify = e.g. python, R as languages of my input code blocks (as long as the input f= ormat supports a language tag, e.g. Markdown or rst) which should be conver= ted to executable code cells in the notebook.

Is t= his possible?

Thanks and cheers
Julianus=

--
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/e539846c-74da-4636-82ea-f63cfcf8ee0bn%40googlegroups.= com.
------=_Part_1033_2015874330.1632232002462-- ------=_Part_1032_1326524808.1632232002461--