The rendering of markdown for code block is not working well in CoderLegion?

●1 ●6 ●14
calendar_today • schedule1 min read

For example:

Angular Example

main.ts

ThemeLoader.init();
bootstrapApplication(AppComponent, appConfig); 

theme-select.component.ts

constructor() {
this.themes = ThemeConfigConstants.themesDic ? Object.keys(ThemeConfigConstants.themesDic).map(k => {
const c = ThemeConfigConstants.themesDic![k];
const obj: ThemeDef = {
display: c.display,
filePath: k,
dark: c.dark
};
return obj;
}) : undefined;
}

themeSelectionChang(e: MatSelectChange) {
ThemeLoader.loadTheme(e.value);
}

Want more #typescript deep dives?

Join 6,176+ developers sharing real benchmarks, code breakdowns, and projects. Free forever.

5 Comments

1 vote
1 vote
0 votes
1
0

More Posts

TypeScript Complexity Has Finally Reached the Point of Total Absurdity

Karol Modelski - Apr 23

AWS Certifications Are a Building Block, Not the Final Destination

Ijay - Jun 16

Merancang Backend Bisnis ISP: API Pelanggan, Paket Internet, Invoice, dan Tiket Support

Masbadar - Mar 13

The Esoteric Realms of Code

nevmenandr - Nov 14

The Audit Trail of Things: Using Hashgraph as a Digital Caliper for Provenance

Ken W. Algerverified - Apr 28
chevron_left
275 Points • 21 Badges
Queensland, Australia • fonlow.com
6Posts
2Comments
2Connections
Software engineer with science background, who would help himself and other developers to write the least codes and deliver more values.

Related Jobs

View all jobs →

Commenters (This Week)

7 comments
2 comments
2 comments

Contribute meaningful comments to climb the leaderboard and earn badges!