unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kaushal Modi <kaushal.modi@gmail.com>
To: Help Gnu Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Are there some HTML tags that I can use to make certain blocks auto-hide in eww?
Date: Thu, 27 Sep 2018 09:18:06 -0400	[thread overview]
Message-ID: <CAFyQvY2vD_UzWTkunqW8y_+-S4bONFOvhK7K=mw1g4xv-djBTg@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 951 bytes --]

Hello,

In my blog, I insert 2 ToCs. One which includes all levels of headings, and
is inserted in the sidebar when the screen is wide enough. The another
shorter ToC is inserted in-page when the screen is narrow. (Well, in the
below example, both are the same.. but I didn't also want to paste a
screenshot that's bigger than what it already is).

On regular web browers, I don't see both ToC at the same time because I
control which one of the two is shown, using CSS.

Eww does not use the CSS. So it shows both simultaneously as you seen in
the screenshot (which might show up as attached image based on your email
client).

So.. Is there a special tag/class that I can use to prevent showing one of
the two ToCs in eww? If not, can a feature like that be added?

Here's the page URL I used for the screenshot if you want to try it
yourself in eww: https://scripter.co/nim-deploying-static-binaries/.

Thanks!

[image: image.png]

--
Kaushal Modi

[-- Attachment #2: image.png --]
[-- Type: image/png, Size: 96861 bytes --]

             reply	other threads:[~2018-09-27 13:18 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-27 13:18 Kaushal Modi [this message]
2018-09-27 13:50 ` Are there some HTML tags that I can use to make certain blocks auto-hide in eww? Noam Postavsky
2018-09-27 13:55   ` Kaushal Modi
2018-09-27 14:25     ` Noam Postavsky
2018-09-27 15:25       ` Kaushal Modi
2018-09-27 15:42         ` T.V Raman
2018-09-27 15:45           ` Kaushal Modi
2018-09-27 15:48             ` T.V Raman
2018-09-27 15:50               ` Kaushal Modi
2018-09-27 15:54                 ` T.V Raman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAFyQvY2vD_UzWTkunqW8y_+-S4bONFOvhK7K=mw1g4xv-djBTg@mail.gmail.com' \
    --to=kaushal.modi@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).