emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@posteo.net>
To: "Sébastien Gendre" <seb@k-7.ch>
Cc: General discussions about Org-mode <emacs-orgmode@gnu.org>,
	orgmode@tec.tecosaur.net
Subject: Re: Enhancing the HTML exporter: Create a new backend or contribute to the upstream
Date: Sun, 01 Sep 2024 15:58:40 +0000	[thread overview]
Message-ID: <871q23qsb3.fsf@localhost> (raw)
In-Reply-To: <87h6b51llh.fsf@k-7.ch>

Sébastien Gendre <seb@k-7.ch> writes:

> Here is what I plan to add, on each generated webpage, compared to what
> the built-in HTML exporter already provide:
>
> - A side panel containing:

Some kind of side/top panel would make sense, I think.

>   - A site web name and/or logo

+1

>   - A search field for an local search engine

+1, but I would like to know more details - will it be something you
want to ship with Org mode, as JS?

> For now, the search engine use the software Pagefind:
> https://pagefind.app

It is a very young project (2022). Any alternatives? Preferably,
well-established.

>   - A main navigation menu, built from a dedicated org-mode file

Maybe, but that's probably a feature for org-publish.
Maybe we can somehow integrate it with TOC functionality.

More generally, some kind of side (or not side) panel sounds
reasonable. What to put inside is less important as long as we allow
customizability.

> - A more "modern" look

That can be anything, so I need more details to say anything.

> - More special blocks available like:
>   - A question/answer bloc, where the answer is hidden
>   - Important, warning and tip blocks
>   - A generic hide-show bloc

Are you referring to extending the default CSS? Something else?

> - Tab to select which content to see

May you elaborate?

> - Bibliography on a dedicated webpage when using org-publish

Probably fits within "multipage export" feature we are discussing now
https://list.orgmode.org/orgmode/ZoUdiTfbYqzPwTiX@orm-t14s/T/#u

> - A button to download the Org-mode file source of a webpage

On top panel? It might be useful as default top/side panel settings in
org-publish. Not sure.

> - Possibility to set the home page, when there is no index.org

May you elaborate?
   
> And the menu is made from an org-mode file where first level heading
> become menu item and links are simple org-mode links.

This kind of idea should be discussed in more details.
I see it as a way to define special HTML markup from Org markup, but it
is a question how to implement such a feature.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


  parent reply	other threads:[~2024-09-01 15:58 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 [this message]
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
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=871q23qsb3.fsf@localhost \
    --to=yantar92@posteo.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=orgmode@tec.tecosaur.net \
    --cc=seb@k-7.ch \
    /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).