Obsidian asciimath

by widcardw
5
4
3
2
1
Score: 64/100

Description

Category: Coding & Technical Tools

The Obsidian asciimath plugin simplifies writing and editing mathematical expressions in Obsidian by integrating AsciiMath syntax alongside traditional LaTeX. Users can seamlessly create and render math using AsciiMath in both inline and block formats, leveraging its simpler syntax for faster editing. The plugin supports commands to insert symbols, convert AsciiMath to LaTeX, and migrate older notes to updated formats. Additionally, it integrates with Obsidian's default dollar-sign math blocks, ensuring compatibility with existing LaTeX-based notes. This tool is ideal for users looking to streamline mathematical documentation within their vaults.

Reviews

No reviews yet.

Stats

37
stars
9,175
downloads
2
forks
1,246
days
30
days
30
days
6
total PRs
0
open PRs
0
closed PRs
6
merged PRs
23
total issues
3
open issues
20
closed issues
8
commits

Latest Version

a month ago

Changelog

README file from

Github

Obsidian Asciimath

A handy plugin that integrates with default Obsidian math, bringing AsciiMath power to your vault.

Table of contents

[!IMPORTANT] Follow link below if you keep getting depreciation warning from the plugin

Updating notes created with plugin version 0.6.3 and lower

Install

  • (Recommended) Goto Obsidian plugin market, search for obsidian-asciimath and install it.
  • (Manually) Goto the release page, download the zip, unzip it and add it to your plugins folder.

Advantages

AsciiMath has simpler syntax compared to LaTeX, which is the default math language for Obsidian. With this plugin, you can easily bring power of AsciiMath to your vault, as well as speed up process of math editing.

[!NOTE] Some of the rules are not exactly consistent with http://asciimath.org, especially the matrix. For more information, please refer to https://asciimath.widcard.win.

Features

Obsidian AsciiMath ships with set of features that will help to get more productive when writing math in Obsidian.

Dollar-sign math integration

This plugin integrates with Obsidian's dollar-sign math blocks. It is fully compatible with your previous notes written in LaTeX.

Just start writing AsciiMath as you would write LaTeX formulas and enjoy simpler syntax.

Examples

Inline math:

$lim_(a->oo) a_n = 0$

Display-style math:

$$
sum_(n=1)^oo 1/n^2 = pi^2/6
$$

Code-block math

If you do not want to use dollar-sign math blocks, you can use code-block for AsciiMath.

This will be rendered the same as double dollar sign blocks.

```am (or asciimath)
sum_(n=1)^oo 1/n^2 = pi^2/6
```

[!NOTE] Inline math is only available via dollar-sign blocks.

Commands

The plugin ships with some handy commands for you:

Select and insert AsciiMath symbol
How to use
  1. Hit Ctrl + P
  2. Search for Insert AsciiMath symbol
  3. Hit Enter
  4. Search for desired symbol
  5. Select it & hit enter.

[!Note] Pro tip: You can assign a hotkey for this command to do this faster. My personal preference is Ctrl + M

Insert asciimath codeblock.

This will insert code block around current selection.

Convertion to LaTeX
  • Convert AsciiMath into LaTeX in current file.
  • Convert AsciiMath into LaTeX in the entire vault.
Notes update commands
  • Update asciimath blocks to new syntax in current file.
  • Update asciimath blocks to new syntax in the entire vault.

Updating old notes

In previous versions of the plugin users had to use special syntax for inline math. This feature is deprecated and will be removed in the future.

Note: default code blocks with three backticks will be supported as usual.

New syntax integrates with default Obsidian math blocks (dollar-sign blocks), which fully compatible when using both LaTeX and AsciiMath.

From now on, you should create inline blocks like this:

++ $<my_ascii_math>$
instead of
-- `$ <my_ascii_math> $`

For more on new syntax, refer to this section

To prepare your notes for the newer version of the plugin, you must convert your old AsciiMath notes to new syntax. This can be easily done with plugin commands:

  • Hit Ctrl + P to open up command pallet.
  • Search for "Update old AsciiMath". Choose one of the two available commands by the "obsidian-asciimath" plugin.
  • Confirm the changes.
  • You're good to go!

Development

git clone [email protected]:widcardw/obsidian-asciimath.git
pnpm i
pnpm run dev

Support

