A CLI for publishing standard.site documents to ATProto sequoia.pub
standard site lexicon cli publishing
56
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: lint and format

authored by

Steve and committed by tangled.org 522a496e c85362f6

+2 -1
+2 -1
packages/cli/src/lib/markdown.ts
··· 18 18 // --- (YAML) - Jekyll, Astro, most SSGs 19 19 // +++ (TOML) - Hugo 20 20 // *** - Alternative format 21 - const frontmatterRegex = /^(---|\+\+\+|\*\*\*)\r?\n([\s\S]*?)\r?\n\1\r?\n([\s\S]*)$/; 21 + const frontmatterRegex = 22 + /^(---|\+\+\+|\*\*\*)\r?\n([\s\S]*?)\r?\n\1\r?\n([\s\S]*)$/; 22 23 const match = content.match(frontmatterRegex); 23 24 24 25 if (!match) {