Lower cased and dashed strings
As I have to generate big fixtures files, I wanted to find a way to format input data the way described by start and end files.
Especially the lower-cased-and-dashed ids
Not so good to find a pure Vim way, that's why I submit this challenge ;)
Lower cased and dashed strings
As I have to generate big fixtures files, I wanted to find a way to format input data the way described by start and end files.
Especially the lower-cased-and-dashed ids
Not so good to find a pure Vim way, that's why I submit this challenge ;)
Output
lorem-ipsum:
name: "Lôrem Ipsum"
dolor-eros:
name: "Dolor.eros"
auctor-eros-elementum:
name: "Auctor: eros (elémentum)"
tincidunt-ac:
name: "Tincïdunt, âc"