mirror of
https://github.com/discourse/discourse.git
synced 2025-06-24 06:44:20 +08:00

Adds support to typing `---`, `___` or `***` to create a horizontal rule. Converting when typing `---` is actually written here as an en-dash + `-`, because the typographer replacements extension turns `--` into an en-dash first. `___` and `***` are only triggered after a whitespace, because they could also mean bold+italic.