server
server copied to clipboard
Fixing markdown parsing on settings
- Resolves: #48661
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:
After:
TODO
Checklist
- Code is properly formatted
- Sign-off message is added to all commits
- [ ] Tests (unit, integration, api and/or acceptance) are included
- [x] Screenshots before/after for front-end changes
- [ ] Documentation (manuals or wiki) has been updated or is not required
- [ ] Backports requested where applicable (ex: critical bugfixes)