emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Orm Finnendahl <orm.finnendahl@selma.hfmdk-frankfurt.de>
To: Ihor Radchenko <yantar92@posteo.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: Enhancing the HTML exporter: Create a new backend or contribute to the upstream
Date: Sun, 8 Sep 2024 21:25:48 +0200	[thread overview]
Message-ID: <Zt36PGP-Pdn22JVJ@orm-t14s> (raw)
In-Reply-To: <87r09uq95g.fsf@localhost>

Am Sonntag, den 08. September 2024 um 18:42:51 Uhr (+0000) schrieb
Ihor Radchenko:
> I agree that including indexer is just a question of adding specific
> javascript.
> 
> But I think that it would be useful to provide some default toggle to
> include such a tool without having to know the details of what js to
> include and where. Just as a simple user option.
>

 whatever. The js is already included in the pagefind distribution, so
it is a simple

#+HTML_HEAD: <script src="./pagefind/pagefind-ui.js"></script>

in the org file and the searchbar html in the preamble (or wherever).

> It should probably work for single page as well. I do not see why
> not.

 sure it works. I just question the raison d'etre, when single page
search is already integrated into webbrowsers. But as always there
will be people arguing that it is necessary to have a search bar with
pop up results integrated into the page and of course there is nothing
wrong with that. I use pagefind myself, but the site I'm working on
(built with the multipage exporter BTW) currently contains more than
400 files where the browser search can't help.

--
Orm


  reply	other threads:[~2024-09-08 19:27 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-28  1:29 Enhancing the HTML exporter: Create a new backend or contribute to the upstream Sébastien Gendre
2024-08-28  1:52 ` Sébastien Gendre
2024-09-01 15:58 ` Ihor Radchenko
2024-09-02  5:09   ` Sébastien Gendre
2024-09-07 11:53     ` Ihor Radchenko
2024-09-08 14:46       ` Max Nikulin
2024-09-08 15:55         ` Max Nikulin
2024-09-08 18:36           ` Orm Finnendahl
2024-09-08 18:42             ` Ihor Radchenko
2024-09-08 19:25               ` Orm Finnendahl [this message]
2024-09-09 16:40                 ` Ihor Radchenko

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.orgmode.org/

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

  git send-email \
    --in-reply-to=Zt36PGP-Pdn22JVJ@orm-t14s \
    --to=orm.finnendahl@selma.hfmdk-frankfurt.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=yantar92@posteo.net \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).