Skip to content

Latest commit

 

History

History
76 lines (60 loc) · 1.13 KB

20220901-post-with-code.mdx

File metadata and controls

76 lines (60 loc) · 1.13 KB
title description slug date type
Post with code
My post with code
post-with-code
2022-09-01
Post

Some post with code!

Some other posts! with some inline code!

const a = 1;
a = 2;
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;
const a = 1;
- a = 2;
+ a = 2;
a = 3;
$ echo "Hello world!"
print("Hello world!")
System.out.println("Hello world!");
Console.WriteLine("Hello world!");
printf("Hello world!");
std::cout << "Hello world!";
fmt.Println("Hello world!")