Skip to content

Commit

Permalink
feature(ellipsis): Add option to disable ellipsis
Browse files Browse the repository at this point in the history
Add ability to disable ellipsis parser.
This is needed for some use cases. See showdownjs#634
Defaults to true to keep backwards compatibility.
  • Loading branch information
VladimirV99 committed Oct 4, 2019
1 parent 2019694 commit 5d494c8
Show file tree
Hide file tree
Showing 12 changed files with 158 additions and 69 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,8 @@ var defaultOptions = showdown.getDefaultOptions();
* **underline**: (boolean) [default false] ***EXPERIMENTAL FEATURE*** Enable support for underline.
Syntax is **double** or **triple** **underscores** ex: `__underlined word__`. With this option enabled, underscores are no longer parses into `<em>` and `<strong>`.

* **ellipsis**: (boolean) [default true] Replaces three dots with the ellipsis unicode character.

* **completeHTMLDocument**: (boolean) [default false] Outputs a complete html document,
including `<html>`, `<head>` and `<body>` tags' instead of an HTML fragment. (since v.1.8.5)
Expand Down
Loading

0 comments on commit 5d494c8

Please sign in to comment.