From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32489 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Oliver Newsgroups: gmane.text.pandoc Subject: Attribute-less Markdown from web page Html Date: Wed, 26 Apr 2023 10:32:15 +1000 Message-ID: <8AD0B607-B556-48CC-83AA-7D0BACD3B8BE@halloleo.hailmail.net> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 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="22541"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCEMPL7DTEMRBGPCUGRAMGQE6XBJKZA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Apr 26 02:32:33 2023 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 1prT5E-0005dd-Bp for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 26 Apr 2023 02:32:32 +0200 Original-Received: by mail-lj1-f186.google.com with SMTP id 38308e7fff4ca-2a8baf3f0f5sf23641361fa.2 for ; Tue, 25 Apr 2023 17:32:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1682469151; cv=pass; d=google.com; s=arc-20160816; b=cZRsRA/MbasqGN1NaTtdxz8BJtQ4btQuVMbtjsIvZdkyDGzYK1DUNbctAo3Rit6tCp JkWyQWV/llLJ/3xkAyqnH0kf7Xl1Sf1vjPA4KpEwB9IniCmRlh/Cb1HtiOxiPCpkXacQ P1ZA04bfsN5T8oOeqTsPMCrsfozqSZMC07Vz13TZJaeZAZfUMQChTx5aB5v/Vltp+CLv 5OWlc3aAKg9W7gDEG4zNvCrsUL2d5RIXwwnqqJl7j0ux+f89Jj/d0NaBT54mSrZiIi3H 0f9nJjkysOuWhueMxnpYUm1WuNKSTYU5vDmkosx+jJ4VMAt9J1uIsX9DegbY1FyRaRSc iajw== 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:content-transfer-encoding :mime-version:message-id:date:subject:to:from:feedback-id:sender :dkim-signature; bh=B/nWYRTIRJkOFWH6tILgN0ADDvtOfTPglyZ54exGb0g=; b=v92HW3sBIFyLupnukN12E/5rqd9WZiqTZlRcCH+1/f/0whGx4iuIbbMuN3JloQ+enk 2DN4MqQI8E6NcG03ZN78NW0IstN18/QDdk+O+QuLOiqIJGSrl6u7Egf+FAfIxzc99xZt 73qBwnw7Yfc/v6JgCKgbDn3/cgJAfDApO6Aa+ZDO5nqlrj976amqxFknAmaN9ymEvhVo HE3szR0riLfL+KWXrqxII+nOokl6SmUz0I4Sc+KkBw4aAELbaS0DMaZxiK5MwY24ZkoT YUtqYzY7Epbco2UP9AptdPyOk/uvnOA+kL3nUwgZh7x9nixDfHneup01RoTN4hlmXPVb IHag== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@hailmail.net header.s=fm3 header.b=ATD7lwMS; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=JLQIHK2H; spf=pass (google.com: domain of news-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA@public.gmane.org designates 64.147.123.25 as permitted sender) smtp.mailfrom=news-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hailmail.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1682469151; x=1685061151; 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 :content-transfer-encoding:mime-version:message-id:date:subject:to :from:feedback-id:sender:from:to:cc:subject:date:message-id:reply-to; bh=B/nWYRTIRJkOFWH6tILgN0ADDvtOfTPglyZ54exGb0g=; b=khC2XGAMapl5nUY880hu7Ic4xcKgKSn2bYeT7EZlOI9d15GoIlTcjiVwvnmF+HXBrE BrzS5LDs8cZMgT3EC8dfsEjXlgFAKPJaL5ffRrRWeWWk38FZuxjH5S5ADiW7GeVe0zoB ncN6ifVDdYaV756pxbJ2M1IwFV3ZNGnxAHNRDxIyQsaw2yY4zid0Hd1xfK0AUx6Fj05T ZhKpx4vWIGPj67/agF4DGuLPzAFxWy+6ilt/MyBUJFQbr9W2JAASvj97d2zoKE8rRH/2 v8VG5M0R0ILrc40xqBPGIdH33XlJxUpkh5/5BrVfyH2zZfd60K6bzG27y1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682469151; x=1685061151; 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 :content-transfer-encoding:mime-version:message-id:date:subject:to :from:feedback-id:x-beenthere:x-gm-message-state:sender:from:to:cc :subject:date:message-id:reply-to; bh=B/nWYRTIRJkOFWH6tILgN0ADDvtOfTPglyZ54exGb0g=; b=kcJAUixEPT//rxX64JeNH+ycaoasb2zrNbBWedIjtyP7/BoAAMMPCuE/Bggmmpgcbt pbwEi6Ee8qOA6chKxOq583xRW8NtuAI6fmBNamwbuq385Of/w/SS9QtkSo3g2+Bf9mPC jrYC/9N10kufSbQlPzsRnzIHASDoLpidZLA5T/ro+HmTAe6ysmUb6nnC3BpQS2+9S/Z0 EMbqwApgmMpR32FkEWYrcT8PNrvXlckcDlmrV/1m4LOtEnorBGiKIc/tSoyvJYq3K1lO Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AAQBX9djuGA7zsAbgpMDcMd1Wmw4aeFpZtgGZAlzTHIB4A/FLAl3CZrj 4vjCE3KgDmvYtDnHb6kDJ1Y= X-Google-Smtp-Source: AKy350an00zSXjPAKTLmtTw9mgmN2eE6s6xGobpcumY8sa/OrTMrGtXu7+tow8Xm4LLz/oYc8qEDBg== X-Received: by 2002:a05:651c:201:b0:2a7:7521:cf58 with SMTP id y1-20020a05651c020100b002a77521cf58mr3841348ljn.10.1682469151678; Tue, 25 Apr 2023 17:32:31 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6512:3c92:b0:4e8:c8b4:347a with SMTP id h18-20020a0565123c9200b004e8c8b4347als3068328lfv.1.-pod-prod-gmail; Tue, 25 Apr 2023 17:32:24 -0700 (PDT) X-Received: by 2002:ac2:59dc:0:b0:4e9:afb3:d56a with SMTP id x28-20020ac259dc000000b004e9afb3d56amr5697050lfn.7.1682469144026; Tue, 25 Apr 2023 17:32:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682469144; cv=none; d=google.com; s=arc-20160816; b=bd8kCJSciG53x1NKIHUnpDKGGxmu1i+QaE+0oYPv0Pc/ZlpKVDCkzSzh+Mq8zhabFW 5M8P6h5waqPOOCQCZzflwJwqySbmPLYxa1rzwNFu23oLyLMQojMD/4oR5L4WoOhAtSg3 QABnSyyjszOxbJ8+3nUa4RC39ULAIR5qtLFGhRN6ywAMrimIRXCKVZ6vXvsAP5RD9dW/ +cjAjZIj2HYbKwbKChkrrSB3b4WSaNOcCSL3a8eVYO/k4Agf6JS2sJwwh6ldlXCpcWfi KOJ4fHwsq77WbiqvP8/ipYlnwtVSvPxDYQsK237p3fUeE9apYSah5iePcZN9VlB2Kkth djig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:feedback-id:dkim-signature:dkim-signature; bh=M01GWPFL/nEr4V+zL2JGNgboUQjT1Z9/1guSe4LZooA=; b=KufkVUx9pxhDUfDFCyby7Xc6hYMHQloO7Id/m8YW2FJPwwtuK/gumx9XiYFR9RXt+p R+l/sWRE6Qq4gIoxjnyuQwUE8NGfxpMZi5DjD+RwI1uEWA9I8GyBjneE/BBLsKlsj4Uj iJuQC4IddfigG0d47mCXwGCxd1DO4YF9RlgsEa78qQ2NWB49/aNLIQ7TZ3looqBI+O3e Nq8ltBfYVJ5Ilrs+YrhQBQnAp7VIthL68B5m4p51b4kwqMNZ0TjFAVRKMPrsfCchyCqW 35Hf6J0EhfPM/X9IJVxSqyJLJXdUm2VYaLUcSJjHhnXGgGmV6Vf7LujZ7mOHqnruHMY/ Soww== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@hailmail.net header.s=fm3 header.b=ATD7lwMS; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=JLQIHK2H; spf=pass (google.com: domain of news-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA@public.gmane.org designates 64.147.123.25 as permitted sender) smtp.mailfrom=news-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hailmail.net Original-Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com. [64.147.123.25]) by gmr-mx.google.com with ESMTPS id d29-20020a0565123d1d00b004dd84067a4asi998702lfv.4.2023.04.25.17.32.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Apr 2023 17:32:23 -0700 (PDT) Received-SPF: pass (google.com: domain of news-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA@public.gmane.org designates 64.147.123.25 as permitted sender) client-ip=64.147.123.25; Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 5206C3200077 for ; Tue, 25 Apr 2023 20:32:21 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Tue, 25 Apr 2023 20:32:21 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfedufedgfeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffokfggtgfgsehtqhhmtd ertdejnecuhfhrohhmpefqlhhivhgvrhcuoehnvgifsheshhgrlhhlohhlvghordhhrghi lhhmrghilhdrnhgvtheqnecuggftrfgrthhtvghrnhephfeuffeitefhieffiedugeejie etueejfeffffehhedtkeefffdugedtudefueelnecuvehluhhsthgvrhfuihiivgeptden ucfrrghrrghmpehmrghilhhfrhhomhepnhgvfihssehhrghllhholhgvohdrhhgrihhlmh grihhlrdhnvght X-ME-Proxy: Feedback-ID: i02894466:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Tue, 25 Apr 2023 20:32:20 -0400 (EDT) X-Mailer: MailMate (1.14r5926) X-Original-Sender: news-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@hailmail.net header.s=fm3 header.b=ATD7lwMS; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=JLQIHK2H; spf=pass (google.com: domain of news-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA@public.gmane.org designates 64.147.123.25 as permitted sender) smtp.mailfrom=news-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hailmail.net 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:32489 Archived-At: Hi all I try to use Pandoc to convert web pages to markdown without all the class = clutter like `{.underline}`, etc. So I try ``` pandoc -f html -t markdown-raw_html-native_divs-native_spans-fenced_divs-he= ader_attributes-auto_identifiers-inline_code_attributes-link_attributes-raw= _attribute-simple_tables-multiline_tables-grid_tables page.html ``` and it works reasonably well, but I still get a bit of class clutter like ``` {.v-visible-sr .js-screen-reader-info} ``` or attributes like ``` {title=3D"sometext=E2=80=9C} ``` , both after links How can I supress these? I want really only the text and (image) links. Any help much appreciated! --=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/8AD0B607-B556-48CC-83AA-7D0BACD3B8BE%40halloleo.hailmail.net= .