Merge pull request #305 from timlrx/docs/katex
docs: update post on escaping inline-math
This commit is contained in:
		| @@ -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 | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user