diff --git a/src/content/docs/1.1.1.1/troubleshooting.mdx b/src/content/docs/1.1.1.1/troubleshooting.mdx index 34405246ec0db15..5ef3d9268026370 100644 --- a/src/content/docs/1.1.1.1/troubleshooting.mdx +++ b/src/content/docs/1.1.1.1/troubleshooting.mdx @@ -8,10 +8,9 @@ head: - tag: title content: Troubleshooting DNS Resolver slug: 1.1.1.1/troubleshooting - --- -import { Render } from "~/components" +import { Render } from "~/components"; This guide will help you diagnose and resolve common issues with Cloudflare's DNS Resolver. Before proceeding with manual troubleshooting steps, you can [verify your connection](/1.1.1.1/check/) to automatically gather relevant information. diff --git a/src/plugins/expressive-code/default-titles.js b/src/plugins/expressive-code/default-titles.js index 8f37f74ba94688d..1e463167c6c50bf 100644 --- a/src/plugins/expressive-code/default-titles.js +++ b/src/plugins/expressive-code/default-titles.js @@ -10,6 +10,21 @@ export default () => { context.codeBlock.props.title ??= "PowerShell"; break; } + case "javascript": + case "js": { + context.codeBlock.props.title ??= "JavaScript"; + break; + } + case "py": + case "python": { + context.codeBlock.props.title ??= "Python"; + break; + } + case "typescript": + case "ts": { + context.codeBlock.props.title ??= "TypeScript"; + break; + } default: { return; }