From 570ec471d1605318aeefb030cd78682ae442235b Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 31 Mar 2025 21:51:40 -0300 Subject: src/content/: Update all files left to asciidoc --- .../pastebins/2021/04/03/naive-slugify-js.adoc | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) (limited to 'src/content/pastebins/2021/04/03') diff --git a/src/content/pastebins/2021/04/03/naive-slugify-js.adoc b/src/content/pastebins/2021/04/03/naive-slugify-js.adoc index f765495..648e5fa 100644 --- a/src/content/pastebins/2021/04/03/naive-slugify-js.adoc +++ b/src/content/pastebins/2021/04/03/naive-slugify-js.adoc @@ -1,20 +1,7 @@ ---- += JavaScript naive slugify -title: JavaScript naive slugify - -date: 2021-04-03 - -updated_at: 2021-08-15 - -layout: post - -lang: en - -ref: javascript-naive-slugify - ---- - -```javascript +[source,javascript] +---- const s = "Pézão: açaí, saci-pererê."; const slugify = s => @@ -37,4 +24,4 @@ const slugify = s => .replaceAll("ç", "c"); console.log(slugify(s)); -``` +---- -- cgit v1.2.3