From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30682 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: BPJ Newsgroups: gmane.text.pandoc Subject: Re: Pandoc doesn't insert newlines in Date: Sun, 5 Jun 2022 19:35:18 +0200 Message-ID: References: <8efdb324-3ae6-4e63-b653-527984b5a133n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000001d5df005e0b6c80f" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8175"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCWMVYEK54FRBY6S6OKAMGQE7RW6HBY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Jun 05 19:35:36 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lj1-f186.google.com ([209.85.208.186]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nxuA3-0001ue-U9 for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 05 Jun 2022 19:35:35 +0200 Original-Received: by mail-lj1-f186.google.com with SMTP id h23-20020a2e3a17000000b00255788e9a7fsf1240143lja.10 for ; Sun, 05 Jun 2022 10:35:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1654450535; cv=pass; d=google.com; s=arc-20160816; b=StHgMJQw+JN+JbFp9G2DdEm8F4ZAB5VfET7ClPzAnYkLyGERJvBSHoDqW6A8njw2if qbaFFlWJL/wwoh6GArRyyz/ii0yM6VF7HdAmN7+iSYbHRjlomMk6wspFCZWd8J56FXkM +uHSoH92CnGAZNOYu43NZwYaeEk8rtVnINFOP33f/p1CjT/RlAxExtMY63a81l4Ib779 IBRRgfgfjHuM1xcuFx5hgyyp71U+wrW3FJd94jmOhukWkY3zkIKE7SDuu1NEZzQqGVrb LeqvdsCHvIaMBZF4kVm0as50eCM02er2GxFP8+8boYf+mj50JhbqHvm6qgg9RUmGOy3d iYnw== 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 :dkim-signature; bh=dO6Aa29tOsT5hGLNnq+Wn+7vwwEv2Ua6GZAnk3ckphI=; b=E054TtJH3DXcKx/vGjFLJiQ7n3MEYwWPmUxsRBj2ADoexWbJrALmdiK1JDwiAUpsOb t1r5Dhy9iDdBwSlqzq2A/m7W33Ys/ObK4gAtPvE6cQ6QRGXAhQNPnKfekPxuFfncHzM3 LtIkDkIP4DQQTWt61PQQsgJS0JNdmTvfMihjtcN1Z4T4fIMREzL3zn6HjLwHIlODwT+x ITY/j+dEVlsIBlKYW+ved6GwtMjIW4cVMe2XIuKA9IostCo1wArO1YIbO4e7EHo4DDjP qfpx9CqJYxJCzgGMCBt58heAtbrgb8L41/O99ugK4269tVKJHlaS2C79DKRD0sa9NF/T p4/Q== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=eHB+W2fL; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::632 as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; 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=dO6Aa29tOsT5hGLNnq+Wn+7vwwEv2Ua6GZAnk3ckphI=; b=UKzn6O8rHy/96QVvQB7tEwJleEcYoofUz8DJJW9fNrGRyH6k/c82eNNL4TXSugywQm brlbQ31WOwasSSA0FjVIwQfaUsSEX0eYCFwBHNKHkyrl9LniFhhnqc3z64QAZ7YtVcFi bMglT1JC6LeICCjvBsrWIbxOompRfSV3L/7muOAYDZR1cp5OUf0WynOBsr5+R5mjAT31 SmUEY+97Xffr74MX4hpBjamzoPtF6TMC74XTp85Y+rXUeiQVB4ztp1pR9SLu0N5EDxKf DgAoHkIW1+ZTrr8pBB10QGwykhIqaRZ74ZI7iDcGpBDITluMJudd1C92H/G537VUXNbJ da+Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=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=dO6Aa29tOsT5hGLNnq+Wn+7vwwEv2Ua6GZAnk3ckphI=; b=HvBS/EvHxdC3nQyHP/hVIIcjS7bKIRuClF4IFdlUPhalsEzLVB841JbnjX+BmQqGVv dHNKHu2uT539gWjzPVGo5d/q35Hgk8G21m6pl/hM4Flsfu/Azi8WOaRzrhTCj26vX+/3 HguGA08p7WeZxZPqPcVLB0zeuZ+yXIuXv35Jr62MWM9utFdf5EDewM3DekeDXPcGO66r 0ZPUaZ8lHfNcv0kotr+NrQ32jbSKQa6fIIkPFGsS2iXLKqxc5Fl1h8QBDi5q+PXyZNwF IvqAosiB44Uf0JpPgjwYk6g/pj70qQM89jt6Ea5LbvkI9kWHkyu0C8bTt64SguayqEhI sQwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=dO6Aa29tOsT5hGLNnq+Wn+7vwwEv2Ua6GZAnk3ckphI=; b=DbcP6FSIJ/AVUNWNsISikpc1grpPyfmxExI5KBcxwrD5cj2m9frjpOsbviOy9/bl+K PNM9xxTtHTyw0gJmjt4tsBLgrDll664mzf8D6eWbuU4X+R64q8LxeFVFN/Z8cQhSY66J gCJWXpGFQHjzMY5xhjHv+YQLzXFTmSQZXiVW4OUXcHPqi8RuBZAZU72K8/lExPG4iBie F3wJvGdK1a/QvVQEaSQH8YknjxIuxeBWQOpLsiw8rnkGJxJ1JuSAco9TMrRJWQkLNrzG KKtz4DGAys0ziuxpJs4vuME1On6VyvtNwlHi8JbZlPZjsOt4IS4M46UmDTVhppeN5aV3 AZwg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM5309FKUGrGduqoNu5XQKsVVXh9rbNXB8rp0EWcJcxbJAhJRmU5a7 oVweRyWS1A/Zfh2xLjtPq84= X-Google-Smtp-Source: ABdhPJxbzw/Dhk5vdbI4MMWuNN7HrSam+inKKJAMtaKBmpwxJ5HK7Vu8UyhIgcPDQMp+ILiEwyXLaQ== X-Received: by 2002:a2e:8e98:0:b0:255:9d3d:bac3 with SMTP id z24-20020a2e8e98000000b002559d3dbac3mr412872ljk.103.1654450535320; Sun, 05 Jun 2022 10:35:35 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a2e:7003:0:b0:255:95cf:cecf with SMTP id l3-20020a2e7003000000b0025595cfcecfls121891ljc.11.gmail; Sun, 05 Jun 2022 10:35:30 -0700 (PDT) X-Received: by 2002:a2e:a6a0:0:b0:255:7ccb:a9f9 with SMTP id q32-20020a2ea6a0000000b002557ccba9f9mr7800442lje.517.1654450530279; Sun, 05 Jun 2022 10:35:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654450530; cv=none; d=google.com; s=arc-20160816; b=izwRJW18nEyWFNGuw7eY07r5FsLoEDPzCfwCR2owTFSiqG2hCCHjJ2jE6FhoJSeRLH jBirDi9xaO1modQSahDCJsvxCYX+rV/sQAPqluBHgqy8R84LVyLZxfCJuELovy/6YBy9 ZHYp4mwuUpB1zGsXEtqrv0kr61d2WMFyG7ZuZ97pXl9sx+U0sCWfjdCT4HtYgb6eqdg6 Xsat9yDOnM02aWju+w4fAqodlstOYgd4YWpq3lQNf3pbM0VNYkNWWHQFwp3NZv6HmS3u RcdcG7df6HechfDuMNeNszHYwFwI7HTTXCXucMms7+HueUy9+6M9oGSE0d4ekwBufMzy d8og== 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=E+h54tNdRFbxwSoBVWLy7/27cx5heImN9BWxJ79GhO0=; b=vvNKQ1xcR/tCl8YO0oqtP9+QmSeOwLaFeomr1ipF9bS3tbWxD261CADFZ3sh60QXr8 qZ8LpMc8+j2rP+6MhNsS1BqcDrdYa3mmhqxkhJhSMTs5pnolfdxWVDUBs7OjUvU/5hBF cwuCwPzPD5hw6G+J6PRjPry0tIMpYIHhVUsUNTIP8j2o5zLDT/1ya6wLEuZUrUQGWUUa u6mlkdxrYqE1KXQY3tVKXR/SmKmmr3s2Kz96aGEZbq+fRBipykPy90nVONW92AdvchG/ kTTaHjYFEBg3Hke5l9uDqCSBExHmFjxlpLqvIAYysALqPUfRqB2s8ZzoAreV3nR7tZrW WpCQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=eHB+W2fL; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::632 as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com. [2a00:1450:4864:20::632]) by gmr-mx.google.com with ESMTPS id k6-20020a2eb746000000b002556f5e21ecsi552222ljo.3.2022.06.05.10.35.30 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 05 Jun 2022 10:35:30 -0700 (PDT) Received-SPF: pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::632 as permitted sender) client-ip=2a00:1450:4864:20::632; Original-Received: by mail-ej1-x632.google.com with SMTP id m20so24910626ejj.10 for ; Sun, 05 Jun 2022 10:35:30 -0700 (PDT) X-Received: by 2002:a17:907:7d91:b0:6fe:efb8:8f97 with SMTP id oz17-20020a1709077d9100b006feefb88f97mr17982871ejc.717.1654450529589; Sun, 05 Jun 2022 10:35:29 -0700 (PDT) In-Reply-To: <8efdb324-3ae6-4e63-b653-527984b5a133n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=eHB+W2fL; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::632 as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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:30682 Archived-At: --0000000000001d5df005e0b6c80f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Try to use `code` as a "language" (actually a class) on your code blocks, or something else which is unlikely to ever become the name of a highlighted language. Pandoc will make it a class on the HTML code tag but will otherwise ignore it. The details about attributes on code blocks are at https://pandoc.org/MANUAL.html#extension-fenced_code_attributes Den s=C3=B6n 5 juni 2022 06:41Hirrolot skrev: > I use Pandoc to convert MD files to HTML. Inside MD, I use this: > > ``` > abracadabra abracadabra > abracadabra abracadabra > abracadabra abracadabra > ``` > > (In reality, the lines are much longer.) > > Then I style my HTML using CSS and want to add horizontal scrolling. > Specifying a language for the code block works fine because Pandoc > automatically inserts newlines I guess. But if the code block is without = a > language (such as the one above), my final code block in HTML just wraps = as > ordinary text and I can't fix it. > > I tried --wrap=3Dpreserve but with no effect. Any ideas? > > -- > 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/8efdb324-3ae6-4e63-b653-= 527984b5a133n%40googlegroups.com > > . > --=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/CADAJKhCFdpRYJwsnF2TPuiemgTeKcmSU7yCXxSxwDtvP4Y5Adg%40mail.g= mail.com. --0000000000001d5df005e0b6c80f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Try to use `code` as a "language" (actually a c= lass) on your code blocks, or something else which is unlikely to ever beco= me the name of a highlighted language. Pandoc will make it a class on the H= TML code tag but will otherwise ignore it.

The details about attributes on code blocks are at


Den s=C3=B6n 5 juni 2022 06:41Hi= rrolot <hirrolot-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>= skrev:
I use Pandoc to convert MD = files to HTML. Inside MD, I use this:

```
abra= cadabra abracadabra
abracadabra abracadabra
abracad= abra abracadabra
```

(In reality, th= e lines are much longer.)

Then I style my HTML usi= ng CSS and want to add horizontal scrolling. Specifying a language for the = code block works fine because Pandoc automatically inserts newlines I guess= . But if the code block is without a language (such as the one above), my f= inal code block in HTML just wraps as ordinary text and I can't fix it.=

I tried --wrap=3Dpreserve but with no effect. Any= ideas?

--
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/8efdb324-3= ae6-4e63-b653-527984b5a133n%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/CADAJKhCFdpRYJwsnF2TPuiemgTeKcmSU7yCXxSxw= DtvP4Y5Adg%40mail.gmail.com.
--0000000000001d5df005e0b6c80f--