emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Enhancing the HTML exporter: Create a new backend or contribute to t


From: Ihor Radchenko
Subject: Re: Enhancing the HTML exporter: Create a new backend or contribute to the upstream
Date: Sun, 01 Sep 2024 15:58:40 +0000

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>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]