mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2025-12-19 18:18:27 -05:00
fix(curriculum): use C# highlighting in static typing discussion (#63890)
This commit is contained in:
@@ -40,8 +40,11 @@ const config = {
|
||||
{
|
||||
languages: [
|
||||
'bash',
|
||||
'c',
|
||||
'clike',
|
||||
'cpp',
|
||||
'css',
|
||||
'csharp',
|
||||
'html',
|
||||
'javascript',
|
||||
'json',
|
||||
|
||||
@@ -53,7 +53,11 @@ export function enhancePrismAccessibility(
|
||||
pug: 'pug',
|
||||
ts: 'TypeScript',
|
||||
typescript: 'TypeScript',
|
||||
tsx: 'TSX'
|
||||
tsx: 'TSX',
|
||||
csharp: 'C#',
|
||||
clike: 'CLike',
|
||||
c: 'C',
|
||||
cpp: 'C++'
|
||||
};
|
||||
const parent = prismEnv?.element?.parentElement;
|
||||
if (
|
||||
|
||||
Reference in New Issue
Block a user