Skip to content

Commit b63bf6b

Browse files
authored
Merge pull request #8 from gamosoft/features/mathjax
added basic mathjax support
2 parents b652cff + e7b39de commit b63bf6b

File tree

5 files changed

+522
-0
lines changed

5 files changed

+522
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ NoteDiscovery is a **lightweight, self-hosted note-taking application** that put
3838
- 🔌 **Extensible** - Plugin system for custom features
3939
- 📱 **Responsive** - Works on desktop, tablet, and mobile
4040
- 📂 **Simple Storage** - Plain markdown files in folders
41+
- 🧮 **Math Support** - LaTeX/MathJax for beautiful equations
4142

4243
## 🚀 Quick Start
4344

data/notes/FEATURES.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
- **Undo/Redo** - Ctrl+Z / Ctrl+Y support
1010
- **Syntax highlighting** for code blocks (50+ languages)
1111
- **Copy code blocks** - One-click copy button on hover
12+
- **LaTeX/Math rendering** - Beautiful mathematical equations with MathJax
1213

1314
### Organization
1415
- **Folder hierarchy** - Organize notes in nested folders
@@ -82,6 +83,36 @@
8283
- **Live highlighting** - Highlights update as you type or edit
8384
- **Fast indexing** - Instant search across notes
8485

86+
## 🧮 Math & LaTeX Support
87+
88+
### Mathematical Notation
89+
- **Inline math** - Use `$...$` or `\(...\)` for equations within text
90+
- **Display math** - Use `$$...$$` or `\[...\]` for centered equations
91+
- **Full LaTeX support** - Powered by MathJax 3
92+
- **Greek letters** - `\alpha`, `\beta`, `\Gamma`, etc.
93+
- **Matrices** - `\begin{bmatrix}...\end{bmatrix}`
94+
- **Calculus** - Integrals, derivatives, limits
95+
- **Symbols** - All standard mathematical symbols
96+
- **Theme-aware** - Math colors adapt to your theme
97+
98+
### Example
99+
```markdown
100+
Einstein's equation: $E = mc^2$
101+
102+
The quadratic formula:
103+
$$
104+
x = \frac{-b \pm \sqrt{b^2-4ac}}{2a}
105+
$$
106+
```
107+
Einstein's equation: $E = mc^2$
108+
109+
The quadratic formula:
110+
$$
111+
x = \frac{-b \pm \sqrt{b^2-4ac}}{2a}
112+
$$
113+
114+
📄 **See the [MATHJAX](MATHJAX.md) note for more examples and syntax reference.**
115+
85116
## ⚡ Keyboard Shortcuts
86117

87118
| Windows/Linux | Mac | Action |

0 commit comments

Comments
 (0)