On 05/17/2023 01:14 AM, ThomasH wrote:


On Wednesday, May 17, 2023 at 3:07:25 AM UTC+2 H wrote:
On 05/16/2023 04:39 PM, H wrote:
> - I need to have a style added to each HTML tag. These do not vary and could be predefined by me.

This should be possible using a Pandoc Lua filter, assigning `element.attributes['style'] = '<your style>'` to each element. But I wouldn't know if there is a way around writing a filter function for each and every relevant element type (para, header, span, ...), though they would mostly be copy-paste.
--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh4Ykp1iOSErHA@public.gmane.orgm.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/39c3adec-4363-43be-ac1f-76e96aeead65n%40googlegroups.com.

My markdown documents for this use are rather simple with a very limited number of tags used. I will look into pandoc filters, as well as creating a new HTML writer based on the existing one since my needs are very specific for this application.

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/bfbf5842-5840-d628-d271-d912dc518157%40meddatainc.com.