chore: normalize formatting for workers
This commit is contained in:
parent
2f6cfbe7ae
commit
2cd835d31b
14 changed files with 879 additions and 604 deletions
|
@ -1,4 +1,9 @@
|
|||
import markdownIt from 'markdown-it'
|
||||
import markdownIt from "markdown-it";
|
||||
|
||||
export const formatDate = (date) => new Date(date).toLocaleDateString('en-US', { year: 'numeric', month: 'long', day: 'numeric' })
|
||||
export const md = markdownIt({ html: true, linkify: true })
|
||||
export const formatDate = (date) =>
|
||||
new Date(date).toLocaleDateString("en-US", {
|
||||
year: "numeric",
|
||||
month: "long",
|
||||
day: "numeric",
|
||||
});
|
||||
export const md = markdownIt({ html: true, linkify: true });
|
||||
|
|
Reference in a new issue