mirror of
https://gitlab.com/upRootNutrition/website.git
synced 2025-06-16 04:25:11 -05:00
feat: added article
This commit is contained in:
parent
cf9caa1a66
commit
a751136971
7 changed files with 198 additions and 25 deletions
|
@ -19,3 +19,10 @@ formatSocial name =
|
|||
|> String.replace "https://www.threads.net/@" "@"
|
||||
|> String.replace "https://bsky.app/profile/" "@"
|
||||
|> String.replace "https://www.instagram.com/" "@"
|
||||
|
||||
|
||||
wordCount : String -> Int
|
||||
wordCount text =
|
||||
text
|
||||
|> String.words
|
||||
|> List.length
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue