lib/plugins/helper/format.ts
import { stripHTML, wordWrap, truncate, escapeHTML } from 'hexo-util';
import titlecase from 'titlecase';
export {stripHTML as strip_html};
export {stripHTML};
export function trim(str: string) {
return str.trim();
}
export {titlecase};
export {wordWrap as word_wrap};
export {wordWrap};
export {truncate};
export {escapeHTML as escape_html};
export {escapeHTML};