Merge pull request #305 from timlrx/docs/katex

docs: update post on escaping inline-math
This commit is contained in:
Timothy 2021-12-21 15:47:31 +08:00 committed by GitHub
commit a54b412252
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
--- ---
title: Deriving the OLS Estimator title: Deriving the OLS Estimator
date: '2019-11-16' date: '2020-12-21'
tags: ['next js', 'math', 'ols'] tags: ['next js', 'math', 'ols']
draft: false draft: false
summary: 'How to derive the OLS Estimator with matrix notation and a tour of math typesetting using markdown with the help of KaTeX.' summary: 'How to derive the OLS Estimator with matrix notation and a tour of math typesetting using markdown with the help of KaTeX.'
@ -16,11 +16,11 @@ Inline math symbols can be included by enclosing the term between the `$` symbol
Math code blocks are denoted by `$$`. Math code blocks are denoted by `$$`.
The dollar signal displays without issue since only text without space and between two `$` signs are considered as math symbols.[^2] If you intend to use the `$` sign instead of math, you can escape it (`\$`), or specify the HTML entity (`$`) [^2]
Inline or manually enumerated footnotes are also supported. Click on the links above to see them in action. Inline or manually enumerated footnotes are also supported. Click on the links above to see them in action.
[^2]: Here's $10 and $20. [^2]: \$10 and $20.
# Deriving the OLS Estimator # Deriving the OLS Estimator