RMarkdown: Different styles for same-level headers in DOCX output

Is there a way to make headers of the same level have different styles with RMarkdown?

# Introduction  {.introduction custom-style='introduction'}
Some text ...

# References {.references custom--style='references'}

In my DOCX output file, both headings have the 'Heading 1' style. Adjusting it in Word would always change the style of both headings.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.