For pedantry's sake:
Two dashes -- -- -- in Markdown is usually rendered as an en-dash -- more common in British-adjacent styles and usually surrounded by spaces.
Three dashes---------in Markdown is rendered as an em-dash---more commonly associated with American styles and usually (though not always) without spaces.