Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing markdown parsing on settings #48798

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Bestora
Copy link

@Bestora Bestora commented Oct 18, 2024

Summary

The custom markdown renderer heading for "marked" used fn(text,level).

In the docs it's this:
https://marked.js.org/using_pro
heading({ tokens, depth }: Tokens.Heading): string;

interface Heading {
	type: "heading";
	raw: string;
	depth: number;
	text: string;
	tokens: Token[];
}

Before:
image

After:
image

TODO

Checklist

The custom renderer for heading on "marked" used fn(text,level). The documentation of marked gives a object of type "Heading" 

	interface Heading {
		type: "heading";
		raw: string;
		depth: number;
		text: string;
		tokens: Token[];
	}

Signed-off-by: Dennis R. <dennisrehbehn@googlemail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: [object Object] show in place of headings on 'Your apps' page, app details panel, description tab
1 participant