AFAIK you can't change automatic styles but you can use a Lua filter to replace Pandoc's Strong elements with Span elements with a custom named style. ``````lua function Strong (elem) return pandoc.Span(elem.content, { ['custom-style'] = 'Semibold' }) end `````` Now define a named character style 'Semibold' in your reference doc and run pandoc with that reference doc and this filter. Den ons 19 jan. 2022 06:00Nandakumar Chandrasekhar skrev: > Dear Folks, > > I am converting a markdown document to DOCX using a customized reference > doc initially procured from Pandoc according to the documentation here. > > I am able to set the bold font-weight to semibold for the title and > heading fields. > > However, I do not see. a way of setting all bolded text in paragraphs and > bulleted lists to semibold. > > It looks like I need to set the strong style to semibold to achieve this > but Pandoc does not support styling that element as far as I can tell. > > Are there any workarounds available are will this feature be supported in > the future? > > I would prefer to not have to do any manual post-processing after Pandoc > generates the document. > > Thanks in advance. > > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/c041b5d2-b11f-409b-8f45-815263626111n%40googlegroups.com > > . > -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CADAJKhAtEK5%3DyBm9U51O6jRsUJBVufaXr6nVPafMH%2B85Hao1gg%40mail.gmail.com.