Update editor, themes, menus, backgrounds, and release tooling
This commit is contained in:
@@ -175,6 +175,10 @@ function documentParts(contents: string) {
|
||||
return match ? { body: contents.slice(match[0].length), properties: match[1] } : { body: contents, properties: "" };
|
||||
}
|
||||
|
||||
export function documentBodyStart(contents: string): number {
|
||||
return contents.length - documentParts(contents).body.length;
|
||||
}
|
||||
|
||||
export function markdownImages(contents: string): string[] {
|
||||
const paths = new Set<string>();
|
||||
function visit(tokens: Token[]) {
|
||||
|
||||
Reference in New Issue
Block a user