Skip to content

Multi-paragraph dev comment formatting issue #439

Description

@0xMohandes

Single paragraph dev comments are shown as italic because of using _ before and after it.
_ does not work for multi-paragraph text properly, so instead it shows up as _
I encountered this, and I saw someone has raised this two months ago on stackexchange:
https://ethereum.stackexchange.com/questions/142917/how-to-get-solidity-docgen-to-properly-render-multi-paragraph-devs

An easy fix would be using <em> ... </em> instead of _ in themes/markdown/common.hbs
replacing _{{{natspec.dev}}}_ with <em>{{{natspec.dev}}}</em>
Can someone please action this if it makes sense?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions