Post with code
- Published time
Some post with code!#
Some other posts! with some inline code
!
sample.js
Copied!const a = 1; a = 2;
App.tsx
Copied!import "@/styles/globals.css"; import type { AppProps } from "next/app"; import Head from "next/head"; import { ThemeProvider } from "next-themes"; import LayoutWrapper from "@/components/LayoutWrapper"; function MyApp({ Component, pageProps }: AppProps) { return ( <ThemeProvider attribute="class"> <Head> <meta name="viewport" content="viewport-fit=cover" /> </Head> <LayoutWrapper> <Component {...pageProps} /> </LayoutWrapper> </ThemeProvider> ); } export default MyApp;
some.js
Copied!const a = 1; - a = 2; + a = 2; a = 3;
Command
Copied!$ echo "Hello world!"
Copied!print("Hello world!")
Copied!System.out.println("Hello world!");
Copied!Console.WriteLine("Hello world!");
Copied!printf("Hello world!");
Copied!std::cout << "Hello world!";
Copied!fmt.Println("Hello world!")