Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/content/docs/1.1.1.1/troubleshooting.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
24 changes: 24 additions & 0 deletions src/plugins/expressive-code/default-titles.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,30 @@ export default () => {
context.codeBlock.props.title ??= "PowerShell";
break;
}
case "javascript": {
context.codeBlock.props.title ??= "JavaScript";
break;
}
case "js": {
context.codeBlock.props.title ??= "JavaScript";
break;
}
case "py": {
context.codeBlock.props.title ??= "Python";
break;
}
case "python": {
context.codeBlock.props.title ??= "Python";
break;
}
case "typescript": {
context.codeBlock.props.title ??= "TypeScript";
break;
}
case "ts": {
context.codeBlock.props.title ??= "TypeScript";
break;
}
default: {
return;
}
Expand Down