some deletions
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / remark-stringify / lib / util / enclose-title.js
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/remark-stringify/lib/util/enclose-title.js b/.config/coc/extensions/node_modules/coc-prettier/node_modules/remark-stringify/lib/util/enclose-title.js
deleted file mode 100644 (file)
index 9e641b7..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-'use strict';
-
-module.exports = enclose;
-
-/* There is currently no way to support nested delimiters
- * across Markdown.pl, CommonMark, and GitHub (RedCarpet).
- * The following code supports Markdown.pl and GitHub.
- * CommonMark is not supported when mixing double- and
- * single quotes inside a title. */
-function enclose(title) {
-  var delimiter = title.indexOf('"') === -1 ? '"' : '\'';
-  return delimiter + title + delimiter;
-}