During my use, this plugin often causes Obsidian rendering problems (especially in live preview mode). If you are interested in helping me to improve it, please feel free to give suggestions on github issues or pull requests. Thank you!

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Completr
4 years ago by tth05
Auto-completion plugin for the obsidian editor.
Obsidian matrix
4 years ago by Jonas Mohr
Desmos
4 years ago by Nigecat
Embed graphs directly into your obsidian notes
Latex Suite
4 years ago by artisticat1
Make typesetting LaTeX as fast as handwriting through snippets, text expansion, and editor enhancements
Obsidian Math+
4 years ago by Oscar Capraro
This is an Obsidian plugin for taking math notes using Excalidraw.
Function Plot
4 years ago by leonhma
A obsidian.md plugin for rendering maths graphs.
TikZJax
4 years ago by artisticat1
Render LaTeX and TikZ diagrams in your notes
Numerals
3 years ago by RyanC
An obsidian plugin which turns a math code block into a full featured calculator
LaTeX Algorithms
3 years ago by SamZhang02
A simple plugin for writing Algorithms and pseudocodes in Obsidian.md
LaTeX to unicode converter
3 years ago by fjdu
Convert LaTeX commands into unicode sequences
Pseudocode
3 years ago by Yaotian Liu
An obsidian plugin that helps to render a LaTeX-style pseudocode inside a code block.
Latex Matrices
3 years ago by Daniele Susino
An obsidian plugin to create latex matrices.
MathLive
3 years ago by Dan Zilberman
The must-have plugin for math in Obsidian
Typst Renderer
3 years ago by fenjalien
Renders typst code blocks in Obsidian into images using Typst through the power of WASM!
Math Booster
3 years ago by Ryota Ushio
A powerful indexing & referencing system for theorems & equations in your Obsidian vault.
No more flickering inline math
3 years ago by Ryota Ushio
No longer disturbed by flickering inline math in Obsidian.
Calctex
3 years ago by Mike
An Obsidian plugin for automatic calculation of LaTeX formulas.
Image2LaTEX
2 years ago by Hugo Persson
This is a plugin for obsidian that will read your latest copied image from clipboard and generate math latex from it
Auto-\displaystyle Inline Math
2 years ago by Ryota Ushio
An Obsidian.md plugin to automatically make all inline maths \displaystyle.
Latex OCR
2 years ago by Lucas Van Mol
Generate LaTeX equations from images in your clipboard or vault
LaTeX-OCR
2 years ago by Jack Barker
Mathematica Plot
2 years ago by Marcos Nicolau
Insert functions on Obsidian using Wolfram Mathematica!
Wypst
2 years ago by 0xpapercut
High quality rendering of Typst in Obsidian, powered by wypst.
SwiftLaTeX Render
2 years ago by gboyd068
MathLive in Editor Mode
2 years ago by MizarZh
MathLive input in editor mode.
Plot Vectors and Graphs
2 years ago by Nicole Tan YiTong
Obsidian Plugin to generate graphs given the function.
Math Indicator Changer
2 years ago by Ori Replication
AI LaTeX Generator
2 years ago by Aayush Shah
An Obsidian plugin that generates latex code from natural language inputs.
Latex Environments
5 years ago by Zach Raines
Quickly insert and change latex environments within math blocks in Obsidian.
Export To TeX
5 years ago by Zach Raines
export obsidian markdown files in a format that can be pasted into a TeX file
Extended MathJax
5 years ago by Xavier Denis & Ng Wei En
Linter
5 years ago by Victor Tao
An Obsidian plugin that formats and styles your notes with a focus on configurability and extensibility.
Quick LaTeX
5 years ago by joeyuping
Meld Calc
5 years ago by meld-cp
Copy as LaTeX
4 years ago by mo-seph
Quick plugin to be able to copy/paste from Obsidian/Markdown into a Latex document
Transfer LaTeX from GPT
a year ago by Xixia
Latex Exporter
a year ago by Matthew S. Scott
IMSwitch in Math Block
a year ago by XXM
MathType
a year ago by slateblua
Type math faster
Project Euler Stats
a year ago by Artem Korsakov
Get statistics from Project Euler.
LaTeX Math
10 months ago by Zarstensen
Integrated CAS (via. Sympy) plugin for Obsidian, with a LaTeX focused workflow.
LaTeX autocomplete
5 months ago by Yanis Gerst
Quick Matrix
5 months ago by Charlie Flowe
Plugin for Obsidian.md that allows for faster interactions with matrices in LaTeX
LaTeX Panel Helper
5 months ago by Luster
A powerful and convenient LaTeX symbol panel for Obsidian to enhance your mathematical and scientific note-taking efficiency.
Typst Mate
3 months ago by azyarashi
Render math expressions with Typst instead of MathJax in Obsidian.
Auto Math
a month ago by Vladislav Sorokin
Auto-expands LaTeX snippets. External rules with live reload, Custom Rules Editor, and default math pack.