要创建分隔线,请在单独一行上使用三个或多个星号 (***)、破折号 (---) 或下划线 (___) ,并且不能包含其他内容。

  1. ***
  2. ---
  3. ___

以上三个分隔线的渲染效果看起来都一样:


分隔线(Horizontal Rule)用法最佳实践

为了兼容性,请在分隔线的前后均添加空白行。

✅ Do this ❌ Don't do this
Try to put a blank line before… --- …and after a horizontal rule. Without blank lines, this would be a heading. --- Don't do this!