Some normal markdown
markdown
console.log("Some code. I am annotated!")
const { remarkCodeHike } = require("@code-hike/mdx");const theme = require("shiki/themes/monokai.json");const withMDX = require("@next/mdx")({ extension: /\.mdx?$/, options: { remarkPlugins: [[remarkCodeHike, { theme }]], rehypePlugins: [], },});module.exports = withMDX({ pageExtensions: ["ts", "tsx", "js", "jsx", "md", "mdx"],});
We are looking at the console.log function today
console.table(["Hello", "World"])console.log("Hello World")