mirror of
https://github.com/h3pdesign/Neon-Vision-Editor
synced 2026-04-21 13:27:16 +00:00
fix: repair github pages markdown rendering
This commit is contained in:
parent
0ad19f2a75
commit
4317cad91f
2 changed files with 4 additions and 4 deletions
|
|
@ -361,7 +361,7 @@
|
|||
CODE_SIGNING_ALLOWED = YES;
|
||||
CODE_SIGN_IDENTITY = "Apple Development";
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
CURRENT_PROJECT_VERSION = 537;
|
||||
CURRENT_PROJECT_VERSION = 538;
|
||||
DEAD_CODE_STRIPPING = YES;
|
||||
DEVELOPMENT_TEAM = CS727NF72U;
|
||||
ENABLE_APP_SANDBOX = YES;
|
||||
|
|
@ -444,7 +444,7 @@
|
|||
CODE_SIGNING_ALLOWED = YES;
|
||||
CODE_SIGN_IDENTITY = "Apple Development";
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
CURRENT_PROJECT_VERSION = 537;
|
||||
CURRENT_PROJECT_VERSION = 538;
|
||||
DEAD_CODE_STRIPPING = YES;
|
||||
DEVELOPMENT_TEAM = CS727NF72U;
|
||||
ENABLE_APP_SANDBOX = YES;
|
||||
|
|
|
|||
|
|
@ -286,8 +286,8 @@
|
|||
}
|
||||
|
||||
const renderer = new marked.Renderer();
|
||||
renderer.heading = ({ tokens, depth }) => {
|
||||
const text = marked.parserInline(tokens);
|
||||
renderer.heading = function ({ tokens, depth }) {
|
||||
const text = this.parser.parseInline(tokens);
|
||||
const id = slugify(text);
|
||||
return `<h${depth} id="${id}">${text}</h${depth}>`;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue