docs: update post on escaping inline-math

This commit is contained in:
Timothy Lin 2021-12-21 15:45:56 +08:00
parent f7cde1d0a7
commit 772b889c7e

View File

@ -1,6 +1,6 @@
---
title: Deriving the OLS Estimator
date: '2019-11-16'
date: '2020-12-21'
tags: ['next js', 'math', 'ols']
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.'
@ -16,11 +16,11 @@ Inline math symbols can be included by enclosing the term between the `$` symbol
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.
[^2]: Here's $10 and $20.
[^2]: \$10 and $20.
# Deriving the OLS Estimator