From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/28273 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: jeremy theler Newsgroups: gmane.text.pandoc Subject: Re: Process inline codeblocks and normal codeblocks differently when converting from md to html Date: Sun, 2 May 2021 21:17:32 -0300 Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000fba78505c161e3c8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5216"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDW7FLGCQYBBBKMCXWCAMGQELLNTDSY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon May 03 02:17:48 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-wr1-f58.google.com ([209.85.221.58]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ldMHT-0001GB-Do for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 03 May 2021 02:17:47 +0200 Original-Received: by mail-wr1-f58.google.com with SMTP id t5-20020adfb7c50000b029010dd0bb24cfsf2293853wre.2 for ; Sun, 02 May 2021 17:17:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1620001067; cv=pass; d=google.com; s=arc-20160816; b=WbOPKgG1Lg3g/q3bU8IxR1mfabzqgPz8zORZK6Dr8Kr9YSdERgnEJgRddBU8KXtvCn PY6x6QtzdSWsur8nLNGjBo9YoNvFafyz/hIXp0QFY716Iqlkwakva/aj7FWQsbDmFpEe qtbzJ89PnDecITnPvUrCJJKOwapmwfHAKlHpwntWjiCePWYeMoEHfeQU0okPyaNQhx6R 54k7amFXIC+D4zjqJKQGoyqm/7BEoj5lRpegZTS+9jdxS//iTArbOp25zenhFSKXDu3q /WdYP5UZ5pcB5i7rRqyXDoLKDgOsOzoUR+O/Tw26CPuiPjsDWCzpaPOQaSUEdFomN05s HWLg== 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:to:subject:message-id:date :from:in-reply-to:references:mime-version:sender:dkim-signature; bh=3F7J2+P4yGuW0OVD286l6YRDbyadrhMsd98TV58MOH4=; b=xVmL+QPY8mEaTKE6gTOl7nwzqyAxcH+1uhpcl0ZROc05UJVnZ0XIIZgVcxJQhDh8BZ AXoQ7Ff7nwVOfy4ccV/xZ/8i81ykVHPgTs30Jr8iL+FCN1UuWhHSiym8tEyOW5MyBFIb VwO9smW5qIN5WPtBhkR9xB3ALbSAlG/po/bx2UaTZm6MHwcN9cCYQWrdo2L2s/jyRui/ 6uEGxioK6xDty1ibZYnhW1Xv2sE2ca7uHDc4dc2t90uDWNN6klo2x+uUrCUvEQ49Ucb4 hwHlotzm4xnE9IbE595GYKPcmOz296JqZ742USM+BgLyvwbfUlKLRfjXe3hGTtXWjK8l fZ9g== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@seamplex-com.20150623.gappssmtp.com header.s=20150623 header.b=wniSVcoN; spf=pass (google.com: domain of gtheler-24em0bpozeFWk0Htik3J/w@public.gmane.org designates 2a00:1450:4864:20::134 as permitted sender) smtp.mailfrom=gtheler-24em0bpozeFWk0Htik3J/w@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:mime-version:references:in-reply-to:from:date:message-id :subject:to:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=3F7J2+P4yGuW0OVD286l6YRDbyadrhMsd98TV58MOH4=; b=kgZf4KDI+7mECHKdw0h3G5dWMmzxj2okTn3BcjvliVz8cPNrTfbgMRwG204eLf/Uf/ oEkHPWRHHUNKQYnG9Tb2tkUm4GF0Z3hQIzlzgQIc0boKiPNOix94EDpf7lPwg4o8Ky9k 1GYl6aC4kzKicEFPOtFF8qdfqV2eMwMtvtLT+Dy8iuMNGXI4wz9bc3fvllILdUdKdSDx UDOk+mU0cgJSjo9zoSLq/uNSa7fIPb8th3IIGqr5uKkRTVFIkZknmv2zWR7dk1sEx9qI pc3BY7D0LM7D/hX9QOasuk78oDra7B3QZhJM4CTbg0UuUfoQJDyWlTQNeOpQ2dYz7hWw ZKoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:mime-version:references:in-reply-to:from :date:message-id:subject:to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=3F7J2+P4yGuW0OVD286l6YRDbyadrhMsd98TV58MOH4=; b=MbdnIepmT4uAtDJwdKhp71yBilJbvI7sWh1kGdEgVjFcxWI2qbtfbl/TLCOXEWkojS oYZlPSoaRfSebwBf3nZ7jF7SFFKB3gL37NBOc04Obexz8CKgL7/toBmXcpBp+V2hgBcu 0V2Rp5mXEYiZomKzOO8KNefvyrhIGtnSFzcxxTc8C8xAq7yD3YPt1uQTt1Ptfn6UBFu+ WcswNTqksz5wuNwFdgw7st6t3KZppbJ9Z5x9wBlHI0RBC+3mAQMC9SJXz0LhSa/cf/y2 RmsQZO/YwgUmE47dTW3pPUUuWfkJfJux4D1gycKpwi8fokErKd7YLWkbIlc/Y8ppQhVS tAcQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM532QMvgQKVRoNghKr1T251KRJ2Qk7o/P+ZThjeFEcFAir+rel2AV qwlgq/f/zIG4FmDgSYWvqBs= X-Google-Smtp-Source: ABdhPJxCqdu2zmG0JrE0MyfnuJcjkx+BKx0vZfmLlL1SBah8ITPJ1kT0r8x1McH+WGeMdOKCQs3nTg== X-Received: by 2002:adf:8306:: with SMTP id 6mr21347789wrd.307.1620001067133; Sun, 02 May 2021 17:17:47 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a5d:6da1:: with SMTP id u1ls1432777wrs.1.gmail; Sun, 02 May 2021 17:17:45 -0700 (PDT) X-Received: by 2002:a5d:570e:: with SMTP id a14mr21658102wrv.254.1620001064952; Sun, 02 May 2021 17:17:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620001064; cv=none; d=google.com; s=arc-20160816; b=V7umR+vp3NjCvrvGEme/fTa0RhSO/X7+WPVlKB/ucO8/io/5F9RfoyLUWIJ2fX/NTE 5DH3U2tCJU8rIVYL9It2lGXVzDAHSwEVwB/TL3rKyQMmiP//Ek2NseMG/MWRhkznmiqm hvD/AC0vpGY7b5IlsgGom/u25Nz0pBoeFuVmj3StV8dQu8TEiXTEG1f3BJ7CbRxeAnvj czFzNj5VG6OM8sgkSyP7mn9K16MXQhdc3BgTBBktezMSs6OQALg1Ql1akJL/Uj5XGz/U Q8HQdskmZGAvBv6VK4GCNYQknr6g/5GVWIChtWa9asS7r+0syA4D9m640072E3hNniok Juvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=s31ZjKK9/mTpF8oft+8hVj/yGEl5E/+OyRBF//2LuVw=; b=WWe8rM9cTZSwkBSZnYJWsxL5b2qe8fj4aId2IoO26e2XfUcnLT+vZABvMCbKHQp6dz sziaOAov/J7RXSrL8PPlkSV6KuPN7Rhxlx/1GywheD4G1uP512uxMZzZdWTME7GzWVY1 gtGtrw1yZpJT20mcptkH0ekQB0gVHw+xdrCYE4X/v/u4X/Bvcb2STGqLz+/FOkBQwWdo Rkt1/4wP9Zzb+YyxK760/DB8NQr5LUHOxrtc5PCfrbasyq0r+Lb8sdS9pAbPpMv6JWXm U72avgX6kTSDtachmI9QVx7Fo+HStbw+T6vbcQHAJQjTwdq2u7AcFekwvpJeMhoTkhty x67Q== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@seamplex-com.20150623.gappssmtp.com header.s=20150623 header.b=wniSVcoN; spf=pass (google.com: domain of gtheler-24em0bpozeFWk0Htik3J/w@public.gmane.org designates 2a00:1450:4864:20::134 as permitted sender) smtp.mailfrom=gtheler-24em0bpozeFWk0Htik3J/w@public.gmane.org Original-Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com. [2a00:1450:4864:20::134]) by gmr-mx.google.com with ESMTPS id 7si760650wmg.0.2021.05.02.17.17.44 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 02 May 2021 17:17:44 -0700 (PDT) Received-SPF: pass (google.com: domain of gtheler-24em0bpozeFWk0Htik3J/w@public.gmane.org designates 2a00:1450:4864:20::134 as permitted sender) client-ip=2a00:1450:4864:20::134; Original-Received: by mail-lf1-x134.google.com with SMTP id c3so1560895lfs.7 for ; Sun, 02 May 2021 17:17:44 -0700 (PDT) X-Received: by 2002:ac2:4115:: with SMTP id b21mr12101205lfi.537.1620001064457; Sun, 02 May 2021 17:17:44 -0700 (PDT) In-Reply-To: X-Original-Sender: jeremy-24em0bpozeFWk0Htik3J/w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@seamplex-com.20150623.gappssmtp.com header.s=20150623 header.b=wniSVcoN; spf=pass (google.com: domain of gtheler-24em0bpozeFWk0Htik3J/w@public.gmane.org designates 2a00:1450:4864:20::134 as permitted sender) smtp.mailfrom=gtheler-24em0bpozeFWk0Htik3J/w@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:28273 Archived-At: --000000000000fba78505c161e3c8 Content-Type: text/plain; charset="UTF-8" Grep for fenced_code_attributes in the manual. On Sun, May 2, 2021, 20:36 Dominik Heinz wrote: > > Hello, > > I am using pandoc to convert from markdown to html. > The markdown document I am processing contains both, inline code blocks > (single `at start and end) and also normal codeblocks (triple ```at start > and end). > Pandoc wraps both of these in tags as to be expected. > However, since I want to style them differently later with CSS, I need a > way to differentiate between them. Is there a way to tell pandoc to add a > class or something like that to the code tag, when its an inline code > block? > I didn't find anything in the official documentation on how to achieve > this. > Any help is appreciated. > > Cheers. > > -- > 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/ca5c7bce-bd16-420e-8e14-274f502207f7n%40googlegroups.com > > . > -- 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/CAK0LiykNeu1wkPP9TsB92OrDK7LNdneicrXFADCU-aR2rbz7Cw%40mail.gmail.com. --000000000000fba78505c161e3c8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Grep for=C2=A0fenced_code_attributes in the manual.
=
On Sun= , May 2, 2021, 20:36 Dominik Heinz <domi.hz96-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

Hello,

I am using pandoc to convert fr= om markdown to html.
The markdown document I am processing contai= ns both, inline code blocks (single `at start and end) and also normal code= blocks (triple ```at start and end).
Pandoc wraps both of these i= n <code></code> tags as to be expected.
However= , since I want to style them differently later with CSS, I need a way to di= fferentiate between them. Is there a way to tell pandoc to add a class or s= omething like that to the code tag, when its an inline code block?
I didn't find anything in the official documentation on how to a= chieve this.
Any help is appreciated.

Ch= eers.

--
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 pandoc-discuss+unsubscribe-/JYPxA39Uh4Ykp1iOSErHA@public.gmane.org= m.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/ca5c7bce-b= d16-420e-8e14-274f502207f7n%40googlegroups.com.

--
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/CAK0LiykNeu1wkPP9TsB92OrDK7LNdneicrXFADCU= -aR2rbz7Cw%40mail.gmail.com.
--000000000000fba78505c161e3c8--