From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30680 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hirrolot Newsgroups: gmane.text.pandoc Subject: Pandoc doesn't insert newlines in Date: Sat, 4 Jun 2022 21:40:14 -0700 (PDT) Message-ID: <8efdb324-3ae6-4e63-b653-527984b5a133n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_2892_361463054.1654404014715" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21251"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCV6DWXH7AIBBL7H6CKAMGQEG7Z7EYY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Jun 05 06:40:19 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oa1-f61.google.com ([209.85.160.61]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nxi3m-0005PS-Nl for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 05 Jun 2022 06:40:18 +0200 Original-Received: by mail-oa1-f61.google.com with SMTP id 586e51a60fabf-f2c8798f4esf6990992fac.0 for ; Sat, 04 Jun 2022 21:40:18 -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=uPpnlFCkt60pytNFvEVMao0hmVvqjC/KnphJJSZa+y8=; b=pdcjGBPJG/WdR2uI4BrpzD+LEqMGHwi15TBYCM6219Psy3pRmE7N5yBCK2nIzjC47W 5duQU92qB9oWrpwu3c6TWisephI4G0jDpM3z/LA2dt4xRsws6b6FINt252gQl5gQECsS 1nSL+uzR9m7z5SkthUabf7avGbveWbFWt++Irlw2m3jQjc4cNZWaq2Mv+aX+tZmFLM+n v607UqdD16nXwhGBylsPcTk2v4a1YHja+PYue3iwXc3kUC3yWy1i27V2MkjYiqrXf0fm PB3cKRKWaWda5DSza4150ROh9M4vBwuoOXD0Ne/3QE8xccLy94O+FKzeU7NuGVP/LILI nHeg== 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=uPpnlFCkt60pytNFvEVMao0hmVvqjC/KnphJJSZa+y8=; b=JVKrVAyNAMjwBaWbWEwUWFFQpNpCAxOoJxb9rrquEuKEoHy//nHeuuYl0wO0OrppfW 2o58h95UdNOZiNXWnuXeWJHK5T+EERYUwJqvNXBRczkakcxqjm8emZGaJ7Nplxb3oaEE 2/KaBbe7TdoAoPYXMdzhZPfCWGldRPArd6v8T+JxqeuvHnjNnhUgH559ZicsyCNvf/MM moURoshuURXqaLPnxfAIlwY24JGZfu7g6bxJL7nWjyhwhr4BD5G/v2uD9sFTrKTc0P0N 4ZrBTHLy8nW649b97AM2EV7thGey/rurqjVpzXEepaIYKDBDTTx/6uc71QG03tGunW6Q tJnw== 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=uPpnlFCkt60pytNFvEVMao0hmVvqjC/KnphJJSZa+y8=; b=W21kA73NzfMcGy89xsMKzENwb/A62h44BRJix1A1QPY56ow4mdTpVxR6qdOtWWH3t/ bS6L2QJC/pHxYNBgQHAMdsJUyuUCfZVpUbzxICcOQkccNLaLvaFwTR5PI97dQkVJMljc 0fF+sjFYvAN8aTqiaW0+QQoPQyaAT9Bk0uy1S6slPI9yT+RW0zBkGfQZT6CYtwUhxDCI 9r4xG1cKtqUxqJR9FzxDBW1MKcRMhgLC29UIqN3jg7f3VNTlofcxsh/ouOMwdVEpKI6V E59mp3DTAEwKi2Wm1miYe2BFFAX6JJ6rbDrugkkDl4MuMdh4aLJ18ghr+MruQD/YgJ2e r/Tg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM530wx+c58CA0heHTKcEzdUrjQDRlJnuAJvEADe0p1PA8Xt2wf7m0 c5ZS5ZA1Cv2WXjU+9h7j0KE= X-Google-Smtp-Source: ABdhPJzLpD6klx9jrsVH3mak+OzH/JPyTnkFRUUpg9QexYpTCUzXKkegVW80vsx9JQn3vKPrymcfQQ== X-Received: by 2002:a05:6808:d54:b0:326:d355:69c0 with SMTP id w20-20020a0568080d5400b00326d35569c0mr10445807oik.121.1654404017647; Sat, 04 Jun 2022 21:40:17 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6870:9a03:b0:e2:adb7:ef12 with SMTP id fo3-20020a0568709a0300b000e2adb7ef12ls2523423oab.10.gmail; Sat, 04 Jun 2022 21:40:15 -0700 (PDT) X-Received: by 2002:a05:6870:32d6:b0:e3:6e1a:e56b with SMTP id r22-20020a05687032d600b000e36e1ae56bmr9842616oac.206.1654404015399; Sat, 04 Jun 2022 21:40:15 -0700 (PDT) X-Original-Sender: hirrolot-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:30680 Archived-At: ------=_Part_2892_361463054.1654404014715 Content-Type: multipart/alternative; boundary="----=_Part_2893_1046927171.1654404014716" ------=_Part_2893_1046927171.1654404014716 Content-Type: text/plain; charset="UTF-8" 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=preserve 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. ------=_Part_2893_1046927171.1654404014716 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I use Pandoc to convert MD files to HTML. Inside MD, I use this:

```
abracadabra abracadabra
abracadabra abraca= dabra
abracadabra abracadabra
```
(In reality, the lines are much longer.)

Then I style my HTML using CSS and want to add horizontal scrolling. Spe= cifying a language for the code block works fine because Pandoc automatical= ly inserts newlines I guess. But if the code block is without a language (s= uch as the one above), my final code block in HTML just wraps as ordinary t= ext 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 pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@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.
------=_Part_2893_1046927171.1654404014716-- ------=_Part_2892_361463054.1654404014715--