.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / remark-stringify / lib / visitors / blockquote.js
1 'use strict';
2
3 module.exports = blockquote;
4
5 function blockquote(node) {
6   var values = this.block(node).split('\n');
7   var result = [];
8   var length = values.length;
9   var index = -1;
10   var value;
11
12   while (++index < length) {
13     value = values[index];
14     result[index] = (value ? ' ' : '') + value;
15   }
16
17   return '>' + result.join('\n>');
18 }