Search code examples
markdowndocusaurus

Underline text with Docusaurus markdown syntax


I'm developing a website using Docusaurus version 2, and would like to underline text. How can I accomplish this?


Solution

  • There is no markdown way to add underline…

    You need to use the HTML tag u or ins:

    # Your title
    
    Start of the paragraph, <u>with an underlined text</u>. 
    <ins>This text is also underlined.</ins>