1) title + 行番号 + 行ハイライト#
lib/mdx.ts
tsexport const mdxOptions = {
rehypePlugins: [
rehypeSlug,
// something...
],
}2) titleなし + 行番号だけ#
code block
tsconst a = 1
const b = 2
console.log(a + b)3) インラインコードの確認#
インラインは const x = 1 のように表示されればOK。
