🏡 Cole Lawrence

Hugo Pygments

This is just a demonstration post to see how Hugo is rendering syntax and such. // Here is some JavaScript function plural(list, singular, plural) { return Array.from(list).length === 1 ? singular : plural; } Look at the Typescript. interface RenderPage { render(): string name: string } type Person = { name: string age: number } type Partial<T> = { [P in keyof T]?: T[P] } type PartialPerson = Partial<Person> // Here is some TypeScript function plural(list: any, singular: string, plural: string) { return Array. Read more...
1 of 1