From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32490 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Attribute-less Markdown from web page Html Date: Tue, 25 Apr 2023 22:39:51 -0700 Message-ID: <1E55C9DB-9A8C-4064-9927-2EC8B70076A0@gmail.com> References: <8AD0B607-B556-48CC-83AA-7D0BACD3B8BE@halloleo.hailmail.net> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.3\)) 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="20081"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDW7ZIEHTIIBBKXSUKRAMGQEAQBDBTA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Apr 26 07:39:58 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-io1-f55.google.com ([209.85.166.55]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1prXsk-00052B-CR for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 26 Apr 2023 07:39:58 +0200 Original-Received: by mail-io1-f55.google.com with SMTP id ca18e2360f4ac-7638744ba8csf503506239f.0 for ; Tue, 25 Apr 2023 22:39:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1682487597; cv=pass; d=google.com; s=arc-20160816; b=Olr4j62cPhmQNGcS7xy9y0AKtWmyCjBUKkgfA2ltSOrNKf9d/ptH3TAU2qmqfmsIPZ 4068v4nEKTItBlOaZYYWO/6H8mGyts0i4p1zlMXPO29biiVM+LDG5BVQPDOtogZ8suD1 E8ozz3BlEKEYxi34kd+cnRbRIDzVJuhoQFuzKsTBIHMq0cP7fDSK3F+ElIje3tYOsaA5 JyWA8c713qtgxLHeTFwUMxw9N2dkbMyd9Vsq+2KQ8BQ6A3GCwc+xITOGxRiBFm7QccJi VPMCVanjJHB6k22GGp2H313RBh+Bwhj0ZpXjhMQlSBCehcPvKcnmIOcFQClGessqQqHj rVtw== 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:message-id:in-reply-to:to :references:date:subject:mime-version:content-transfer-encoding:from :sender:dkim-signature:dkim-signature; bh=OLGlZhk7ZXXnFZCoR3ahR/j5ofEmeipKV94IVmCs+Ew=; b=e0eQM0FRvd6KNcVClMA6Uj6xxUtW3/t6VKcxPvXk73rAebAXUcxGKfMbyjjyTfcLFi KASbcQ2jr+5cFBRlu7Z8bM3QxGWwu7asPlXXz7DB0m4S38il4+IF7gpVb6t+xxHhaxef 2er0gi7DedKgasGepzn26Wef81r/x2zCoph0o3SgY2K/FMDuS2/Sp/2Cutx7Ba6v2EEc 98RjEuEaVUbhDEQskssXd3ZVNU2hpzFcO741kXolgx+1tR+aEe1h3PjHxpsF+ofNU/yO qPEL7zEKKrW7A5hbZ6q3ZZzdvv7un7ik67kva1j3+e2QFKzrhxgIorgO/x+0JAumxRrs 7jOQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=Efc8NVgV; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::62e as permitted sender) smtp.mailfrom=fiddlosopher-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=20221208; t=1682487597; x=1685079597; 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:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=OLGlZhk7ZXXnFZCoR3ahR/j5ofEmeipKV94IVmCs+Ew=; b=hYWdz8n3y7UjvZ7ZCtcr19OGRsix0sVei+GPxzWf80AZD9YWb5lvWsr/I+ZDzvbrZv /2r3tZ0X6+vA0thAqfMB7rZq3YVpsluE6nNy3kZX3dYU8KZA9Sb/hKiOgUuP0Ls9+9h8 6y6+zuJJNy+R/yvR4hC4MzlML2Awj+VRoIqIr5/KdL1Qn0hR68Q1/tzQVLfQcG0qyPce G57hWdiw1vp2hohdYJb4x8a11HuYF/CxRQQmUFhU8Rrud/MVZnFwYsiTy1Zo+sCCQ/ms C+miFsXTBYwVS3tmmn1nZmaGoy8+T/iU3U75A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682487597; x=1685079597; 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:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date:message-id :reply-to; bh=OLGlZhk7ZXXnFZCoR3ahR/j5ofEmeipKV94IVmCs+Ew=; b=PHATCCPcIlCtH9VWHeJb2PSRVpx7RqTzNkU8axArGNWCLjmYvN78231iKHo1UbPacx /WLmdRblD2Y5RnWjqJ6amXwuc+yOlgFR/+tNg5bI3380ILvmMOpYA11zzH3PyW7qYiuo c1AlNrsWxm/+dTKxJaxU8upx1zi0aoP98HWQh3+zyc0fv1OpaHlHLpKwigugLFvmdDxe q/3/1sMFxdMzPdlhXpdcDmh/QFN9U8wY5PUU3M5npfoNzHBsuMGu0sjDnmq6G7czu+ZK wl6rFWSKQAJGjlsgYQ8WGghbpXum7dHocnmEIc8lfKBMD/ej1Tl X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682487597; x=1685079597; 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:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:x-beenthere:x-gm-message-state :sender:from:to:cc:subject:date:message-id:reply-to; bh=OLGlZhk7ZXXnFZCoR3ahR/j5ofEmeipKV94IVmCs+Ew=; b=VGd423+LA/R445po8bZSXDKUFQnOOok9fTuW4sdyh/XL5rGfV/YRd4eCp3S45btkj7 zyZ8axS1lZC6HnKrIUqpqB3TLuKU03+jN9p3uK1XuH7bZ7VvyEpgSx2yS7yqZ76ilTLr gb9mzp42r4/eoApgG2WAw9XhWCbtrhPCkmreKKxx+YWQ2fhVgFGP/q/MuvQDqKJdnQzj DzjvaUI6Ubvt6vRr6HnS8XqqduB6DZ6X7nsB6ah7U6EjrQFtAFBmhnZhlo Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AAQBX9cgKA2TZJ6ggUuhhQUo9a+oQyzWIwM2OQVDfika7QPjkYk+tI5A VOcZ2OQ0GGMPkAySCZQnNKg= X-Google-Smtp-Source: AKy350ZKEUHwuq3QENlXHCkfsg4avm6vLYJFomwYY67PndUSjGUNGNUtGR1D1FK72dyI9N0kwUn/rw== X-Received: by 2002:a02:95c2:0:b0:40d:a4ba:4cbe with SMTP id b60-20020a0295c2000000b0040da4ba4cbemr8943240jai.4.1682487597141; Tue, 25 Apr 2023 22:39:57 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6e02:3489:b0:32a:ad14:88b with SMTP id bp9-20020a056e02348900b0032aad14088bls5664688ilb.0.-pod-prod-gmail; Tue, 25 Apr 2023 22:39:54 -0700 (PDT) X-Received: by 2002:a92:de4f:0:b0:329:6231:68d6 with SMTP id e15-20020a92de4f000000b00329623168d6mr9809805ilr.3.1682487594368; Tue, 25 Apr 2023 22:39:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682487594; cv=none; d=google.com; s=arc-20160816; b=Tly/NGbOzb9uRGff6rY3WGObS+1O+svpzUb/P7Zb/MHc0CaZzsSajT5Smw9GHCWlCv 7zRsX6bj4qbLXPWX1AGcs5E1IrtM3kTDCe0M32zG6dnF4ArT/tOzl4OwU8eh1WktpC5x cvJExSBk0+2ESXYFCRifQZ4N1Zj30lVUKn49uXE00LMAE4vfAwBBbIxUp48R19oNVN3N OXKWYy9jdkcXEAVONK2ubnnBNw2/RSXI9GU35R8adKW7jzj/+XL/8HWpsnv8NAXo/6Ht GJkdagM8d8Wsnpa8vMUyH40B1dJWg+AoxKCC76AU2FV1Jls0GT85yfjlR8LGx8L0SOV9 LTDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:dkim-signature; bh=o/F9w2vYr0ATNO30gyHwMEQgSGeFWkNll4MC17AE0Qc=; b=wAQhB5loMUfc3JcOw7BsbrB4tv2a1eoI7xCd8998+9MxV9rFsMJjLSlsxk+ODImEEd 1OULPF/h8YhqBjTfgZW228BNnMZ4VCxYLrAtRj5uVSXh9CWOBxlpDNt/468XDhErLeX2 nEXEI5CqyxAo5+/44L+EUhQ1Kwh0A8Dgkv742VcZEPJGRDkWJGNBxg3Dz2/6Dx1ELT3Z 6GJCSWqB/V3JecMT/A/ltDRqp55p5LnvIAGmwpAW8tnxpV0CiS44DFlVO2K92tDhBrBm p9MnidqJcBH7T8hOjn2j7SbF8cuj5m8+QN9/W0vqlVXokg4VYg5g3Lq40VuYcK2TOSaA jHZg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=Efc8NVgV; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::62e as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com. [2607:f8b0:4864:20::62e]) by gmr-mx.google.com with ESMTPS id j14-20020a056e02220e00b00329639fc241si1090280ilf.3.2023.04.25.22.39.54 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 25 Apr 2023 22:39:54 -0700 (PDT) Received-SPF: pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::62e as permitted sender) client-ip=2607:f8b0:4864:20::62e; Original-Received: by mail-pl1-x62e.google.com with SMTP id d9443c01a7336-1a9253d4551so53071765ad.0 for ; Tue, 25 Apr 2023 22:39:54 -0700 (PDT) X-Received: by 2002:a17:902:8c8b:b0:1a1:cef2:accf with SMTP id t11-20020a1709028c8b00b001a1cef2accfmr19602471plo.30.1682487593196; Tue, 25 Apr 2023 22:39:53 -0700 (PDT) Original-Received: from smtpclient.apple ([2601:644:4700:2110:29e1:9b96:fa1d:a88f]) by smtp.gmail.com with ESMTPSA id 65-20020a630944000000b005136b93f8e9sm8677200pgj.14.2023.04.25.22.39.52 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Apr 2023 22:39:52 -0700 (PDT) In-Reply-To: <8AD0B607-B556-48CC-83AA-7D0BACD3B8BE-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA@public.gmane.org> X-Mailer: Apple Mail (2.3696.120.41.1.3) X-Original-Sender: fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=Efc8NVgV; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::62e as permitted sender) smtp.mailfrom=fiddlosopher-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:32490 Archived-At: Turning off -link_attributes should do it, but looks like you tried that. I'd have to look at an example of the input that produces this with these s= ettings. If you don't need fancy features, you could also try `-t commonmark` or `-t= markdown_strict`. > On Apr 25, 2023, at 5:32 PM, Oliver wrote: >=20 > Hi all >=20 > I try to use Pandoc to convert web pages to markdown without all the clas= s clutter like `{.underline}`, etc. >=20 > So I try >=20 > ``` > pandoc -f html -t markdown-raw_html-native_divs-native_spans-fenced_divs-= header_attributes-auto_identifiers-inline_code_attributes-link_attributes-r= aw_attribute-simple_tables-multiline_tables-grid_tables page.html > ``` >=20 > and it works reasonably well, but I still get a bit of class clutter like >=20 > ``` > {.v-visible-sr .js-screen-reader-info} > ``` >=20 > or attributes like >=20 > ``` > {title=3D"sometext=E2=80=9C} > ``` >=20 > , both after links >=20 > How can I supress these? >=20 > I want really only the text and (image) links. >=20 > Any help much appreciated! >=20 >=20 > --=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 pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/msgi= d/pandoc-discuss/8AD0B607-B556-48CC-83AA-7D0BACD3B8BE%40halloleo.hailmail.n= et. --=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/1E55C9DB-9A8C-4064-9927-2EC8B70076A0%40gmail.com.