fix: repair github pages markdown rendering

This commit is contained in:
h3p 2026-03-18 11:14:37 +01:00
parent 0ad19f2a75
commit 4317cad91f
2 changed files with 4 additions and 4 deletions

View file

@ -361,7 +361,7 @@
CODE_SIGNING_ALLOWED = YES; CODE_SIGNING_ALLOWED = YES;
CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic; CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 537; CURRENT_PROJECT_VERSION = 538;
DEAD_CODE_STRIPPING = YES; DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = CS727NF72U; DEVELOPMENT_TEAM = CS727NF72U;
ENABLE_APP_SANDBOX = YES; ENABLE_APP_SANDBOX = YES;
@ -444,7 +444,7 @@
CODE_SIGNING_ALLOWED = YES; CODE_SIGNING_ALLOWED = YES;
CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic; CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 537; CURRENT_PROJECT_VERSION = 538;
DEAD_CODE_STRIPPING = YES; DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = CS727NF72U; DEVELOPMENT_TEAM = CS727NF72U;
ENABLE_APP_SANDBOX = YES; ENABLE_APP_SANDBOX = YES;

View file

@ -286,8 +286,8 @@
} }
const renderer = new marked.Renderer(); const renderer = new marked.Renderer();
renderer.heading = ({ tokens, depth }) => { renderer.heading = function ({ tokens, depth }) {
const text = marked.parserInline(tokens); const text = this.parser.parseInline(tokens);
const id = slugify(text); const id = slugify(text);
return `<h${depth} id="${id}">${text}</h${depth}>`; return `<h${depth} id="${id}">${text}</h${depth}>`;
}; };