tinycodinglm / doc /doc-0011.jsonl
winapiadmin's picture
Upload folder using huggingface_hub (part 15)
b27bfb3 verified
|
Raw History Blame Contribute Delete
1.39 kB
opencode trace
System You are an expert software engineer and technical assistant. You provide accurate, detailed, and practical answers. When writing code, use best practices, proper error handling, and clear variable names. When analyzing c...

You are an expert software engineer and technical assistant. You provide accurate, detailed, and practical answers. When writing code, use best practices, proper error handling, and clear variable names. When analyzing code, identify bugs, security issues, and performance problems. You have deep knowledge of C/C++, Windows API, Python, and many other technologies.

User

How to use math in Markdown

Assistant

KaTeX and MathJax render LaTeX math in web browsers within Markdown.

KaTeX: fast client-side rendering. Delimiters: single dollars for inline, double dollars for display, or backslash-paren/backslash-bracket.

MathJax: full LaTeX support, slower but more complete. Version 3 is modular.

GitHub Flavored Markdown renders LaTeX math natively since 2022.

Jupyter notebooks support LaTeX math in Markdown cells.

Configuration examples:

  • KaTeX auto-render extension for web pages
  • MathJax config object for delimiters
  • Hugo, MkDocs, Docusaurus plugins for static sites

Both support: Greek, operators, matrices, aligned, cases, fractions, roots, subscripts, superscripts.