From fc1717780e43d2fbd702963105e9698888f05cee Mon Sep 17 00:00:00 2001 From: Vladimir Vuksanovic Date: Sun, 21 Oct 2018 23:15:10 +0200 Subject: [PATCH] docs(horizontalRule): Change horizontalRule documentation (#606) Fix horizontalRule documentation to reflect its actual purpose --- src/subParsers/makehtml/horizontalRule.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/subParsers/makehtml/horizontalRule.js b/src/subParsers/makehtml/horizontalRule.js index fc87fd2..2a1f814 100644 --- a/src/subParsers/makehtml/horizontalRule.js +++ b/src/subParsers/makehtml/horizontalRule.js @@ -1,5 +1,8 @@ /** - * Turn Markdown link shortcuts into XHTML tags. + * Turn Markdown horizontal rule shortcuts into
tags. + * + * Any 3 or more unindented consecutive hyphens, asterisks or underscores with or without a space beetween them + * in a single line is considered a horizontal rule */ showdown.subParser('makehtml.horizontalRule', function (text, options, globals) { 'use strict';