From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.help Subject: Re: On markdown images Date: Sat, 1 May 2021 16:59:27 +0700 Message-ID: References: <874kfn292f.fsf@disroot.org> <87a6pfh1dj.fsf@zoho.eu> <875z03ffhm.fsf@zoho.eu> <87y2czc68z.fsf@zoho.eu> 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="3989"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 01 12:01:06 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lcmQs-0000wV-OC for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 01 May 2021 12:01:06 +0200 Original-Received: from localhost ([::1]:42238 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcmQr-0004OE-Nz for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 01 May 2021 06:01:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52012) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcmPX-00041I-FO for help-gnu-emacs@gnu.org; Sat, 01 May 2021 05:59:43 -0400 Original-Received: from mail-vs1-xe31.google.com ([2607:f8b0:4864:20::e31]:43667) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lcmPV-0006Lr-NE for help-gnu-emacs@gnu.org; Sat, 01 May 2021 05:59:43 -0400 Original-Received: by mail-vs1-xe31.google.com with SMTP id m17so474812vsn.10 for ; Sat, 01 May 2021 02:59:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=/mBOC2HSVNYzk/zD7ghHHUSsf5jt1KjJ1+QKYA05Dws=; b=pBoDJUHVdm2nGBL/k+n84ciBFtkFcm+mS7XIfie4FPiS6XQBlSEPX8IKDU/2QqSNTW F89bBzoU8PcQxaX4eZ7HGD89oEqBz0BvyY4mOL67ao2FlsaExIaDu0S6JroMDRf27woy 2PsyUYGIF+fiqf9TE/vg6BYRbsXy+zlCYgwvnrUnVEWxbunAkNqBorXG79YnK4VNl3HJ GJM9BXGQt0MFO+80I9lne+wVleo3xIG/6PGIIbqoztPHCuq1TW02biByVuXXqaHd5Hpq kT6E5bKbZ6HMhtBp5zIGrs4hnTkbMb3BsL31W8OdtFPKy9n1rXTg8cHEEAT0Es/4HqAp GVHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=/mBOC2HSVNYzk/zD7ghHHUSsf5jt1KjJ1+QKYA05Dws=; b=eRkDtQ7UXxkVNZ3eENgy9RvgVXc/CQN182L7YlQa2svTm7EyNOrTsS82cxPjKQHfCy lTRtOmxluc63o+WjHhGE9p3OFuNMag3NAc27xgqV5JoQSS+ag6e1SM6vyGEJLnT+Xa+v 5QhOGmZUeKFG6d+sjwpQqxgnAy3j0fDBadEceXZkiq8T/kg8b/tKKCP49UjoyC19fY1k jbhJHRunvUrb+6U6mVm34gBKnwRGj67GzZQ1V3YejT4qy6o8bhGOGZD51SWvnYgJYv2K W0NNCbOvZkMF9i3cHmTalfIFVhUnPcqb77opdKXb9OvM/P7uIYWUweeSP1LHYIepJvFG wavg== X-Gm-Message-State: AOAM531G3M8JsIIb4Hev8E1UVHYRmREXw1R/8DhjU9r2xMgWfPe9zk57 +yjzn1XLeEyAcD9coN5MYKQNz6Vx25wlQJOm7YY1pefNfkdQ8g== X-Google-Smtp-Source: ABdhPJxiIHugOK4kN5AonFY9tbKyvnek2vjIxHqEGuQa0Uc7ZmuAwa/PUps49do8CLobzJQ8p9+utsocYelUtko3+5w= X-Received: by 2002:a05:6102:319c:: with SMTP id c28mr10517293vsh.38.1619863179450; Sat, 01 May 2021 02:59:39 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::e31; envelope-from=yurivkhan@gmail.com; helo=mail-vs1-xe31.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:129267 Archived-At: On Sat, 1 May 2021 at 16:43, Jean Louis wrote: > I think this is minimal valid SRC IMG tag in HTML: > > > > So far none markdown that I know but Discount markdown does not > provide height, width attributes. This makes HTML invalid and in > general can disturb the HTML display and accessibility. Such pages > will not pass the test here: https://validator.w3.org/ You have been misinformed on that point. The width and height attributes are, and always have been, optional on an img element. See specs: HTML 5 =E2=80=94 https://www.w3.org/html/wg/spec/the-map-element.html#attr-= dim-width HTML 4.01 =E2=80=94 https://www.w3.org/TR/html4/struct/objects.html#adef-wi= dth-IMG HTML 3.2 =E2=80=94 https://www.w3.org/TR/2018/SPSD-html32-20180315/#img HTML 2.0 did not have width and height attributes on img elements.