From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32842 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bastien DUMONT Newsgroups: gmane.text.pandoc Subject: Re: Selecting CSS style for paragraph Date: Sat, 17 Jun 2023 22:04:34 +0000 Message-ID: References: <0102580d-3f9a-407d-b089-54a8b51ab6f3n@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="11291"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDCINCES2QJRB7G3XCSAMGQESURPAMY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Jun 18 00:04:51 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lj1-f189.google.com ([209.85.208.189]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qAe2M-0002jY-If for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 18 Jun 2023 00:04:50 +0200 Original-Received: by mail-lj1-f189.google.com with SMTP id 38308e7fff4ca-2b341f911acsf9521561fa.1 for ; Sat, 17 Jun 2023 15:04:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687039490; cv=pass; d=google.com; s=arc-20160816; b=T3SxjVtGlopPEPnjQPjEBYczd878p4m4jVBTmFic7QcDumZ3AB4TtQWrH4krInpLKx 2CfuTrOqlgsFaqemsOBHTiVWp3F3b5sXTRhFzJrae45jmNxiQe7L8l+ddo2LqtTLowGQ YhbLDSiw82MKyWAgC8k1azFC5q9J+aTk++AHyv3gTSw+XJH6xBh4PTGK+/ItRscBchW9 fK/EINZKx+9rjFUHcwfsZsdq+NzWqvRazl7N1CxutK7g7nECfMPA6cJpWWxxKgEXBbyd MNna4JsKlkzUA4FZQjGce3udgxIGHFWVKRmXBXS59YC0UmQBVIC3OfHdcpyeovGTQJbI K4mw== 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=C3SDR1Dbd93YhJiZikGmwIT9X8NXa14FCDOM7KUDT6Y=; b=zq6k+ev2JzJyhMIwzeLSBcUwMv5jdCmN5E2p0I6XNgx6uA68FDIEHztIXHPU9SVjOe lqKBfbomRj4PUT+2lSzUZ99vOmigQYnaaK/gU4Fvi0iYdnpdAXqIgM/gtx4NFmF3xDjw NO3vM3CshTx54xp6lhs1BHkWUmYWpoKDgyufG9hy5cUKR/Awg9v4HwdBL9dDM/4E9LU8 vzHvUbUBOdYLPqpzO6T5fXJiCKq3CjY4So5d4gmd3GB5y2iTdv3yxaS2xfzHGMeSmVSU 3MEYlVrH7u3jG4KKzAn71AujpLljbef+D+URO6Q+ymfx17j5jVC0b2/eQpdlzeEYMWAP VsbA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=CG2Xx9MD; 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=20221208; t=1687039490; x=1689631490; 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=C3SDR1Dbd93YhJiZikGmwIT9X8NXa14FCDOM7KUDT6Y=; b=VXWXcreTB2/FxlHvhHA+AdX+DeeYsU9X64FMqaB1Cz6K4cQPI7otuQXf6Kf1UfPPU/ An3/4fLVFWyLqsnEQInFrtFiuecGiK7DFlvPEWmIaT04AzYBUHL0Q0ou15QQifOnX/jQ C/nsluIcNxRvYtycPuMd/kfXZj9lGMTHP8jDHD+lKNX+5TB44lYoucbzD42B2EoWx6rC ViJ+L1HuKR+KZi8bYXp+3yVNfynHv68OSkEjoJf6ILXEhjHdy40/K9GiBCKY1v0SqTHu Xw8bfkq2V4qDxzFpe X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687039490; x=1689631490; 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-beenthere :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=C3SDR1Dbd93YhJiZikGmwIT9X8NXa14FCDOM7KUDT6Y=; b=X2RMpKrzYbxlGIIiO1Qv5f37c65Zvm1kNnTLD8NE+bEQF5RAA3NzARGaz4KrUlkcHy Vn+t6lTcXaH4/65PU1rWvg4y+Tbp8EjL/QnZ3FkBsaoP5MzWIz26JtcYzPJApDdq1rUC IiX0KdElldPVtMDCX8LME71qJykXtU/AJawKe6BZaxX6+H6f9hyvd7uYuAuSJZ16+IsC kjshtv2psRmc24Q1MSFyVV7+904c Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AC+VfDxAIO2YryiH8pgXzzNbGAhH0x6LQue6DOaSe67sqw1p5h2MixjQ SZkLqty5+ftMn1AozTgMqcE= X-Google-Smtp-Source: ACHHUZ61h57Nb1RbEKE2zhxfL6dvPdBD37dmPXeUJEfbnYzNzCeHSFxdiUGlIng/aSv0PucS25cPdg== X-Received: by 2002:a05:651c:2db:b0:2a8:bd1d:bfb6 with SMTP id f27-20020a05651c02db00b002a8bd1dbfb6mr4140121ljo.13.1687039489291; Sat, 17 Jun 2023 15:04:49 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a2e:9883:0:b0:2b4:5c8d:cc63 with SMTP id b3-20020a2e9883000000b002b45c8dcc63ls538799ljj.0.-pod-prod-00-eu; Sat, 17 Jun 2023 15:04:43 -0700 (PDT) X-Received: by 2002:a05:6512:2346:b0:4f6:1307:80b0 with SMTP id p6-20020a056512234600b004f6130780b0mr4039582lfu.12.1687039483499; Sat, 17 Jun 2023 15:04:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687039483; cv=none; d=google.com; s=arc-20160816; b=GaxDXTkw/F73+2wt79NhOIkW/gt7EFJl35Z7bBeBuJTwyS93TdCuQTM5IYLnH+Uf1k ranI1LaDjnQRhesxt26ZlzrY1mk2Au3mchltiF8RdBoW1MLmF7cW5ms+rV6jdLeLrMBS eYxek8nyxTHDPbW+bR3ZFKxkQwx7fHheKyJvyLIVmaQhAGDsBI7J4f3Zsme0EjAX6c4B oZv5jID2lsWufhF0dq4OvYaTAMnfZa/ZvQfKaYnmA/yctM+DiWT2fcjg+DLRLbEQQRdB a5C1PCE7cqVuOv1Bj5qBWvygjMImrslMThBQGBU4MwrX2XjBzk69oU/VQLSIzmwoBziM Ep3g== 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=BfaFSV5zz/Hs+zOZZF62sos1D6+C2vGsB2S5ponAOOE=; b=GmycOcdNIey3sGz0uA4T3XVXZLjeOoUYQlBrM/rJe715rXRe5c1f9A+/AcHRQsTMnK EIQVxVbpqD31iO2IulplHoRwCOkF1KuktuJaYX+nfsFz+oPDfpIXX3wQrtjumZvb9CK/ tBmekjMl54yhqCAi0RaaJAN34Agjwk0nGXYqTAbjtv0cC4lOe7q7GmQH+KnuoPUwHhgb qfQuyQuzCbUad0DQbXVpvoSYwWe8r33ApaZDpwY+D1a4+q03BUx5+0PJEpLnCsf8Cm0+ NnYQ6LYImBVnaO4Gkp4cI0aKkLEPAfQ+LmWXfBj4cjg0wH5Rx/bqQXdtAZbKzN8ev/we /lsQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=CG2Xx9MD; 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 i22-20020a198c56000000b004f7624a5491si1069287lfj.11.2023.06.17.15.04.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Jun 2023 15:04: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 A35A8240103 for ; Sun, 18 Jun 2023 00:04:42 +0200 (CEST) Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Qk96y2Ttrz9rxG for ; Sun, 18 Jun 2023 00:04:42 +0200 (CEST) Content-Disposition: inline In-Reply-To: <0102580d-3f9a-407d-b089-54a8b51ab6f3n-/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=CG2Xx9MD; 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:32842 Archived-At: Pandoc doesn't have classes and attributes for all elements. To set attribu= tes and classes on a paragraph, you must wrap it in a div as you discovered= . Then, either you change your CSS file to apply the required formatting to= all paragraphs inside a div of a given class, or you can post-process the = HTML file to pass the classes and the attributes on the children paragraphs= . Le Saturday 17 June 2023 =C3=A0 01:47:12PM, Mats Holmberg a =C3=A9crit : > Hi all, >=20 > I am trying to learn how to use pandoc and markdown for book writing (cre= ating > epubs and html books). Overall it works splendidly, but I have a problem = that I > don't know how > to solve: hinting to pandoc which CSS style to use for my paragraph. > . > I know that i can simply wrap my text in a html block e.g.=C2=A0

"no-indent">Text

. > But then I can't use markdown in the html block. Some other markdown pars= ers I > have > tested (MarkDiv, for example) have a syntax that goes something like this > instead: > {.no-indent}Text, which seems to work perfectly. I have tried the syntax = :::: > {.no-indent} in pandoc, but that generates a
around the whole thing= which > is not what i want. >=20 > I have tried to go through all the extensions that are available in pando= c, but > so far haven't found anything that works. >=20 > I guess this might be kind of a noob question, but I have really tried to= find > a solution > and failed. Is this a real problem, or am I overlooking something simple?= Some=C2=A0 > combination of pandoc extensions or something like that? Any help will be > immensely=C2=A0 > appreciated! >=20 > Kind regards, > Mats >=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/0102580d-3f9a-407d-b089-54a8b51ab6f3n%40googlegroups.com. >=20 > References: >=20 > [1] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > [2] https://groups.google.com/d/msgid/pandoc-discuss/0102580d-3f9a-407d-b= 089-54a8b51ab6f3n%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/ZI4t8ifcAPt1wZEn%40localhost.