We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60a7759 commit 0811e38Copy full SHA for 0811e38
2 files changed
server/utils/readme.ts
@@ -4,6 +4,7 @@ import { hasProtocol } from 'ufo'
4
import type { ReadmeResponse } from '#shared/types/readme'
5
import { convertBlobToRawUrl, type RepositoryInfo } from '#shared/utils/git-providers'
6
import { highlightCodeSync } from './shiki'
7
+import { convertToEmoji } from '#shared/utils/emoji'
8
9
/**
10
* Playground provider configuration
@@ -407,7 +408,7 @@ export async function renderReadmeHtml(
407
408
})
409
410
return {
- html: sanitized,
411
+ html: convertToEmoji(sanitized),
412
playgroundLinks: collectedLinks,
413
}
414
0 commit comments