Skip to main content

Testing latex

Updated 1 min readMarkdown

Inline code (the reported bug): $title and $description should stay literal.

Real inline math (must still render): \(E = mc^2\) and \(a^2 + b^2 = c^2\).

Fenced code block with dollars:

const price = $x + $y;
const label = `$title`;

Display math (must still render): $$\int_0^1 x^2,dx = \tfrac{1}{3}$$

About the author

  • Full-Stack Developer @ Bug0 | Node.js, Next.js, JavaScript, TypeScript | Ex-Wipro, DXC, Majesco/Mastek | ex-Java, ex-Spring

No comments yet. Be the first to comment.