MCPcopy Index your code
hub / github.com/Canna71/obsidian-mathpad

github.com/Canna71/obsidian-mathpad @0.8.14

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.8.14 ↗ · + Follow
143 symbols 296 edges 26 files 4 documented · 3% updated 2y ago0.8.14 · 2023-01-14★ 10519 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Mathpad

Mathpad is a Computer Algebra System (CAS) or, simply put, a calculator on steroid. It is based on Nerdamer Nerdamer for the symbolic and numeric calculations and on function-plot for the 2D plotting

It consists of a sidebar, code block and inline block support.

The sidebar works as a stand-alone numeric and symbolic calculator that could also be used to copy the results as a dynamic code block, or as static LaTeX into Obsidian notes.

Code Blocks and Inline Code allows to insert computations and plotting inside Obsidian notes.

Here a preview of the sidebar:

And here a preview of Inline Code:

Also plotting:

Please read the Documentation for a full description.

Extension points exported contracts — how you extend this code

Engine (Interface)
(no doc) [1 implementers]
src/Math/Engine.ts
MathpadSettings (Interface)
(no doc)
src/MathpadSettings.ts
SliderProps (Interface)
(no doc)
src/Views/Slider.tsx
ProcessOptions (Interface)
(no doc)
src/Math/PadStack.ts
InputProps (Interface)
(no doc)
src/Views/Input.tsx
Scope (Interface)
(no doc)
src/Math/Engine.ts
MathpadContainerProps (Interface)
(no doc)
src/Views/MathpadContainer.tsx
ParseResult (Interface)
(no doc)
src/Math/Parsing.ts

Core symbols most depended-on inside this repo

getMathpadSettings
called by 11
src/main.ts
createToggle
called by 7
src/MathpadSettingTab.ts
process
called by 7
src/Math/PadScope.ts
createEngine
called by 7
src/Math/Engine.ts
saveSettings
called by 6
src/main.ts
applyFn
called by 5
src/Views/MathpadContainer.tsx
parse
called by 5
src/Math/Parsing.ts
getSlotVariableName
called by 4
src/Math/PadStack.ts

Shape

Method 74
Function 37
Class 20
Interface 12

Languages

TypeScript100%

Modules by API surface

src/Math/PadScope.ts28 symbols
src/Math/PadStack.ts17 symbols
src/main.ts13 symbols
src/Views/MathpadView.tsx13 symbols
src/Math/Engine.ts13 symbols
src/Extensions/ResultWidget.ts10 symbols
src/Views/MathpadContainer.tsx6 symbols
src/MathpadSettingTab.ts5 symbols
src/Math/PadSlot.ts5 symbols
src/Extensions/ResultMarkdownChild.ts5 symbols
src/Extensions/ResultField.ts5 symbols
src/utils.ts3 symbols

For agents

$ claude mcp add obsidian-mathpad \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page