From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/26260 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christian Braune Newsgroups: gmane.text.pandoc Subject: Trying to use code fragments (reveal.js) from markdown Date: Tue, 29 Sep 2020 04:22:40 -0700 (PDT) Message-ID: <2b03582e-4cb0-452d-a138-571658329605n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_162_477790911.1601378560936" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14574"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCTZHCHVVUIRBAVSZT5QKGQEQD5Y4XA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Sep 29 13:22:45 2020 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f58.google.com ([209.85.161.58]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kNDiW-0003g4-W0 for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 29 Sep 2020 13:22:45 +0200 Original-Received: by mail-oo1-f58.google.com with SMTP id n6sf1907478oos.12 for ; Tue, 29 Sep 2020 04:22:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; 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=v52HFuTCXUvG1XRtRuRTCazHge7vvylvOTzC5OcoPzc=; b=ITpxPkwEi60sm0tcBmPpJ+ibtn1KXXEb1Tn/H8RskDVbOm5oxyJT9lsxM37r5dQwTa R1ZalV5XI/QtTINNGSgIDx22BaRAtJrMNKvuAsJNm4I/N/5xQkRVNJWXZczwqS/+90V0 hHL5AVgT7RPbdsGhPzslScXh2kF0bxGjWtaatLY/4MlI1osmYrBS8D7KGf4sY76a/aHm qtWRq0oL+nkh9J38LtkrZGWruPYDqfT/pE3vZPtP4bcUtefl0CPwKNMW4ZgDhody8zlN gUMNromN40h5SOyYZSt2gnRcxRCmf5NqyeVSjRIwEQg0+VU32Kz5skGJGMWGMePGFqkr 8B7g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; 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=v52HFuTCXUvG1XRtRuRTCazHge7vvylvOTzC5OcoPzc=; b=jEr25yddrG9+H/wtvMwjCOx7Xqba91/GdwfR3d0hY/N3BgGmEnZgD75mnA1jhaD3JE Xr2TURAJ9ip+et4MTFUYd1j6lmsqAnFgdSTaCU/JUS1GznEUzZ6D0iq7+5mXQiQAie8I QZ5xQtfDULOfOGL5VR5/zll8yO5P9ZcE2xQX2pBd1fNOZMxfhrzSQUyrggoNjGIzrzT0 MXJvwKHYRNnaErO22dyAetTtoNQ2qVaM8NBBXv568BE7aTWRkQ/mVm86DPkBPdR/niiA XonGc+CcuSwXjhk9hFAS0vdGXgliCqnHVIyJq8WHlwS7FU0o/Xqw+n7qk8mzjiHAw0ql y9Tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; 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=v52HFuTCXUvG1XRtRuRTCazHge7vvylvOTzC5OcoPzc=; b=Ux6aRQ2dLNS2aS92O5szMJGEbLLGNqkCzjaM0cSNmyrOQup/Ns4rvbrCo64+gFXchg lJew9JYj9aUeJBPyr0UFonoxIvTbPgeRS8Xp1kEYVqWU9Tvbqp1mcGlpHNS8RfITV5rg ab0YUU8AsOeO0aUqBNsqrdO52kd8aQLlIu6brLgn7VVgqS79LJaCUCvpW/AQuOJ+ODzK rXZBkXjS7unQ8irEfGZDIeb5ZFF00Quliiey46Sk6lXshSQPxdNhTPZ7OlkQdEFLF6Dx hSC1E2M5+Dt4iRe/Fd8Su3o6FXdvHS2iCkhg5qxGp8ItUT1DS5gPdalFYzWKs5pGYhoh SgYQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM531rZqeORoLR8M4p5jNOHs5tpfiXdCoGhC+LJaKAULbgIC1VsNVX MNT0rtSW+puGvjNXWjt3fNQ= X-Google-Smtp-Source: ABdhPJw4DC6CmribeuiOnvNz63ocvQhmPGtCd/QwjBOIWUdv4nToxBWlq94AIvWmNkS+ozMPbFwPWg== X-Received: by 2002:a9d:7dcd:: with SMTP id k13mr2332491otn.236.1601378563997; Tue, 29 Sep 2020 04:22:43 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6830:459:: with SMTP id d25ls1015357otc.7.gmail; Tue, 29 Sep 2020 04:22:41 -0700 (PDT) X-Received: by 2002:a05:6830:1d9a:: with SMTP id y26mr2279243oti.168.1601378561646; Tue, 29 Sep 2020 04:22:41 -0700 (PDT) X-Original-Sender: christian.braune79-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:26260 Archived-At: ------=_Part_162_477790911.1601378560936 Content-Type: multipart/alternative; boundary="----=_Part_163_1389906894.1601378560937" ------=_Part_163_1389906894.1601378560937 Content-Type: text/plain; charset="UTF-8" Hello, I am trying to generate reveal.js slides from markdown that contain code. Since v4.0.0 reveal.js supports fragmented (step by step highlighting) of code lines. The syntax should be something like this: ~~~java [1-3|4-6] ... ~~~ The above example should generate something that shows the entire code, but on the first slide lines 1-3 are highlighted, on the seconf lines 4-6. [1] When compiling the markdown to revealjs (specifying explicitly that I want to use revealjs@4.0) the result contains no code highlighting. In fact the code block is completely messed up. When removing the square brackets, everything is fine. I am using pandoc v2.10.1 . Is there a way to achieve this or is the reveal.js version not yet completely incorporated into pandoc? Thanks and regards Christian [1] https://github.com/hakimel/reveal.js/issues/2371#issuecomment-619835972 -- 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/2b03582e-4cb0-452d-a138-571658329605n%40googlegroups.com. ------=_Part_163_1389906894.1601378560937 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello,

I am trying to generate reveal.js slides from mar= kdown that contain code.

Since v4.0.0 reveal.js supports fragmented = (step by step highlighting) of code lines.
The syntax should be somethin= g like this:

~~~java [1-3|4-6]
...
=
~~~

The above example should generate somethi= ng that shows the entire code, but on the first slide lines 1-3 are highlig= hted, on the seconf lines 4-6. [1]

When compiling = the markdown to revealjs (specifying explicitly that I want to use revealjs= @4.0) the result contains no code highlighting. In fact the code block is c= ompletely messed up. When removing the square brackets, everything is fine.=
I am using pandoc v2.10.1 .

Is there a way to achieve this or is= the reveal.js version not yet completely incorporated into pandoc?

Thanks and regards
  Christian
<= br>
[1] https://github.com/hakimel/reveal.js/issues/2371#iss= uecomment-619835972

--
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/2b03582e-4cb0-452d-a138-571658329605n%40googlegroups.= com.
------=_Part_163_1389906894.1601378560937-- ------=_Part_162_477790911.1601378560936--