Re: [PATCH] Add code element inside src-block in ox-html

2025-04-29 Thread Nikolaos Chatzikonstantinou
On Sun, Apr 27, 2025, 4:48 AM Ihor Radchenko wrote: > Nikolaos Chatzikonstantinou writes: > > >> So, I think this is probably slightly unusual in practice, but also > fine to do. Consistency with the klipsify version seems worth it, > regardless of which way we go. > > > > In HTML they'd need a

Re: [PATCH] Add code element inside src-block in ox-html

2025-04-27 Thread Ihor Radchenko
Nikolaos Chatzikonstantinou writes: >> So, I think this is probably slightly unusual in practice, but also fine to >> do. Consistency with the klipsify version seems worth it, regardless of >> which way we go. > > In HTML they'd need a way to denote short code fragments like > int x = 0; and lo

Re: [PATCH] Add code element inside src-block in ox-html

2025-04-21 Thread Nikolaos Chatzikonstantinou
On Sun, Apr 20, 2025 at 11:41 AM Timothy wrote: > On Wed, Mar 12, 2025, at 1:51 AM, Ihor Radchenko wrote: > > Nikolaos Chatzikonstantinou writes: > > > >> Shouldn't the source blocks be using the element? > >> > >> This patch is untested, I can pay more attention to it if first the > >> maintain

Re: [PATCH] Add code element inside src-block in ox-html

2025-04-20 Thread Timothy
y since is used with > `org-html-klipsify-src'. Although, I'd be careful moving class property > into code - it might potentially block CSS selectors. > >> From 61ff4297044beb9d62673557d311475c897f057c Mon Sep 17 00:00:00 2001 >> From: Nikolaos Chatzikonstantinou >>

Re: [PATCH] Add code element inside src-block in ox-html

2025-03-11 Thread Nikolaos Chatzikonstantinou
in , the code element can always be selected with a child selector. > > From 61ff4297044beb9d62673557d311475c897f057c Mon Sep 17 00:00:00 2001 > > From: Nikolaos Chatzikonstantinou > > Date: Wed, 26 Feb 2025 03:51:36 -0500 > > Subject: [PATCH] Add code element inside src-block in ox-html >

Re: [PATCH] Add code element inside src-block in ox-html

2025-03-11 Thread Ihor Radchenko
Chatzikonstantinou > Date: Wed, 26 Feb 2025 03:51:36 -0500 > Subject: [PATCH] Add code element inside src-block in ox-html > > * lisp/org/ox-html.el (org-html-src-block): Add HTML code element inside > pre element for Org source blocks exported to HTML. > --- > lisp/org/ox-htm

Re: [PATCH] Add code element inside src-block in ox-html

2025-02-27 Thread Rudolf Adamkovič
Nikolaos Chatzikonstantinou writes: > Shouldn't the source blocks be using the element? > > This patch is untested, I can pay more attention to it if first the > maintainer(s) agree with my opinion. I thought the tag is good > for semantics. This makes sense in the light of the HTML spec for `

[PATCH] Add code element inside src-block in ox-html

2025-02-26 Thread Nikolaos Chatzikonstantinou
17 00:00:00 2001 From: Nikolaos Chatzikonstantinou Date: Wed, 26 Feb 2025 03:51:36 -0500 Subject: [PATCH] Add code element inside src-block in ox-html * lisp/org/ox-html.el (org-html-src-block): Add HTML code element inside pre element for Org source blocks exported to HTML. --- lisp/org/ox-html.e