docs: update examples (#411)
This commit is contained in:
committed by
GitHub
parent
fcfbd6de13
commit
cab7166eb7
@ -55,6 +55,11 @@ const supportedLanguages: Record<string, CodeLanguage> = {
|
||||
grammar: Prism.languages.javascript,
|
||||
language: 'javascript',
|
||||
},
|
||||
'language-jsx': {
|
||||
title: 'JSX',
|
||||
grammar: Prism.languages.jsx,
|
||||
language: 'javascript',
|
||||
},
|
||||
'language-markdown': {
|
||||
title: 'Markdown',
|
||||
grammar: Prism.languages.markdown,
|
||||
@ -65,6 +70,11 @@ const supportedLanguages: Record<string, CodeLanguage> = {
|
||||
grammar: Prism.languages.typescript,
|
||||
language: 'typescript',
|
||||
},
|
||||
'language-tsx': {
|
||||
title: 'Typescript',
|
||||
grammar: Prism.languages.tsx,
|
||||
language: 'typescript',
|
||||
},
|
||||
};
|
||||
|
||||
interface TabData {
|
||||
|
Reference in New Issue
Block a user