upstream #1

Merged
jblu merged 1007 commits from upstream into main 2024-11-04 22:35:57 -06:00
Showing only changes of commit a9bf55dbb3 - Show all commits

View File

@ -7,7 +7,7 @@ const ext = typeof args[1] !== 'undefined' ? args[1] : 'mdx'
const fileName = title const fileName = title
.toLowerCase() .toLowerCase()
.replace(/[^a-zA-Z0-9 ]/g, '') .replace(/[^a-zA-Z0-9 ]/g, '')
.replace(' ', '-') .replace(/ /g, '-')
let d = new Date() let d = new Date()
const date = [ const date = [
d.getFullYear(), d.getFullYear(),