From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/20717 Path: news.gmane.org!.POSTED!not-for-mail From: news-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA@public.gmane.org Newsgroups: gmane.text.pandoc Subject: How to avoid writing class attributes of links and inline code Date: Tue, 31 Jul 2018 22:23:00 -0700 (PDT) Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_18533_604862979.1533100980711" X-Trace: blaine.gmane.org 1533100855 12770 195.159.176.226 (1 Aug 2018 05:20:55 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 1 Aug 2018 05:20:55 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCEMPL7DTEMRBNMHQXNQKGQEGME7T5I-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Aug 01 07:20:51 2018 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-oi0-f60.google.com ([209.85.218.60]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fkjZ5-0003EZ-Ii for gtp-pandoc-discuss@m.gmane.org; Wed, 01 Aug 2018 07:20:51 +0200 Original-Received: by mail-oi0-f60.google.com with SMTP id m197-v6sf15714339oig.18 for ; Tue, 31 Jul 2018 22:23:02 -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=Pd0vFujz2kuV3b+cLiy4MjHvAKdMGXQdKX2gf3m59E0=; b=hpBPFgMHqmgoRrDje4F2h2zMaeREW5ofJmljyHUnMPikpWWkdsnF0RbdgcO8KZOF75 vDzAehQWq6JDDDA1WxX+sNhDzpXR5fuXSoFPgNCYTOAzhQ/P3yKu1whCVOhW/Vc9DQBi YZYvs7TbDbUrFNvEUeDQq4YQ03ViYd83zZtZCEkGUyfo7SX9vjFejBa4iJVm1lHkJoJN HBRi1ooaYjw1ICmZPeJYAtHMK9VU8qeR9V9LhJjZCZKVaWlWqz2UzVXI6yqNG9IwM0X6 Z7QtrYiBIrkyenpQzmMg6igs4qRgwwarf6eZSeEE7ih4tOhqhH2I9zxbmOD0mRZqUkpN 3sUg== 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=Pd0vFujz2kuV3b+cLiy4MjHvAKdMGXQdKX2gf3m59E0=; b=nmTsAf5ba8TTHQjMAi9TRfnOcVaIrjShjvIvEBQZuRCBeX2WbDT+B8v9Ov0TRSOK3c V27ZoDzNx/F1BsSxfrQoK+hvePoHQq1AseW5BBet7YiHXz/2VmqOw03m6W3dOVUwebu7 aVYPIsSpSEkwVBHflXpyIsecUXkGMKfWGhZCi7tnBeyMTWpGBsTXWBoI6c5FLOIW6L9m zuPGtxHVmej3yWRQWtLvw+ew6CVg0A0z97sdzrgX9M8DhObp975Rsw3qNfzowuZ5lTTw AglUcOvp8QnAK8dOzngTD6FC0SdnYaRIk5t7w1vuF9kCdaXMjDZixaveSn5pMR+anwK7 jMtA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOUpUlHBHQ0WKPLBGrG0wY7v60W9vPCLyJ7hLHI33C4nHeNT3E4nY65k DKlabg+RPdy2tyyNq25ZPfw= X-Google-Smtp-Source: AAOMgpfSq1CrINdlRfS9GlXCIAvu514sihq0wH4MusKAFAGu+hLDJo/HgjBNqdYCkSHCv3nwe8WP0A== X-Received: by 2002:aca:c6ca:: with SMTP id w193-v6mr21280oif.1.1533100982288; Tue, 31 Jul 2018 22:23:02 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aca:a9d0:: with SMTP id s199-v6ls8297397oie.5.gmail; Tue, 31 Jul 2018 22:23:01 -0700 (PDT) X-Received: by 2002:aca:f495:: with SMTP id s143-v6mr20985oih.7.1533100981175; Tue, 31 Jul 2018 22:23:01 -0700 (PDT) X-Original-Sender: news-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA@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-Spam-Checked-In-Group: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:20717 Archived-At: ------=_Part_18533_604862979.1533100980711 Content-Type: multipart/alternative; boundary="----=_Part_18534_1341833055.1533100980711" ------=_Part_18534_1341833055.1533100980711 Content-Type: text/plain; charset="UTF-8" I am converting HTML to markdown. and I have trouble with the follwoing HTML snippet: Here comes a link with a class. I do not find a way to convdert this to plain markdown withouyt any attributes. I always get: Here comes a [link with a class](hallo){.superlink}. despite the fact that I ahve alreay switch off the header_attributes and raw_attribute extensions. I have the same problem with classes to the code tag in the HTML: Here we have a some code with a class. How can I make pandoc not to write out the class attributes to the Markdown output? -- 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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/a3fe3bb2-b7a8-4a05-a5be-b76e2cc3c394%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_18534_1341833055.1533100980711 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I am converting HTML to markdown. and I have trouble = with the follwoing HTML snippet:

Here comes a <a class=3D"superl= ink" href=3D"hallo" >link with a class</a>.<= br>

I do not find a way to convdert this to plain = markdown withouyt any attributes. I always get:

Here comes a [link with = a class](hallo){.superlink}.

despite the fa= ct that I ahve alreay switch off the=C2=A0 header_attributes and raw_attrib= ute extensions.

I have the same problem with= =C2=A0 classes to the code tag in the HTML:

Here we have a some <= code class=3D"superclass">code with a class</code>.

How can I make pandoc not to write out the clas= s attributes to the Markdown output?

--
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/= msgid/pandoc-discuss/a3fe3bb2-b7a8-4a05-a5be-b76e2cc3c394%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_18534_1341833055.1533100980711-- ------=_Part_18533_604862979.1533100980711--