On Wed, Dec 11, 2024 at 5:41 AM Cecilio Pardo wrote: > On 11/12/2024 5:33, Richard Stallman wrote: > > >> Texinfo's HTML uses CSS, which I think emacs does not support. > > > > Indeeed, handling CSS would be a lot of additional work. > > > > Does HTML itself have any extensibility, any way to define (in effect) > > macros, so that `...' could translate into `*...*'? > > No. We could use javascript for the browsers, and preprocess with lisp > for emacs if we go that way, but it doesn't sound natural. > This is not quite correct; HTML has DIV and SPAN elements that can attach arbitrary ID's to sections or spans of text in an html document. This is _usually_ used for styling, via CSS, but it would be easy to include CSS in the HTML output that makes code here or code here style the text in italics. This usage is not currently common, but it was part of the original intended usage way-back-when, and I don't know why it wouldn't still work. It would also be pretty easy to add support for such "custom tags" to eww's HTML renderer (shr.el, which seems to be not thoroughly documented, at least in my current install). I admit that I'm not sure why one might want to look at info manuals in HTML format inside emacs, but if it's wanted, it shouldn't be difficult. Apologies if I've added noise due to missing something in the thread. ~Chad