@mdfriday/foundry
Version:
The core engine of MDFriday. Convert Markdown and shortcodes into fully themed static sites – Hugo-style, powered by TypeScript.
11 lines • 348 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.removeAccentsString = removeAccentsString;
/**
* Remove accents from a string
* Converts characters like é, è, ë to e
*/
function removeAccentsString(str) {
return str.normalize('NFD').replace(/[\u0300-\u036f]/g, '');
}
//# sourceMappingURL=index.js.map